Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,29 @@
|
|
| 1 |
---
|
| 2 |
title: Silly Phrase Finder
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.
|