Instructions to use ayush1234/Mt0-base-quantized-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use ayush1234/Mt0-base-quantized-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'ayush1234/Mt0-base-quantized-onnx');
Update generation_config.json
Browse files- generation_config.json +2 -1
generation_config.json
CHANGED
|
@@ -3,5 +3,6 @@
|
|
| 3 |
"decoder_start_token_id": 0,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
-
"transformers_version": "4.42.0.dev0"
|
|
|
|
| 7 |
}
|
|
|
|
| 3 |
"decoder_start_token_id": 0,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.42.0.dev0",
|
| 7 |
+
"use_cache": false
|
| 8 |
}
|