kazssym's picture
Update README.md
5a1ca9c verified
metadata
pipeline_tag: text-generation
license: apache-2.0

This model was exported from ibm-granite/granite-3b-code-instruct-128k using Optimum with the basic optimization by ONNX Runtime.

The repository owner maintains this model for use with Transformers.js and DirectML. The required external data format support was implemented in 3.4.0.

Trial

This model is currently being tested as follows:

import  { pipeline } from "@huggingface/transformers"

const generator = await pipeline(
  "text-generation",
  "kazssym/granite-3b-code-instruct-128k-onnx",
  {
    device: "dml",
    use_external_data_format: true,
    session_options: {
    },
  },
)