Instructions to use keepitreal/MiniPhoBert-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use keepitreal/MiniPhoBert-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="keepitreal/MiniPhoBert-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("keepitreal/MiniPhoBert-v1") model = AutoModelForMaskedLM.from_pretrained("keepitreal/MiniPhoBert-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download merges.txt from keepitreal/MiniPhoBert-v1: direct link, hf CLI and curl.
- Browser
- Download file 781 kB
-
https://huggingface.co/keepitreal/MiniPhoBert-v1/resolve/main/merges.txt
- Command line
-
hf download hf://keepitreal/MiniPhoBert-v1/merges.txt
-
curl -L -o merges.txt https://huggingface.co/keepitreal/MiniPhoBert-v1/resolve/main/merges.txt
781 kB
File too large to display, you can check the raw version instead.