Instructions to use Adilmar/test_trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Adilmar/test_trainer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Adilmar/test_trainer")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Adilmar/test_trainer") model = AutoModelForSequenceClassification.from_pretrained("Adilmar/test_trainer") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -3
config.json
CHANGED
|
@@ -11,10 +11,10 @@
|
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
"0": "1 stars",
|
| 14 |
-
"1": "
|
| 15 |
"2": "3 stars",
|
| 16 |
-
"3": "
|
| 17 |
-
"4": "
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"intermediate_size": 3072,
|
|
|
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
"0": "1 stars",
|
| 14 |
+
"1": "2 stars",
|
| 15 |
"2": "3 stars",
|
| 16 |
+
"3": "4 stars",
|
| 17 |
+
"4": "5 stars"
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
"intermediate_size": 3072,
|