Instructions to use ping98k/llama-3-typhoon-8b-cross-1.0-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ping98k/llama-3-typhoon-8b-cross-1.0-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("scb10x/llama-3-typhoon-v1.5-8b") model = PeftModel.from_pretrained(base_model, "ping98k/llama-3-typhoon-8b-cross-1.0-lora") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use ping98k/llama-3-typhoon-8b-cross-1.0-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 ping98k/llama-3-typhoon-8b-cross-1.0-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 ping98k/llama-3-typhoon-8b-cross-1.0-lora to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ping98k/llama-3-typhoon-8b-cross-1.0-lora to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="ping98k/llama-3-typhoon-8b-cross-1.0-lora", max_seq_length=2048, )
File size: 135 Bytes
5391e87 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fbd9f4aa1b243cdc2fc49956eeb73b33117d0bd29118a216fbe4e64c7901f2b3
size 1342238560
|