Question Answering
Transformers
Safetensors
Vietnamese
qwen2
text-generation
text-generation-inference
Instructions to use thangvip/sailor2-1b-evol with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thangvip/sailor2-1b-evol 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="thangvip/sailor2-1b-evol")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("thangvip/sailor2-1b-evol") model = AutoModelForCausalLM.from_pretrained("thangvip/sailor2-1b-evol", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from thangvip/sailor2-1b-evol: direct link, hf CLI and curl.
- Browser
- Download file 11.4 MB
-
https://huggingface.co/thangvip/sailor2-1b-evol/resolve/main/tokenizer.json
- Command line
-
hf download hf://thangvip/sailor2-1b-evol/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/thangvip/sailor2-1b-evol/resolve/main/tokenizer.json
11.4 MB
- Xet hash:
- a7030cf2e58dead38199a68a8cd6f6f1a609a6072d7fb38ba5f85b3bb7e21557
- Size of remote file:
- 11.4 MB
- SHA256:
- 9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.