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
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,4 +7,8 @@ pipeline_tag: text-classification
|
|
| 7 |
widget:
|
| 8 |
- text: "You wont believe what happened to me today"
|
| 9 |
- text: "You wont believe what happened to me today!"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
|
|
|
| 7 |
widget:
|
| 8 |
- text: "You wont believe what happened to me today"
|
| 9 |
- text: "You wont believe what happened to me today!"
|
| 10 |
+
- text: "You wont believe what happened to me today..."
|
| 11 |
+
- text: "You wont believe what happened to me today <3"
|
| 12 |
+
- text: "You wont believe what happened to me today :)"
|
| 13 |
+
- text: "You wont believe what happened to me today :("
|
| 14 |
---
|