Instructions to use imamassi/fine-tuning-learning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use imamassi/fine-tuning-learning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="imamassi/fine-tuning-learning")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("imamassi/fine-tuning-learning") model = AutoModelForSequenceClassification.from_pretrained("imamassi/fine-tuning-learning") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -35,5 +35,6 @@
|
|
| 35 |
"transformers_version": "4.29.0",
|
| 36 |
"type_vocab_size": 2,
|
| 37 |
"use_cache": true,
|
| 38 |
-
"vocab_size": 30522
|
|
|
|
| 39 |
}
|
|
|
|
| 35 |
"transformers_version": "4.29.0",
|
| 36 |
"type_vocab_size": 2,
|
| 37 |
"use_cache": true,
|
| 38 |
+
"vocab_size": 30522,
|
| 39 |
+
"model_type": "bert"
|
| 40 |
}
|