Instructions to use LEIA/LEIA-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LEIA/LEIA-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LEIA/LEIA-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LEIA/LEIA-large") model = AutoModelForSequenceClassification.from_pretrained("LEIA/LEIA-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature7115c68
-
Update README.md
Verified signaturee282dfb
-
Update README.md
c36fe1e -
Update README.md
b908e7d -
Update README.md
61365cd
-
Update README.md
a88d579 -
Update README.md
9964b2c -
Create README.md
9b96c3a -
Upload with huggingface_hub
7a8cbb7 -
initial commit
ff9f5e8