Instructions to use icelab/cosmicroberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use icelab/cosmicroberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="icelab/cosmicroberta")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("icelab/cosmicroberta") model = AutoModelForMaskedLM.from_pretrained("icelab/cosmicroberta") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
---
|
| 2 |
license: mpl-2.0
|
| 3 |
widget:
|
| 4 |
-
- text: "The closest planet to earth is <mask>.
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
### CosmicRoBERTa
|
|
|
|
| 1 |
---
|
| 2 |
license: mpl-2.0
|
| 3 |
widget:
|
| 4 |
+
- text: "The closest planet to earth is <mask>."
|
| 5 |
+
- text: "Electrical power is generated on a spacecraft with <mask>."
|
| 6 |
---
|
| 7 |
|
| 8 |
### CosmicRoBERTa
|