Instructions to use sinanyuksel/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sinanyuksel/test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="sinanyuksel/test")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("sinanyuksel/test") model = AutoModelForSequenceClassification.from_pretrained("sinanyuksel/test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
6deba31
1
Parent(s): 2d39090
Update config.json
Browse files- config.json +4 -0
config.json
CHANGED
|
@@ -7,6 +7,10 @@
|
|
| 7 |
"0": "negatif",
|
| 8 |
"1": "pozitif"
|
| 9 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"activation": "gelu",
|
| 11 |
"attention_probs_dropout_prob": 0.1,
|
| 12 |
"hidden_act": "gelu",
|
|
|
|
| 7 |
"0": "negatif",
|
| 8 |
"1": "pozitif"
|
| 9 |
},
|
| 10 |
+
"label2id": {
|
| 11 |
+
"pozitif":1,
|
| 12 |
+
"negatif":0
|
| 13 |
+
},
|
| 14 |
"activation": "gelu",
|
| 15 |
"attention_probs_dropout_prob": 0.1,
|
| 16 |
"hidden_act": "gelu",
|