Text Classification
PEFT
Safetensors
English
French
unsloth
lora
Multi-Task
Sentiment Analysis
Translation (English to French)
Instructions to use BEncoderRT/tinyllama-multitask-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use BEncoderRT/tinyllama-multitask-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T") model = PeftModel.from_pretrained(base_model, "BEncoderRT/tinyllama-multitask-lora") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use BEncoderRT/tinyllama-multitask-lora with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for BEncoderRT/tinyllama-multitask-lora to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for BEncoderRT/tinyllama-multitask-lora to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for BEncoderRT/tinyllama-multitask-lora to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="BEncoderRT/tinyllama-multitask-lora", max_seq_length=2048, )
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# TinyLlama Multi-Task LoRA (Sentiment + Translation)
|
| 2 |
|
| 3 |
This repository contains a **LoRA adapter** trained on top of
|
|
@@ -264,7 +273,4 @@ Je me passionne pour les modèles de langues grandes.
|
|
| 264 |
Artificial intelligence is changing the world.
|
| 265 |
### French:
|
| 266 |
L'intelligence artificielle change le monde.
|
| 267 |
-
```
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- mteb/imdb
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
- fr
|
| 8 |
+
pipeline_tag: text-classification
|
| 9 |
+
---
|
| 10 |
# TinyLlama Multi-Task LoRA (Sentiment + Translation)
|
| 11 |
|
| 12 |
This repository contains a **LoRA adapter** trained on top of
|
|
|
|
| 273 |
Artificial intelligence is changing the world.
|
| 274 |
### French:
|
| 275 |
L'intelligence artificielle change le monde.
|
| 276 |
+
```
|
|
|
|
|
|
|
|
|