Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ demo = gr.Interface(
|
|
| 35 |
gr.Dropdown(
|
| 36 |
label="Tokenizer",
|
| 37 |
choices=_preset_tokenizers,
|
| 38 |
-
value="
|
| 39 |
allow_custom_value=True,
|
| 40 |
info="Select a tokenizer from this list or paste a model_id from a model on the Hugging Face Hub",
|
| 41 |
),
|
|
@@ -57,12 +57,12 @@ demo = gr.Interface(
|
|
| 57 |
gr.Markdown(label="tokenizer"),
|
| 58 |
],
|
| 59 |
examples=[
|
| 60 |
-
["
|
| 61 |
-
["
|
| 62 |
-
["
|
| 63 |
-
["
|
| 64 |
-
["
|
| 65 |
-
["
|
| 66 |
],
|
| 67 |
cache_examples=False,
|
| 68 |
allow_flagging=False,
|
|
|
|
| 35 |
gr.Dropdown(
|
| 36 |
label="Tokenizer",
|
| 37 |
choices=_preset_tokenizers,
|
| 38 |
+
value="llama-3",
|
| 39 |
allow_custom_value=True,
|
| 40 |
info="Select a tokenizer from this list or paste a model_id from a model on the Hugging Face Hub",
|
| 41 |
),
|
|
|
|
| 57 |
gr.Markdown(label="tokenizer"),
|
| 58 |
],
|
| 59 |
examples=[
|
| 60 |
+
["llama-3", 32],
|
| 61 |
+
["llama-3", 64],
|
| 62 |
+
["llama-3", 128],
|
| 63 |
+
["llama-3", 512],
|
| 64 |
+
["llama-3", 1024],
|
| 65 |
+
["llama-3", 2048],
|
| 66 |
],
|
| 67 |
cache_examples=False,
|
| 68 |
allow_flagging=False,
|