Instructions to use Jjzzzz/agri_classifier_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jjzzzz/agri_classifier_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Jjzzzz/agri_classifier_bert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Jjzzzz/agri_classifier_bert") model = AutoModelForSequenceClassification.from_pretrained("Jjzzzz/agri_classifier_bert") - Notebooks
- Google Colab
- Kaggle
use_cache updated
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -40,6 +40,6 @@
|
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
"transformers_version": "4.40.2",
|
| 42 |
"type_vocab_size": 2,
|
| 43 |
-
"use_cache":
|
| 44 |
"vocab_size": 30522
|
| 45 |
}
|
|
|
|
| 40 |
"torch_dtype": "float32",
|
| 41 |
"transformers_version": "4.40.2",
|
| 42 |
"type_vocab_size": 2,
|
| 43 |
+
"use_cache": false,
|
| 44 |
"vocab_size": 30522
|
| 45 |
}
|