Instructions to use LEIA/LEIA-LM-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LEIA/LEIA-LM-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="LEIA/LEIA-LM-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("LEIA/LEIA-LM-base") model = AutoModelForMaskedLM.from_pretrained("LEIA/LEIA-LM-base") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,4 +6,7 @@ library_name: transformers
|
|
| 6 |
widget:
|
| 7 |
- text: ""
|
| 8 |
|
| 9 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
widget:
|
| 7 |
- text: ""
|
| 8 |
|
| 9 |
+
---
|
| 10 |
+
This is a BERTweet-base model that has been further pre-trained with preferential masking of emotion words for 100k steps on about 6.3M Vent posts.
|
| 11 |
+
|
| 12 |
+
This model is meant to be fine-tuned on labeled data or used as feature extractor for downstream tasks.
|