Instructions to use deetsml/dummy-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deetsml/dummy-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="deetsml/dummy-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("deetsml/dummy-model") model = AutoModel.from_pretrained("deetsml/dummy-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -7,7 +7,8 @@
|
|
| 7 |
"architectures": [
|
| 8 |
"BartModel"
|
| 9 |
],
|
| 10 |
-
"multi_target_strategy": "
|
|
|
|
| 11 |
"attention_dropout": 0.0,
|
| 12 |
"bos_token_id": 0,
|
| 13 |
"classif_dropout": 0.0,
|
|
|
|
| 7 |
"architectures": [
|
| 8 |
"BartModel"
|
| 9 |
],
|
| 10 |
+
"multi_target_strategy": "MultiOutputClassifier",
|
| 11 |
+
"estimator": "LogisticRegression",
|
| 12 |
"attention_dropout": 0.0,
|
| 13 |
"bos_token_id": 0,
|
| 14 |
"classif_dropout": 0.0,
|