Instructions to use yikx/classwork with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yikx/classwork with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="yikx/classwork", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("yikx/classwork", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -28,5 +28,6 @@
|
|
| 28 |
"torch_dtype": "float16",
|
| 29 |
"transformers_version": "4.27.1",
|
| 30 |
"use_cache": true,
|
| 31 |
-
"vocab_size": 130528
|
|
|
|
| 32 |
}
|
|
|
|
| 28 |
"torch_dtype": "float16",
|
| 29 |
"transformers_version": "4.27.1",
|
| 30 |
"use_cache": true,
|
| 31 |
+
"vocab_size": 130528,
|
| 32 |
+
"trust_remote_code": true
|
| 33 |
}
|