Instructions to use Kaballas/lora_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kaballas/lora_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Kaballas/lora_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Kaballas/lora_model with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Kaballas/lora_model:Q8_0 # Run inference directly in the terminal: llama cli -hf Kaballas/lora_model:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Kaballas/lora_model:Q8_0 # Run inference directly in the terminal: llama cli -hf Kaballas/lora_model:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Kaballas/lora_model:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf Kaballas/lora_model:Q8_0
Use Docker
docker model run hf.co/Kaballas/lora_model:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use Kaballas/lora_model with Ollama:
ollama run hf.co/Kaballas/lora_model:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use Kaballas/lora_model with Docker Model Runner:
docker model run hf.co/Kaballas/lora_model:Q8_0
- Lemonade
How to use Kaballas/lora_model with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Kaballas/lora_model:Q8_0
Run and chat with the model
lemonade run user.lora_model-Q8_0
List all available models
lemonade list
- Atomic Chat
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
Files changed (2)
12345676 unmodified lines14151617181920212223242526272829303132333435{"alpha_pattern": {},"auto_mapping": null,"base_model_name_or_path": "unsloth/mistral-7b-bnb-4bit","bias": "none","fan_in_fan_out": false,"inference_mode": true,6 unmodified lines"lora_dropout": 0,"megatron_config": null,"megatron_core": "megatron.core","modules_to_save": ["lm_head","embed_tokens"],"peft_type": "LORA","r": 16,"rank_pattern": {},"revision": "unsloth","target_modules": ["down_proj","up_proj","gate_proj","k_proj","q_proj","v_proj","o_proj"],"task_type": "CAUSAL_LM","use_dora": false,12345676 unmodified lines14151617181920212223242526272829303132{"alpha_pattern": {},"auto_mapping": null,"base_model_name_or_path": "unsloth/gemma-2-9b-bnb-4bit","bias": "none","fan_in_fan_out": false,"inference_mode": true,6 unmodified lines"lora_dropout": 0,"megatron_config": null,"megatron_core": "megatron.core","modules_to_save": null,"peft_type": "LORA","r": 16,"rank_pattern": {},"revision": "unsloth","target_modules": ["v_proj","gate_proj","q_proj","o_proj","up_proj","k_proj","down_proj"],"task_type": "CAUSAL_LM","use_dora": false,
123version https://git-lfs.github.com/spec/v1oid sha256:484fdb37fd28dc2d4d943f6d663d0556a431407229fb9c57ada61dd7e8ef786fsize 1216409944123version https://git-lfs.github.com/spec/v1oid sha256:a91b82402fa23b3d9d5a9d0f7e5d3a7e3f384881d81bfc8e536ef9e4c527704asize 216151256
adapter_config.json+7-10
adapter_model.safetensors+2-2