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:
- 2b49e2094d9834c13522dc0d7cf1a9eb9d6df3bc5ec98bf4eb6e14f301a85369
- Size of remote file:
- 3.89 kB
- SHA256:
- f2fe9ad40e6e18a8ad3fd68bdc0122e139eae6cf49a0d07f7eae6282b7807bc7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.