Downloads · 30 days
328
18% of all-time downloads
bfavro73/qwen2.5-coder-7b-pandas-dpo-aligned
qwen2.5-coder-7b-pandas-dpo-aligned is a text generation model from bfavro73. Use it when you need the model to write or continue text. It is set up for transformers.
Fine-tuned version of Qwen's Code-Specific large language model, Qwen2.5-coder-7b. Qwen-2.5 Coder has six mainstream model sizes: 0.5, 1.5, 3, 7, 14 and 32 billion parameter models to meet developer needs. The 7B mode…
Downloads · 30 days
328
18% of all-time downloads
All-time downloads
1.8K
Public
Parameters
7.6B
19.9 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors15.2 GB · 76%
From the Hugging Face model README
Fine-tuned version of Qwen's Code-Specific large language model, Qwen2.5-coder-7b. Qwen-2.5 Coder has six mainstream model sizes: 0.5, 1.5, 3, 7, 14 and 32 billion parameter models to meet developer needs. The 7B model version provides a great balance between model representationl capacity and runtime requirements. This 7 Billion parameter model was fine-tuned using offline DPO and a preference dataset for Python data analysis.
Available in GGUF format.
Context Window: up to 128K tokens
Provides a good foundation for real-world applications such as Coding Agents. It has enhanced coding capabilities and maintains strengths in mathematics and general competencies.
The memory you need depends heavily on precision/quantization and context length. Always consider headroom for runtime and cache! KV/Key-Value cache (scales with context length and batch size).
Considering standard Memory (bytes)≈params×bytes per parameter rule of thumb:
Example 1 (CPU): Running on CPU (llama.cpp / GGUF):
A 7B model at 4‑bit needs about 3.5 – 4GB (7×10^9x0.5) for weights. With runtime overhead, KV cache, and your app, a practical minimum is:
Example 2 (GPU): For local GPU inference with decent context and speed:
No GPU offload:
Absolute Minimum: 4 vCPUs (4 cores / threads) to run 7B 4‑bit model, but generation will likely feel sluggish, especially with longer responses.
Realistic Minimum: For heavier coding uses with multiple users and long context: 8–12 vCPUs, allows:
With GPU offload performing all the matrix multiplication 4 vCPUs are sufficient.
[More Information Needed]