Instructions to use namngo/bartpho_intruction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use namngo/bartpho_intruction with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("namngo/bartpho_intruction") model = AutoModelForSeq2SeqLM.from_pretrained("namngo/bartpho_intruction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download app.py from namngo/bartpho_intruction: direct link, hf CLI and curl.
- Browser
- Download file 20 Bytes
-
https://huggingface.co/namngo/bartpho_intruction/resolve/main/app.py
- Command line
-
hf download hf://namngo/bartpho_intruction/app.py
-
curl -L -o app.py https://huggingface.co/namngo/bartpho_intruction/resolve/main/app.py
20 Bytes
| print('Hello world') |