Text Generation
Transformers
Safetensors
English
qwen2
qwen2.5-coder
qwen2.5-coder-3b
code-generation
agentic-ai
tool-use
fine-tuned-llm
stack-4
stack-ai
sovereign-ai
enterprise
local-inference
3b-parameter-model
Eval Results (legacy)
text-generation-inference
Instructions to use my-ai-stack/Stack-4.0-Qwen-3B-Merged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use my-ai-stack/Stack-4.0-Qwen-3B-Merged with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="my-ai-stack/Stack-4.0-Qwen-3B-Merged")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("my-ai-stack/Stack-4.0-Qwen-3B-Merged") model = AutoModelForCausalLM.from_pretrained("my-ai-stack/Stack-4.0-Qwen-3B-Merged", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use my-ai-stack/Stack-4.0-Qwen-3B-Merged with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "my-ai-stack/Stack-4.0-Qwen-3B-Merged" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "my-ai-stack/Stack-4.0-Qwen-3B-Merged", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/my-ai-stack/Stack-4.0-Qwen-3B-Merged
- SGLang
How to use my-ai-stack/Stack-4.0-Qwen-3B-Merged with 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 "my-ai-stack/Stack-4.0-Qwen-3B-Merged" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "my-ai-stack/Stack-4.0-Qwen-3B-Merged", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "my-ai-stack/Stack-4.0-Qwen-3B-Merged" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "my-ai-stack/Stack-4.0-Qwen-3B-Merged", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use my-ai-stack/Stack-4.0-Qwen-3B-Merged with Docker Model Runner:
docker model run hf.co/my-ai-stack/Stack-4.0-Qwen-3B-Merged
Walid Sobhi commited on
Upload benchmark_results.json with huggingface_hub
Browse files- benchmark_results.json +45 -0
benchmark_results.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "my-ai-stack/Stack-4.0-Qwen-3B-Merged",
|
| 3 |
+
"date": "2026-04-26",
|
| 4 |
+
"hardware": "GCP Tesla V100 16GB",
|
| 5 |
+
"training": {
|
| 6 |
+
"final_loss": 0.1411,
|
| 7 |
+
"total_steps": 1000,
|
| 8 |
+
"effective_batch_size": 16,
|
| 9 |
+
"learning_rate": 2e-4,
|
| 10 |
+
"method": "QLoRA",
|
| 11 |
+
"trainable_params": "7.3M / 3.1B (0.24%)",
|
| 12 |
+
"training_time": "~10 hours",
|
| 13 |
+
"cost": "$23 GCP spot instance"
|
| 14 |
+
},
|
| 15 |
+
"benchmarks": {
|
| 16 |
+
"hellaswag": {
|
| 17 |
+
"acc_norm": 0.74,
|
| 18 |
+
"acc": 0.52,
|
| 19 |
+
"n_samples": 50,
|
| 20 |
+
"note": "50-sample eval (lm_eval --limit 50)"
|
| 21 |
+
},
|
| 22 |
+
"arc_challenge": {
|
| 23 |
+
"acc_norm": 0.52,
|
| 24 |
+
"acc": 0.48,
|
| 25 |
+
"n_samples": 50,
|
| 26 |
+
"note": "50-sample eval"
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"comparison_vs_stack3": {
|
| 30 |
+
"hellaswag_acc_norm": {
|
| 31 |
+
"stack_3_0_7b": 0.5961,
|
| 32 |
+
"stack_4_0_3b": 0.74,
|
| 33 |
+
"delta": "+14.4%"
|
| 34 |
+
},
|
| 35 |
+
"arc_challenge_acc_norm": {
|
| 36 |
+
"stack_3_0_7b": 0.8328,
|
| 37 |
+
"stack_4_0_3b": 0.52,
|
| 38 |
+
"note": "3B model expected lower than 7B"
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
"coding_sample": {
|
| 42 |
+
"score": "10/10",
|
| 43 |
+
"note": "Internal sample of 10 coding problems — all produced valid code"
|
| 44 |
+
}
|
| 45 |
+
}
|