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
|
@@ -2,10 +2,20 @@
|
|
| 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 |
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
datasets:
|
| 4 |
- mteb/imdb
|
| 5 |
+
- Helsinki-NLP/opus-100
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
- fr
|
| 9 |
pipeline_tag: text-classification
|
| 10 |
+
base_model:
|
| 11 |
+
- TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
| 12 |
+
tags:
|
| 13 |
+
- unsloth
|
| 14 |
+
- lora
|
| 15 |
+
- peft
|
| 16 |
+
- Multi-Task
|
| 17 |
+
- Sentiment Analysis
|
| 18 |
+
- Translation (English to French)
|
| 19 |
---
|
| 20 |
# TinyLlama Multi-Task LoRA (Sentiment + Translation)
|
| 21 |
|