Transformers
Safetensors
GGUF
English
llama
text-generation-inference
unsloth
trl
sft
8-bit precision
Instructions to use d8912046/lora_model_test2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d8912046/lora_model_test2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("d8912046/lora_model_test2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use d8912046/lora_model_test2 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 d8912046/lora_model_test2:Q4_K_M # Run inference directly in the terminal: llama cli -hf d8912046/lora_model_test2:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf d8912046/lora_model_test2:Q4_K_M # Run inference directly in the terminal: llama cli -hf d8912046/lora_model_test2:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf d8912046/lora_model_test2:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf d8912046/lora_model_test2:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf d8912046/lora_model_test2:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf d8912046/lora_model_test2:Q4_K_M
Use Docker
docker model run hf.co/d8912046/lora_model_test2:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use d8912046/lora_model_test2 with Ollama:
ollama run hf.co/d8912046/lora_model_test2:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use d8912046/lora_model_test2 with Docker Model Runner:
docker model run hf.co/d8912046/lora_model_test2:Q4_K_M
- Lemonade
How to use d8912046/lora_model_test2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull d8912046/lora_model_test2:Q4_K_M
Run and chat with the model
lemonade run user.lora_model_test2-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download adapter_config.json from d8912046/lora_model_test2: direct link, hf CLI and curl.
- Browser
- Download file 798 Bytes
-
https://huggingface.co/d8912046/lora_model_test2/resolve/main/adapter_config.json
- Command line
-
hf download hf://d8912046/lora_model_test2/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/d8912046/lora_model_test2/resolve/main/adapter_config.json
798 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "unsloth/llama-3-8b-bnb-4bit", | |
| "bias": "none", | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 16, | |
| "lora_bias": false, | |
| "lora_dropout": 0, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 16, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "o_proj", | |
| "up_proj", | |
| "down_proj", | |
| "q_proj", | |
| "k_proj", | |
| "v_proj", | |
| "gate_proj" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |