Instructions to use HPLT/hplt_bert_base_ro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HPLT/hplt_bert_base_ro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="HPLT/hplt_bert_base_ro", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("HPLT/hplt_bert_base_ro", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __init__.py from HPLT/hplt_bert_base_ro: direct link, hf CLI and curl.
- Browser
- Download file 0 Bytes
-
https://huggingface.co/HPLT/hplt_bert_base_ro/resolve/main/__init__.py
- Command line
-
hf download hf://HPLT/hplt_bert_base_ro/__init__.py
-
curl -L -o __init__.py https://huggingface.co/HPLT/hplt_bert_base_ro/resolve/main/__init__.py
0 Bytes