Instructions to use nnilayy/test-7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nnilayy/test-7 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nnilayy/test-7")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nnilayy/test-7") model = AutoModelForSequenceClassification.from_pretrained("nnilayy/test-7") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files- config.json +4 -4
config.json
CHANGED
|
@@ -10,14 +10,14 @@
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
-
"0": "
|
| 14 |
-
"1": "
|
| 15 |
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
| 18 |
"label2id": {
|
| 19 |
-
"equivalent":
|
| 20 |
-
"not_equivalent":
|
| 21 |
},
|
| 22 |
"layer_norm_eps": 1e-12,
|
| 23 |
"max_position_embeddings": 512,
|
|
|
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
"id2label": {
|
| 13 |
+
"0": "equivalent",
|
| 14 |
+
"1": "not_equivalent"
|
| 15 |
},
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
| 18 |
"label2id": {
|
| 19 |
+
"equivalent": 0,
|
| 20 |
+
"not_equivalent": 1
|
| 21 |
},
|
| 22 |
"layer_norm_eps": 1e-12,
|
| 23 |
"max_position_embeddings": 512,
|