File size: 851 Bytes
2b07222 f1f4028 2b07222 3fd8211 13cd3b1 8f83cb3 097af68 5e02b05 8e4133c 5e02b05 5a1ca9c 5e02b05 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
---
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.
[ibm-granite/granite-3b-code-instruct-128k]: https://huggingface.co/ibm-granite/granite-3b-code-instruct-128k
[Transformers.js]: https://huggingface.co/docs/transformers.js/index
# Trial
This model is currently being tested as follows:
```js
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: {
},
},
)
```
|