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")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LEIA/LEIA-large") model = AutoModelForSequenceClassification.from_pretrained("LEIA/LEIA-large") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
7a8cbb7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2034af976804d7e431608bd0fcd1f76cde6c46c73e367ae86d0c383b722acf53
size 1421589101
|