Instructions to use SmartPy/bert-hs-idpt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SmartPy/bert-hs-idpt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="SmartPy/bert-hs-idpt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("SmartPy/bert-hs-idpt") model = AutoModelForMaskedLM.from_pretrained("SmartPy/bert-hs-idpt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis 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.a5f5184
-
Training in progress, step 6500
68efb46 -
Training in progress, step 6000
6804ae9 -
Training in progress, step 5500
650484c -
Training in progress, step 5000
f7b8798 -
Training in progress, step 4500
8d10350 -
Training in progress, step 4000
3d5aeff -
Training in progress, step 3500
ff2c5e6 -
Training in progress, step 3000
b1f4ac5 -
Training in progress, step 2500
a428018 -
Training in progress, step 2000
f6adec2 -
Training in progress, step 1500
e6bc249 -
Training in progress, step 1000
fed2abd -
Training in progress, step 500
a365210 -
Training in progress, step 500
ebf3429 -
Training in progress, step 1000
4c9da0b -
Training in progress, step 500
4b1713a -
initial commit
c6ca426