Instructions to use liujch1998/vera with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use liujch1998/vera with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="liujch1998/vera")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("liujch1998/vera") model = AutoModel.from_pretrained("liujch1998/vera", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
1dfa3da
1
Parent(s): f3c41da
Upload tokenizer
Browse files- tokenizer_config.json +2 -2
tokenizer_config.json
CHANGED
|
@@ -104,10 +104,10 @@
|
|
| 104 |
"eos_token": "</s>",
|
| 105 |
"extra_ids": 100,
|
| 106 |
"model_max_length": 512,
|
| 107 |
-
"name_or_path": "google/t5-
|
| 108 |
"pad_token": "<pad>",
|
| 109 |
"sp_model_kwargs": {},
|
| 110 |
-
"special_tokens_map_file": "/
|
| 111 |
"tokenizer_class": "T5Tokenizer",
|
| 112 |
"unk_token": "<unk>"
|
| 113 |
}
|
|
|
|
| 104 |
"eos_token": "</s>",
|
| 105 |
"extra_ids": 100,
|
| 106 |
"model_max_length": 512,
|
| 107 |
+
"name_or_path": "google/flan-t5-xl",
|
| 108 |
"pad_token": "<pad>",
|
| 109 |
"sp_model_kwargs": {},
|
| 110 |
+
"special_tokens_map_file": "/home/arthur_huggingface_co/.cache/huggingface/hub/models--google--t5-v1_1-small/snapshots/fb7e6cba609f7bab11c614294bc04f82f613c7b1/special_tokens_map.json",
|
| 111 |
"tokenizer_class": "T5Tokenizer",
|
| 112 |
"unk_token": "<unk>"
|
| 113 |
}
|