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 "tensorblock/Viper-OneCoder-UIGEN-GGUF" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "tensorblock/Viper-OneCoder-UIGEN-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
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 "tensorblock/Viper-OneCoder-UIGEN-GGUF" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "tensorblock/Viper-OneCoder-UIGEN-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links
TensorBlock

Website Twitter Discord GitHub Telegram

prithivMLmods/Viper-OneCoder-UIGEN - GGUF

This repo contains GGUF format model files for prithivMLmods/Viper-OneCoder-UIGEN.

The files were quantized using machines provided by TensorBlock, and they are compatible with llama.cpp as of commit b4882.

Our projects

Forge
Forge Project
An OpenAI-compatible multi-provider routing layer.
🚀 Try it now! 🚀
Awesome MCP Servers TensorBlock Studio
MCP Servers Studio
A comprehensive collection of Model Context Protocol (MCP) servers. A lightweight, open, and extensible multi-LLM interaction studio.
👀 See what we built 👀 👀 See what we built 👀
## Prompt template
<|im_start|>system
{system_prompt}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant

Model file specification

Filename Quant type File Size Description
Viper-OneCoder-UIGEN-Q2_K.gguf Q2_K 5.770 GB smallest, significant quality loss - not recommended for most purposes
Viper-OneCoder-UIGEN-Q3_K_S.gguf Q3_K_S 6.660 GB very small, high quality loss
Viper-OneCoder-UIGEN-Q3_K_M.gguf Q3_K_M 7.339 GB very small, high quality loss
Viper-OneCoder-UIGEN-Q3_K_L.gguf Q3_K_L 7.925 GB small, substantial quality loss
Viper-OneCoder-UIGEN-Q4_0.gguf Q4_0 8.518 GB legacy; small, very high quality loss - prefer using Q3_K_M
Viper-OneCoder-UIGEN-Q4_K_S.gguf Q4_K_S 8.573 GB small, greater quality loss
Viper-OneCoder-UIGEN-Q4_K_M.gguf Q4_K_M 8.988 GB medium, balanced quality - recommended
Viper-OneCoder-UIGEN-Q5_0.gguf Q5_0 10.267 GB legacy; medium, balanced quality - prefer using Q4_K_M
Viper-OneCoder-UIGEN-Q5_K_S.gguf Q5_K_S 10.267 GB large, low quality loss - recommended
Viper-OneCoder-UIGEN-Q5_K_M.gguf Q5_K_M 10.509 GB large, very low quality loss - recommended
Viper-OneCoder-UIGEN-Q6_K.gguf Q6_K 12.125 GB very large, extremely low quality loss
Viper-OneCoder-UIGEN-Q8_0.gguf Q8_0 15.702 GB very large, extremely low quality loss - not recommended

Downloading instruction

Command line

Firstly, install Huggingface Client

pip install -U "huggingface_hub[cli]"

Then, downoad the individual model file the a local directory

huggingface-cli download tensorblock/Viper-OneCoder-UIGEN-GGUF --include "Viper-OneCoder-UIGEN-Q2_K.gguf" --local-dir MY_LOCAL_DIR

If you wanna download multiple model files with a pattern (e.g., *Q4_K*gguf), you can try:

huggingface-cli download tensorblock/Viper-OneCoder-UIGEN-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
Downloads last month
33
GGUF
Model size
15B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

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

Model tree for tensorblock/Viper-OneCoder-UIGEN-GGUF

Datasets used to train tensorblock/Viper-OneCoder-UIGEN-GGUF