How to use from
Unsloth Studio
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for DrChamyoung/Xieral-Code-Gen-3B-Model to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex
# Run unsloth studio
unsloth studio -H 0.0.0.0 -p 8888
# Then open http://localhost:8888 in your browser
# Search for DrChamyoung/Xieral-Code-Gen-3B-Model to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required
# Open https://huggingface.co/spaces/unsloth/studio in your browser
# Search for DrChamyoung/Xieral-Code-Gen-3B-Model to start chatting
Quick Links

Xieral Code Gen 3B

Xieral Code Gen 3B is a decoder-only language model with 2.7 billion parameters. Developed from the Xieral-Code-Gen-3b, this model is designed specifically for code generation and software engineering tasks.

Model Overview

  • Architecture: Decoder-only language model
  • Parameters: 2.7 billion
  • Training Data: Combination of publicly available and synthetic datasets
  • Optimization: Direct Preference Optimization (DPO)
  • Fine-tuning: General code/software engineering conversations, SQL query generation, and discussion

Performance

Xieral Code Gen 3B has demonstrated competitive performance compared to other models of similar size:

  • MultiPL-E Metrics: Evaluated across various programming languages using the BigCode Evaluation Harness.
  • MT Bench: Shows strong results on code-related tasks.

Usage

This model is well-suited for:

  • General code/software engineering conversations
  • SQL query generation and discussion

Requirements

To run Xieral Code Gen 3B locally, you will need:

  • VRAM: 8GB+ (Graphics card with sufficient VRAM)
  • Dependencies: Ensure you have the necessary libraries and environment set up to run the model.

Installation

To install the required dependencies, use:

pip install -r requirements.txt
Downloads last month
11
GGUF
Model size
3B params
Architecture
stablelm
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