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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("LEIA/LEIA-LM-base") model = AutoModelForMaskedLM.from_pretrained("LEIA/LEIA-LM-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturece63962 -
Update README.md
Verified signature4256d36
-
Update README.md
46c5f24
-
Update README.md
f36d246 -
Update README.md
5a86cfe -
Update README.md
02ba225 -
Update README.md
e98cd9a -
Update README.md
096d890 -
Update README.md
078d115 -
Create README.md
30aac57 -
Upload with huggingface_hub
57dfa26 -
initial commit
bf3cbb9