Question Answering
Transformers
PyTorch
TensorFlow
JAX
Vietnamese
t5
text2text-generation
summarization
translation
text-generation-inference
Instructions to use VietAI/vit5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VietAI/vit5-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="VietAI/vit5-large")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("VietAI/vit5-large") model = AutoModelForSeq2SeqLM.from_pretrained("VietAI/vit5-large") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -20,5 +20,5 @@
|
|
| 20 |
"pad_token_id": 0,
|
| 21 |
"relative_attention_num_buckets": 32,
|
| 22 |
"tie_word_embeddings": false,
|
| 23 |
-
"vocab_size":
|
| 24 |
}
|
|
|
|
| 20 |
"pad_token_id": 0,
|
| 21 |
"relative_attention_num_buckets": 32,
|
| 22 |
"tie_word_embeddings": false,
|
| 23 |
+
"vocab_size": 36096
|
| 24 |
}
|