Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -200,23 +200,10 @@ with (gr.Blocks(title="Babel-ImageNet Quiz") as demo):
|
|
200 |
|
201 |
# Title Area
|
202 |
gr.Markdown("""
|
203 |
-
# Are you smarter🤓 than CLIP🤖?
|
204 |
|
205 |
<small>by Gregor Geigle, WüNLP & Computer Vision Lab, University of Würzburg</small>
|
206 |
|
207 |
-
In this quiz, you play against a CLIP model (specifically: [mSigLIP](https://huggingface.co/timm/ViT-B-16-SigLIP-i18n-256), a multilingual [SigLIP](https://arxiv.org/abs/2303.15343) model) and try to correctly classify the images over the 1000 ImageNet classes (in English) or over our (partial) Babel-ImageNet translations of those classes.
|
208 |
-
Select your language, click 'Start' and start guessing! We'll keep track of your score and of your opponent's.
|
209 |
-
> **Disclaimer:** Translations and images are derived automatically and can be wrong, unusual, or mismatch! This is supposed to be a fun game to explore the dataset and see how a CLIP model would answer the questions and not a product.
|
210 |
-
> We do *not* use the official ImageNet images. Instead, we use images linked in BabelNet for each class, which are often from Wikipedia and have not been checked for suitability.
|
211 |
-
|
212 |
-
> **Content Warning:** There are spiders, insects, and various animals under the images. Please take caution if those might scare you.
|
213 |
-
|
214 |
-
<details>
|
215 |
-
<summary> <b> FAQ</b> (click me to read)</summary>
|
216 |
-
<p><b>'Over 1000 classes? I just see 4.'</b> True, you have it easier and you only have to chose between 4 classes. These are the top-4 picks of your opponent (+ the correct class if they are wrong). Your opponent has it harder: they have to deal with all classes.</p>
|
217 |
-
<p><b>'Who is my opponent?'</b> Your opponent CLIP model is [mSigLIP](https://huggingface.co/timm/ViT-B-16-SigLIP-i18n-256), a powerful but small multilingual model with only 370M parameters.</p>
|
218 |
-
<p><b>'My game crashed/ I got an error!'</b> This usually happens because of problems with the image URLs. You can try the button to reroll the image or start a new round by clicking the 'Start' button again.</p>
|
219 |
-
</details>
|
220 |
""")
|
221 |
# language select dropdown
|
222 |
with gr.Row():
|
|
|
200 |
|
201 |
# Title Area
|
202 |
gr.Markdown("""
|
203 |
+
# Are you smarter🤓 than CLIP🤖?
|
204 |
|
205 |
<small>by Gregor Geigle, WüNLP & Computer Vision Lab, University of Würzburg</small>
|
206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
""")
|
208 |
# language select dropdown
|
209 |
with gr.Row():
|