Instructions to use nicolasembleton/Nanbeige4.2-3B-ToolACE-n3000-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use nicolasembleton/Nanbeige4.2-3B-ToolACE-n3000-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-generation', 'nicolasembleton/Nanbeige4.2-3B-ToolACE-n3000-ONNX'); - PEFT
How to use nicolasembleton/Nanbeige4.2-3B-ToolACE-n3000-ONNX with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Upload generation_config.json with huggingface_hub
Browse files- generation_config.json +10 -0
generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 166100,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": 166101,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"temperature": 0.6,
|
| 7 |
+
"top_k": 20,
|
| 8 |
+
"top_p": 0.95,
|
| 9 |
+
"transformers_version": "4.51.0"
|
| 10 |
+
}
|