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 ·
f034807
1
Parent(s): 1b8e6db
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
| 23 |
"model_type": "bert",
|
| 24 |
"num_attention_heads": 12,
|
| 25 |
"num_hidden_layers": 12,
|
| 26 |
-
"problem_type":"
|
| 27 |
"pad_token_id": 0,
|
| 28 |
"type_vocab_size": 2,
|
| 29 |
"vocab_size": 32000
|
|
|
|
| 23 |
"model_type": "bert",
|
| 24 |
"num_attention_heads": 12,
|
| 25 |
"num_hidden_layers": 12,
|
| 26 |
+
"problem_type":"single_label_classification",
|
| 27 |
"pad_token_id": 0,
|
| 28 |
"type_vocab_size": 2,
|
| 29 |
"vocab_size": 32000
|