Instructions to use kittinan/exercise-feedback-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kittinan/exercise-feedback-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kittinan/exercise-feedback-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kittinan/exercise-feedback-classification") model = AutoModelForSequenceClassification.from_pretrained("kittinan/exercise-feedback-classification") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +4 -4
config.json
CHANGED
|
@@ -9,10 +9,10 @@
|
|
| 9 |
"hidden_dropout_prob": 0.1,
|
| 10 |
"hidden_size": 768,
|
| 11 |
"id2label": {
|
| 12 |
-
"0": "
|
| 13 |
-
"1": "
|
| 14 |
-
"2": "
|
| 15 |
-
"3": "
|
| 16 |
},
|
| 17 |
"initializer_range": 0.02,
|
| 18 |
"intermediate_size": 3072,
|
|
|
|
| 9 |
"hidden_dropout_prob": 0.1,
|
| 10 |
"hidden_size": 768,
|
| 11 |
"id2label": {
|
| 12 |
+
"0": "good",
|
| 13 |
+
"1": "correction",
|
| 14 |
+
"2": "bad posture",
|
| 15 |
+
"3": "not informative"
|
| 16 |
},
|
| 17 |
"initializer_range": 0.02,
|
| 18 |
"intermediate_size": 3072,
|