Peterard commited on
Commit
32a617c
1 Parent(s): 3890f42

Update README.md

Browse files

Add better example

Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
  widget:
8
  - text: "Please add a like button!"
9
  example_title: "Likely feature request"
10
- - text: "This thing is always crashing"
11
  example_title: "Unlikely feature request"
12
  ---
13
 
@@ -21,8 +21,8 @@ pipe = pipeline("text-classification", model="Peterard/distilbert_feature_classi
21
  pipe("Please add a like button!")
22
  # [{'label': 'feature_request', 'score': 0.8930749893188477}]
23
 
24
- pipe("This thing is always crashing")
25
- #[{'label': 'no_feature_request', 'score': 0.9975591897964478}]
26
  ```
27
 
28
  N.B. The label will change depending on which is the likelier class
 
7
  widget:
8
  - text: "Please add a like button!"
9
  example_title: "Likely feature request"
10
+ - text: "The app crashed when I opened it this morning. Can you fix this please?"
11
  example_title: "Unlikely feature request"
12
  ---
13
 
 
21
  pipe("Please add a like button!")
22
  # [{'label': 'feature_request', 'score': 0.8930749893188477}]
23
 
24
+ pipe("The app crashed when I opened it this morning. Can you fix this please?")
25
+ #[{'label': 'no_feature_request', 'score': 0.9971746206283569}]
26
  ```
27
 
28
  N.B. The label will change depending on which is the likelier class