Instructions to use mp6kv/main_intent_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mp6kv/main_intent_test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mp6kv/main_intent_test")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mp6kv/main_intent_test") model = AutoModelForSequenceClassification.from_pretrained("mp6kv/main_intent_test") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -35,8 +35,10 @@ classifier = pipeline("text-classification",model="mp6kv/main_intent_test")
|
|
| 35 |
|
| 36 |
|
| 37 |
output = classifier("great job, you're getting it!")
|
| 38 |
-
|
| 39 |
-
output[0]['
|
|
|
|
|
|
|
| 40 |
|
| 41 |
## Training and evaluation data
|
| 42 |
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
output = classifier("great job, you're getting it!")
|
| 38 |
+
|
| 39 |
+
score = output[0]['score']
|
| 40 |
+
|
| 41 |
+
label = output[0]['label']
|
| 42 |
|
| 43 |
## Training and evaluation data
|
| 44 |
|