mp6kv commited on
Commit
1219c29
·
1 Parent(s): d8861ea

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -2
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
- More information needed
 
 
 
 
 
 
 
20
 
21
  ## Intended uses & limitations
22
 
23
- More information needed
 
 
 
 
 
 
 
 
 
 
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