Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,6 @@ tokenizers = {
|
|
| 6 |
"RoBERTa Tokenizer": AutoTokenizer.from_pretrained("roberta-base"),
|
| 7 |
"DistilGPT-2 Tokenizer": AutoTokenizer.from_pretrained("distilgpt2"),
|
| 8 |
"bert-base-german-cased Tokenizer": AutoTokenizer.from_pretrained("bert-base-german-cased"),
|
| 9 |
-
"GPT-4 Tokenizer":GPT2TokenizerFast.from_pretrained('Xenova/gpt-4')
|
| 10 |
}
|
| 11 |
|
| 12 |
# Fancy token visualization function
|
|
|
|
| 6 |
"RoBERTa Tokenizer": AutoTokenizer.from_pretrained("roberta-base"),
|
| 7 |
"DistilGPT-2 Tokenizer": AutoTokenizer.from_pretrained("distilgpt2"),
|
| 8 |
"bert-base-german-cased Tokenizer": AutoTokenizer.from_pretrained("bert-base-german-cased"),
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
# Fancy token visualization function
|