Instructions to use FINAL-Bench/Darwin-2B-webgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use FINAL-Bench/Darwin-2B-webgpu with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('any-to-any', 'FINAL-Bench/Darwin-2B-webgpu');
fix: add stop_strings for cross-arch chat template artifacts (Darwin Family audit 5/10)
Browse files- generation_config.json +7 -2
generation_config.json
CHANGED
|
@@ -11,5 +11,10 @@
|
|
| 11 |
"top_k": 64,
|
| 12 |
"top_p": 0.95,
|
| 13 |
"transformers_version": "5.5.0.dev0",
|
| 14 |
-
"trust_remote_code": false
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"top_k": 64,
|
| 12 |
"top_p": 0.95,
|
| 13 |
"transformers_version": "5.5.0.dev0",
|
| 14 |
+
"trust_remote_code": false,
|
| 15 |
+
"stop_strings": [
|
| 16 |
+
"<|im_end|>",
|
| 17 |
+
"<|im_start|>",
|
| 18 |
+
"<turn|>"
|
| 19 |
+
]
|
| 20 |
+
}
|