How to use jsmall12/DataSci-Coder-14B-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-Coder-14B-Instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "jsmall12/DataSci-Coder-14B-LoRA")
How to use jsmall12/DataSci-Coder-14B-LoRA with Unsloth Studio:
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 jsmall12/DataSci-Coder-14B-LoRA to start chatting
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 jsmall12/DataSci-Coder-14B-LoRA to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for jsmall12/DataSci-Coder-14B-LoRA to start chatting
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="jsmall12/DataSci-Coder-14B-LoRA", max_seq_length=2048, )
The community tab is the place to discuss and collaborate with the HF community!