How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "NikolayKozloff/Phi-3-mini-4k-instruct-sq-LORA-Q8_0-GGUF" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "NikolayKozloff/Phi-3-mini-4k-instruct-sq-LORA-Q8_0-GGUF",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "NikolayKozloff/Phi-3-mini-4k-instruct-sq-LORA-Q8_0-GGUF" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "NikolayKozloff/Phi-3-mini-4k-instruct-sq-LORA-Q8_0-GGUF",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

NikolayKozloff/Phi-3-mini-4k-instruct-sq-Q8_0-GGUF

This LoRA adapter was converted to GGUF format from Kushtrim/Phi-3-mini-4k-instruct-sq via the ggml.ai's GGUF-my-lora space. Refer to the original adapter repository for more details.

Use with llama.cpp

# with cli
llama-cli -m base_model.gguf --lora Phi-3-mini-4k-instruct-sq-q8_0.gguf (...other args)

# with server
llama-server -m base_model.gguf --lora Phi-3-mini-4k-instruct-sq-q8_0.gguf (...other args)

To know more about LoRA usage with llama.cpp server, refer to the llama.cpp server documentation.

Downloads last month
55
GGUF
Model size
29.9M params
Architecture
llama
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support