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 generation_config.json from d8912046/lora_model_test2: direct link, hf CLI and curl.
- Browser
- Download file 198 Bytes
-
https://huggingface.co/d8912046/lora_model_test2/resolve/main/generation_config.json
- Command line
-
hf download hf://d8912046/lora_model_test2/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/d8912046/lora_model_test2/resolve/main/generation_config.json
198 Bytes
| { | |
| "bos_token_id": 128000, | |
| "do_sample": true, | |
| "eos_token_id": 128001, | |
| "max_length": 8192, | |
| "pad_token_id": 128255, | |
| "temperature": 0.6, | |
| "top_p": 0.9, | |
| "transformers_version": "4.49.0" | |
| } | |