Question Answering
Transformers
PyTorch
TensorFlow
JAX
Vietnamese
t5
text2text-generation
summarization
translation
text-generation-inference
Instructions to use VietAI/vit5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VietAI/vit5-base with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="VietAI/vit5-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("VietAI/vit5-base") model = AutoModelForSeq2SeqLM.from_pretrained("VietAI/vit5-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.8cc2067
-
Update README.md
Long Phan2209a38
-
Update config.json
ffd2f77
-
Update README.md
1c12345 -
Fix empty input
roota252ac1
-
Update README.md
8bba306
-
Update README.md
25dc19d
-
Update README.md
1e7647a -
Update TF and Flax model
root04d9605 -
Update model
root838f57a
-
Update README.md
f93ae9e
-
Upload tokenizer.json
f8bef15 -
Update config.json
3d7934c
-
Update README.md
4e225eb
-
Update README.md
be7524f -
Update README.md
82ff163 -
Update README.md
723f4f0
-
Update README.md
56ad7aa -
Update README.md
fef6c2a -
Create README.md
e49d9bf
-
Add flax model
root931b33a -
Add vit5 base model
root72d0543 -
Update config.json
3c65730 -
Create config.json
5c8fef2 -
initial commit
e178368