Update README.md
Browse files
README.md
CHANGED
|
@@ -16,11 +16,27 @@ 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 |
+
|
| 21 |
+
- Positive : Encouraging the student that they are correct and on the right track
|
| 22 |
+
- Neutral : Mixed feedback or feedback that asks for more information
|
| 23 |
+
- Negative : Informing the student they need to change direction or that they are not correct
|
| 24 |
+
|
| 25 |
+
Takes a user input of string text and classifies it according to one of three categories.
|
| 26 |
|
| 27 |
## Intended uses & limitations
|
| 28 |
|
| 29 |
+
|
| 30 |
+
from transformers import pipeline
|
| 31 |
+
classifier = pipeline("text-classification",model="mp6kv/feedback_intent_test")
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
output = classifier("great job, you're getting it!")
|
| 35 |
+
|
| 36 |
+
score = output[0]['score']
|
| 37 |
+
|
| 38 |
+
label = output[0]['label']
|
| 39 |
+
|
| 40 |
|
| 41 |
## Training and evaluation data
|
| 42 |
|