Instructions to use DaniilOr/multilingual_factuality with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DaniilOr/multilingual_factuality with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DaniilOr/multilingual_factuality")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DaniilOr/multilingual_factuality") model = AutoModelForSequenceClassification.from_pretrained("DaniilOr/multilingual_factuality", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -3
config.json
CHANGED
|
@@ -15,9 +15,9 @@
|
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
"intermediate_size": 3072,
|
| 17 |
"label2id": {
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
},
|
| 22 |
"layer_norm_eps": 1e-07,
|
| 23 |
"max_position_embeddings": 512,
|
|
|
|
| 15 |
"initializer_range": 0.02,
|
| 16 |
"intermediate_size": 3072,
|
| 17 |
"label2id": {
|
| 18 |
+
"high": 2,
|
| 19 |
+
"low": 0,
|
| 20 |
+
"mixed": 1
|
| 21 |
},
|
| 22 |
"layer_norm_eps": 1e-07,
|
| 23 |
"max_position_embeddings": 512,
|