Instructions to use mp6kv/pump_intent_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mp6kv/pump_intent_test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mp6kv/pump_intent_test")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mp6kv/pump_intent_test") model = AutoModelForSequenceClassification.from_pretrained("mp6kv/pump_intent_test") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,11 +16,28 @@ This model is a fine-tuned version of [roberta-base](https://huggingface.co/robe
|
|
| 16 |
|
| 17 |
## Model description
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Intended uses & limitations
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
## Training and evaluation data
|
| 26 |
|
|
|
|
| 16 |
|
| 17 |
## Model description
|
| 18 |
|
| 19 |
+
Custom data generated labeling text according to these three categories.
|
| 20 |
+
These three categories are the subcategories of Pump - essentially when a user asks a question and expects an answer in response
|
| 21 |
+
|
| 22 |
+
- Value: a slot value or a calculation
|
| 23 |
+
- Clarification: Asking for further information on a previous answer
|
| 24 |
+
- Testing: Testing for knowledge of facts and definitions
|
| 25 |
+
|
| 26 |
+
Takes a user input of string text and classifies it according to one of three categories.
|
| 27 |
|
| 28 |
## Intended uses & limitations
|
| 29 |
|
| 30 |
+
|
| 31 |
+
from transformers import pipeline
|
| 32 |
+
classifier = pipeline("text-classification",model="mp6kv/pump_intent_test")
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
output = classifier("What is the value of the length of the blue object?")
|
| 36 |
+
|
| 37 |
+
score = output[0]['score']
|
| 38 |
+
|
| 39 |
+
label = output[0]['label']
|
| 40 |
+
|
| 41 |
|
| 42 |
## Training and evaluation data
|
| 43 |
|