Instructions to use lst-nectec/HoogBERTa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lst-nectec/HoogBERTa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="lst-nectec/HoogBERTa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("lst-nectec/HoogBERTa") model = AutoModelForMaskedLM.from_pretrained("lst-nectec/HoogBERTa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.286ab7f -
Delete model.safetensors
5c98445 -
docs: fix readme
3cad39a -
docs: update readme
c64c467 -
Upload tokenizer
f176525 -
Upload RobertaForMaskedLM
6dc30d5
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (43e5e1b871ae676b0e6ea319330ad66da3edcd40) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>fd14a2c -
docs: add kaggle conversion code
812e130 -
docs: change from fairseq to transfromres
1abd6ae -
docs: update readme
6c0605a -
docs: fix padding error
643e5ff -
docs: add information about attacut
d8e4832 -
docs: update readme
e4b1b40 -
Upload tokenizer
d9a424a -
Upload model
521dda8 -
initial commit
f286a34