Downloads · 30 days
62
15% of all-time downloads
aneeq-hashmi/SalesforceCoder-Qwen3.5-9B
SalesforceCoder-Qwen3.5-9B is a machine learning model from aneeq-hashmi. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
[!IMPORTANT] REPOSITORY RENAMED: This repository was formerly SalesforceCoder-Qwen3.5-9B-Q4KM-GGUF. All structured paths inside files/ remain unchanged.
Downloads · 30 days
62
15% of all-time downloads
All-time downloads
426
Public
Repo size
42.9 GB
Likes
2
Public
Click a slice to open those files.
.gguf23.5 GB · 55%
From the Hugging Face model README
[!IMPORTANT] REPOSITORY RENAMED: This repository was formerly
SalesforceCoder-Qwen3.5-9B-Q4_K_M-GGUF. All structured paths insidefiles/remain unchanged.
[!IMPORTANT] PREFERRED MODEL: For most users, the Q4_K_M GGUF (located in
files/q4/) is the recommended version. It maintains high architectural accuracy for Apex/SOQL while fitting comfortably within 6GB of VRAM, making it ideal for local development environments.
| Path | Description |
|---|---|
files/q4/ | Primary Quant (Q4_K_M). Optimized for VRAM < 6GB. |
files/q5/ & files/q8/ | High-fidelity quants for 12GB+ VRAM environments. |
files/mmproj/ | Multimodal projector GGUF for vision-capable inference. |
files/f16/ | Full model weights (Safetensors) and BF16 adapters. |
files/supporting/ | Tokenizer, chat templates, and base JSON configs. |
To use the preferred model with Ollama:
You can manually download it from files/q4/ or use this curl command:
powershell
curl -L "[https://huggingface.co/aneeq-hashmi/SalesforceCoder-Qwen3.5-9B/resolve/main/files/q4/SalesforceCoder-Qwen3.5-9B.Q4_K_M.gguf](https://huggingface.co/aneeq-hashmi/SalesforceCoder-Qwen3.5-9B/resolve/main/files/q4/SalesforceCoder-Qwen3.5-9B.Q4_K_M.gguf)" -o SalesforceCoder-Qwen3.5-9B.Q4_K_M.gguf
Ensure your Modelfile is in the same directory and the FROM line points to the file you just downloaded:
Dockerfile
FROM ./SalesforceCoder-Qwen3.5-9B.Q4_K_M.gguf
PARAMETER num_ctx 204800
PowerShell
ollama create SalesforceCoder -f Modelfile
ollama run SalesforceCoder
SalesforceCoder-Qwen3.5-9B is a fine-tuned variant of Qwen3.5-9B, purpose-built for Salesforce Enterprise Architecture, Apex development, and troubleshooting.
The model was trained on curated Salesforce Q&A, StackExchange, and GitHub data, specifically optimized for domain-specific practical problem coverage.
It also incorporates Gianloko's Apex Code dataset, providing exposure to real-world Salesforce coding patterns.
seeAllData=false, Test.startTest()/Test.stopTest(), and robust test data builders (aiming for 90%+ coverage).You are a Salesforce Enterprise Architect. Follow these strict rules on every response:
with sharing for all classes.escapeSingleQuotes for dynamic SOQL.Test.startTest() and Test.stopTest() for all asynchronous logic.To ensure deterministic and syntactically correct Apex, use these parameters:
| Parameter | Recommended Value | Purpose |
|---|---|---|
| Temperature | 0.0 – 0.2 | Precise, deterministic code output. |
| Top_P | 0.9 | Balance between variety and relevance. |
| Repeat Penalty | 1.1 – 1.2 | Reduce boilerplate in long classes. |
| Context Window | Up to 200,000 | Support for full-org analysis. |
./main -m files/q4/SalesforceCoder-Qwen3.5-9B.Q4_K_M.gguf -c 200000 --temp 0.0 --top_p 0.9 --repeat_penalty 1.1
0.1 and Repeat Penalty to 1.1.Ensure you are in the root directory where the Modelfile is located. This command will build the model and reference the structured paths automatically:
ollama create SalesforceCoder -f Modelfile
Since you are running without a local Ollama installation, use this specific two-step command to build your model inside a container. Run this from your C:\unsloth\source-repo directory:
This maps your local folder (${PWD}) to the container's /root/repo path so it can access the weights.
docker run -d -v ${PWD}:/root/repo -p 11434:11434 --name ollama-sf ollama/ollama
This triggers the build process using the Modelfile and the 200k context configuration.
docker exec -it ollama-sf ollama create SalesforceCoder -f /root/repo/Modelfile
The volume mapping (-v ${PWD}:/root/repo) is critical. It allows the container to resolve the FROM ./files/q4/... path defined in your Modelfile. Without this, the model creation will fail with a "file not found" error.
This model is built upon Qwen 3.5 (9B) by the Qwen Team, licensed under Apache 2.0.
A significant portion of the fine-tuning for this model utilized the Apex Coder Training Data created by Gianloko.
The modifications, fine-tuning configurations, and repository structure provided here are licensed under the Apache License 2.0.
Note: This model is an independent research project and is not affiliated with, sponsored by, or endorsed by Salesforce, Inc.