Instructions to use mpasila/Llama-3-Instruct-LiPPA-LoRA-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mpasila/Llama-3-Instruct-LiPPA-LoRA-8B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-3-8b-Instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "mpasila/Llama-3-Instruct-LiPPA-LoRA-8B") - Transformers
How to use mpasila/Llama-3-Instruct-LiPPA-LoRA-8B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mpasila/Llama-3-Instruct-LiPPA-LoRA-8B", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use mpasila/Llama-3-Instruct-LiPPA-LoRA-8B 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 mpasila/Llama-3-Instruct-LiPPA-LoRA-8B 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 mpasila/Llama-3-Instruct-LiPPA-LoRA-8B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mpasila/Llama-3-Instruct-LiPPA-LoRA-8B to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="mpasila/Llama-3-Instruct-LiPPA-LoRA-8B", max_seq_length=2048, )
LoRA trained in 4-bit with 8k context using meta-llama/Meta-Llama-3-8B-Instruct as the base model for 1 epoch.
Dataset used is mpasila/LimaRP-PIPPA-Mix-8K-Context which was made using grimulkan/LimaRP-augmented and KaraKaraWitch/PIPPA-ShareGPT-formatted.
This has been trained on the instruct model and not the base model. The model trained with the base model using the same dataset is here: mpasila/Llama-3-LiPPA-LoRA-8B
Prompt format: Llama 3 Instruct
Unsloth changed assistant to gpt and user to human.
Uploaded model
- Developed by: mpasila
- License: Llama 3 Community License
- Finetuned from model : unsloth/llama-3-8b-Instruct-bnb-4bit
This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
- Downloads last month
- 2
Model tree for mpasila/Llama-3-Instruct-LiPPA-LoRA-8B
Base model
unsloth/llama-3-8b-Instruct-bnb-4bit