profplate commited on
Commit
3a4ed3c
·
verified ·
1 Parent(s): 5acb619

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -6
README.md CHANGED
@@ -1,13 +1,29 @@
1
  ---
2
  title: Silly Phrase Finder
3
- emoji: 🐠
4
- colorFrom: blue
5
- colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 6.6.0
8
  app_file: app.py
9
  pinned: false
10
- short_description: Finds the silliest phrase in a passage
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Silly Phrase Finder
3
+ emoji: 🤪
4
+ colorFrom: yellow
5
+ colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 5.12.0
8
  app_file: app.py
9
  pinned: false
10
+ license: mit
11
  ---
12
 
13
+ # Silly Phrase Finder
14
+
15
+ Paste any text and this AI picks out the silliest phrase.
16
+
17
+ ## How it works
18
+
19
+ 1. Your text gets split into sentences
20
+ 2. A zero-shot classifier scores each sentence as "silly and ridiculous," "serious and important," or "ordinary and boring"
21
+ 3. The sentence with the highest silliness score wins
22
+
23
+ ## What's zero-shot classification?
24
+
25
+ The model (`valhalla/distilbart-mnli-12-3`) was never trained on the word "silly." It was trained to understand whether two sentences are related — and that general language understanding is enough for it to figure out what "silly" means on its own. No custom training needed.
26
+
27
+ ## Try it
28
+
29
+ Paste a paragraph from a news article, a story, an email — anything with a few sentences. The model will find the goofiest one.