Instructions to use LEIA/LEIA-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LEIA/LEIA-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LEIA/LEIA-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LEIA/LEIA-base") model = AutoModelForSequenceClassification.from_pretrained("LEIA/LEIA-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 64a868c7a458c1e61e24bf76c4a86218c361ab057a34e6450a2ef810f9b94f7f
- Size of remote file:
- 540 MB
- SHA256:
- 2803ec458d0eb8cca5133837c9920cb21bc6806463387dc13b7d49fddf54187c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.