Spaces:
Runtime error
Runtime error
LysandreJik
commited on
Commit
·
6b7f4a6
1
Parent(s):
9a56e9e
YDS' comments
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
from huggingface_hub import upload_file
|
7 |
|
8 |
default_question = """
|
9 |
-
We're going to use the <a href="https://huggingface.co/datasets/wikitext"><code>wikitext (link)</a></code> dataset with the <code><a href="https://huggingface.co/
|
10 |
|
11 |
<br/><br/>
|
12 |
|
@@ -15,15 +15,15 @@ We'll tokenize this using the appropriate tokenizer, and we'll mask the sixth to
|
|
15 |
|
16 |
<br/><br/>
|
17 |
|
18 |
-
When using the <code>
|
19 |
|
20 |
<br/>
|
21 |
<br/>
|
22 |
Tips:
|
23 |
<br/>
|
24 |
-
- You might find the <a href="https://huggingface.co/docs/transformers/index">transformers docs (link)</a> useful.
|
25 |
<br/>
|
26 |
-
- You might find the <a href="https://huggingface.co/docs/datasets/index">datasets docs (link)</a> useful.
|
27 |
"""
|
28 |
|
29 |
internships = {
|
@@ -86,4 +86,4 @@ with gr.Blocks() as demo:
|
|
86 |
|
87 |
|
88 |
if __name__ == "__main__":
|
89 |
-
demo.launch()
|
|
|
6 |
from huggingface_hub import upload_file
|
7 |
|
8 |
default_question = """
|
9 |
+
We're going to use the <a href="https://huggingface.co/datasets/wikitext" target="_blank"><code>wikitext (link)</a></code> dataset with the <code><a href="https://huggingface.co/distilbert-base-cased" target="_blank">distilbert-base-cased (link)</a></code> model checkpoint.
|
10 |
|
11 |
<br/><br/>
|
12 |
|
|
|
15 |
|
16 |
<br/><br/>
|
17 |
|
18 |
+
When using the <code>distilbert-base-cased</code> checkpoint to unmask that token, what is the most probable predicted token (please provide the decoded token, and not the ID)?
|
19 |
|
20 |
<br/>
|
21 |
<br/>
|
22 |
Tips:
|
23 |
<br/>
|
24 |
+
- You might find the <a href="https://huggingface.co/docs/transformers/index" target="_blank">transformers docs (link)</a> useful.
|
25 |
<br/>
|
26 |
+
- You might find the <a href="https://huggingface.co/docs/datasets/index" target="_blank">datasets docs (link)</a> useful.
|
27 |
"""
|
28 |
|
29 |
internships = {
|
|
|
86 |
|
87 |
|
88 |
if __name__ == "__main__":
|
89 |
+
demo.launch()
|