Instructions to use HPLT/hplt_bert_base_ta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HPLT/hplt_bert_base_ta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="HPLT/hplt_bert_base_ta", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("HPLT/hplt_bert_base_ta", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download spacial_tokens_map.json from HPLT/hplt_bert_base_ta: direct link, hf CLI and curl.
- Browser
- Download file 156 Bytes
-
https://huggingface.co/HPLT/hplt_bert_base_ta/resolve/refs%2Fpr%2F1/spacial_tokens_map.json
- Command line
-
hf download hf://HPLT/hplt_bert_base_ta@refs/pr/1/spacial_tokens_map.json
-
curl -L -o spacial_tokens_map.json https://huggingface.co/HPLT/hplt_bert_base_ta/resolve/refs%2Fpr%2F1/spacial_tokens_map.json
156 Bytes
| {"bos_token": "[BOS]", "eos_token": "[EOS]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"} |