Reggie commited on
Commit
ab5d39c
·
1 Parent(s): 0c0544e

Update README.md

Browse files

Add example for widget

Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -2,10 +2,12 @@
2
  license: mit
3
  language:
4
  - en
 
 
5
  ---
6
 
7
  ### What is this?
8
- A detector based on Facebook's [RoBerta-MUPPET](https://huggingface.co/facebook/muppet-roberta-base) to detect "narrative-style" jokes, stories and anecdotes i.e. they are narrated as a story. See the example in the How to use.
9
 
10
  This has not been trained or tested on one-liners, puns or Reddit-style language-manipulation jokes such as knock-knock, Q&A jokes etc.
11
 
 
2
  license: mit
3
  language:
4
  - en
5
+ widget:
6
+ - text: "A nervous passenger is about to book a flight ticket, and he asks the airlines' ticket seller, 'I hope your planes are safe. Do they have a good track record for safety?' The airline agent replies, 'Sir, I can guarantee you, we've never had a plane that has crashed more than once.'"
7
  ---
8
 
9
  ### What is this?
10
+ A detector based on Facebook's [RoBerta-MUPPET](https://huggingface.co/facebook/muppet-roberta-base) to detect "narrative-style" jokes, stories and anecdotes i.e. they are narrated as a story. See the example in the inference widget or How to use section.
11
 
12
  This has not been trained or tested on one-liners, puns or Reddit-style language-manipulation jokes such as knock-knock, Q&A jokes etc.
13