Instructions to use adsabs/astroBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adsabs/astroBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="adsabs/astroBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("adsabs/astroBERT") model = AutoModelForPreTraining.from_pretrained("adsabs/astroBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from adsabs/astroBERT: direct link, hf CLI and curl.
- Browser
- Download file 439 MB
-
https://huggingface.co/adsabs/astroBERT/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://adsabs/astroBERT@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/adsabs/astroBERT/resolve/refs%2Fpr%2F1/pytorch_model.bin
439 MB
- Xet hash:
- 2f682a6e426431a8e0296b8df5937e10077934e70f88df5c9b4d8d6cb5c37a13
- Size of remote file:
- 439 MB
- SHA256:
- 3268b70d3529eb896bf43c0c8fa933f6282b82fa196e2659ab116d49fbbca6ac
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.