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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("adsabs/astroBERT") model = AutoModelForPreTraining.from_pretrained("adsabs/astroBERT", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
| 2 |
license: mit
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
pipeline_tag: fill-mask
|
| 6 |
widget:
|
| 7 |
- text: The Chandra X-ray Observatory (CXO) is a Flagship-class space [MASK] launched aboard the Space Shuttle Columbia during STS-93 by NASA on July 23, 1999
|
|
|
|
| 2 |
license: mit
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- fill-mask
|
| 7 |
+
task_ids:
|
| 8 |
+
- masked-language-modeling
|
| 9 |
pipeline_tag: fill-mask
|
| 10 |
widget:
|
| 11 |
- text: The Chandra X-ray Observatory (CXO) is a Flagship-class space [MASK] launched aboard the Space Shuttle Columbia during STS-93 by NASA on July 23, 1999
|