Instructions to use deetsml/HIMsetfitMultiLabelModel2epochs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deetsml/HIMsetfitMultiLabelModel2epochs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="deetsml/HIMsetfitMultiLabelModel2epochs")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("deetsml/HIMsetfitMultiLabelModel2epochs") model = AutoModel.from_pretrained("deetsml/HIMsetfitMultiLabelModel2epochs") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -5,8 +5,7 @@
|
|
| 5 |
"activation_function": "gelu",
|
| 6 |
"add_final_layer_norm": false,
|
| 7 |
"architectures": [
|
| 8 |
-
"BartModel"
|
| 9 |
-
"BartForSequenceClassification"
|
| 10 |
],
|
| 11 |
"attention_dropout": 0.0,
|
| 12 |
"bos_token_id": 0,
|
|
|
|
| 5 |
"activation_function": "gelu",
|
| 6 |
"add_final_layer_norm": false,
|
| 7 |
"architectures": [
|
| 8 |
+
"BartModel"
|
|
|
|
| 9 |
],
|
| 10 |
"attention_dropout": 0.0,
|
| 11 |
"bos_token_id": 0,
|