Instructions to use Adorg/mc231104 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Adorg/mc231104 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Adorg/mc231104", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Adorg/mc231104", trust_remote_code=True) model = AutoModel.from_pretrained("Adorg/mc231104", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload added_tokens.json with huggingface_hub
Browse files- added_tokens.json +4 -0
added_tokens.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"[BOS]": 50257,
|
| 3 |
+
"[PAD]": 50258
|
| 4 |
+
}
|