GGUF
conversational
How to use from
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 comfyuiblog/Nxcode-CQ-7B-GGUF
# Run inference directly in the terminal:
llama cli -hf comfyuiblog/Nxcode-CQ-7B-GGUF
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf comfyuiblog/Nxcode-CQ-7B-GGUF
# Run inference directly in the terminal:
llama cli -hf comfyuiblog/Nxcode-CQ-7B-GGUF
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 comfyuiblog/Nxcode-CQ-7B-GGUF
# Run inference directly in the terminal:
./llama-cli -hf comfyuiblog/Nxcode-CQ-7B-GGUF
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 comfyuiblog/Nxcode-CQ-7B-GGUF
# Run inference directly in the terminal:
./build/bin/llama-cli -hf comfyuiblog/Nxcode-CQ-7B-GGUF
Use Docker
docker model run hf.co/comfyuiblog/Nxcode-CQ-7B-GGUF
Quick Links

Introduction

Nxcode-CQ-7B-GGUF is the GGUF Model of Nxcode-CQ-7B-orpo is an Monolithic Preference Optimization without Reference Model fine-tune of Qwen/CodeQwen1.5-7B on 100k samples of high-quality ranking data.

Evalplus

EvalPlus pass@1
HumanEval 86.6
HumanEval+ 83.5
MBPP(v0.2.0) 82.3
MBPP+(v0.2.0) 70.4

We use a simple template to generate the solution for evalplus:

"Complete the following Python function:\n{prompt}"

Evalplus Leaderboard

Models HumanEval HumanEval+
GPT-4-Turbo (April 2024) 90.2 86.6
GPT-4 (May 2023) 88.4 81.17
GPT-4-Turbo (Nov 2023) 85.4 79.3
CodeQwen1.5-7B-Chat 83.5 78.7
claude-3-opus (Mar 2024) 82.9 76.8
DeepSeek-Coder-33B-instruct 81.1 75.0
WizardCoder-33B-V1.1 79.9 73.2
OpenCodeInterpreter-DS-33B 79.3 73.8
speechless-codellama-34B-v2.0 77.4 72
GPT-3.5-Turbo (Nov 2023) 76.8 70.7
Llama3-70B-instruct 76.2 70.7

Bigcode Leaderboard

Bigcode Leaderboard

09/05/2024

Top 1 average score.

Top 2 winrate.

image/png

You can Download workflow

Workflows

Credit: Developer

Downloads last month
9
GGUF
Model size
7B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

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

Paper for comfyuiblog/Nxcode-CQ-7B-GGUF