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: 129 Bytes
7a8cbb7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:287d7e5ec4f0595f5de4078908ef7a347f826e504b32db5ec63a196ec34cf02f
size 3887
|