Instructions to use HPLT/hplt_bert_base_sw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HPLT/hplt_bert_base_sw with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="HPLT/hplt_bert_base_sw", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("HPLT/hplt_bert_base_sw", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload model.safetensors
Verified signaturedfb550c
-
rm broken safetensors
Verified signatureb738d04
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (163fcfb0dc71f1fa8a27b18469ab1ab0d1ec2ba4) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1c5c060
-
Upload modeling_ltgbert.py with huggingface_hub
Verified signature321b946
-
Upload README.md with huggingface_hub
Verified signaturea548070 -
Upload tokenizer.json with huggingface_hub
Verified signature20af60d
-
Updating README.md
Verified signature5484959
-
Upload folder using huggingface_hub
Verified signature795f6a3 -
initial commit
Verified signatureee3b6ac