Instructions to use phueb/BabyBERTa-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use phueb/BabyBERTa-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="phueb/BabyBERTa-2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("phueb/BabyBERTa-2") model = AutoModelForMaskedLM.from_pretrained("phueb/BabyBERTa-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from phueb/BabyBERTa-2: direct link, hf CLI and curl.
- Browser
- Download file 34.2 MB
-
https://huggingface.co/phueb/BabyBERTa-2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://phueb/BabyBERTa-2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/phueb/BabyBERTa-2/resolve/main/pytorch_model.bin
34.2 MB
- Xet hash:
- 1280d33c0d3a9d8a19bdb365c48bc39897296a6c8cfd2d71241ab5782043665a
- Size of remote file:
- 34.2 MB
- SHA256:
- 6850bbfc2ec07a5cef14119b3b140d52bd533aba2a4ace25892eafdecb04e284
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.