Instructions to use WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K") model = AutoModelForCausalLM.from_pretrained("WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K
- SGLang
How to use WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K 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 "WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K" \ --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": "WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K", "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 "WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K" \ --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": "WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K with Docker Model Runner:
docker model run hf.co/WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K")
model = AutoModelForCausalLM.from_pretrained("WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K", device_map="auto")WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K
Final model card consolidating the full fine-tuning lineage.
Model Overview
WIUAI.Mini.Coder.DeepReasoning.4K is the newest checkpoint in the WIUAI Mini Coder series. It is a full-parameter fine-tune of WithinUsAI/WIUAI.Mini.Coder.Traces that extends context to 4K tokens and specializes the model for deeper multi-step reasoning on coding and general problem-solving tasks.
- Organization: WithinUsAI (WithIn Us AI)
- Base of this stage:
WithinUsAI/WIUAI.Mini.Coder.Traces - Architecture:
LlamaForCausalLM(LLaMA-style causal decoder) - Parameters: ~302–303M (302,027,520 exact)
- Context Length: 4,096 tokens (extended from 1,024 via linear RoPE scaling, factor
4.0) - Training Method: Full-parameter fine-tuning
- Precision: FP16
- License: Other (inherits from upstream lineage; check individual dataset and model licenses)
- Tokenizer: BigCode StarCoder (
49,152vocab)
This model is the cumulative result of a four-stage progressive specialization starting from a from-scratch 303M code model.
Model Tree Summary
WithinUsAI/WIUAI.Mini.Coder (from-scratch, 4-stage curriculum)
└── WithinUsAI/WIUAI.Mini.Coder.ToolCalling (Hermes function-calling)
└── WithinUsAI/WIUAI.Mini.Coder.Traces (coding/debugging agent traces)
└── WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K (deep reasoning + 4K context)
- Downloads last month
- 65
Model tree for WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K
Base model
WithinUsAI/WIUAI.Mini.Coder
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K")