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
Download README.md from WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K: direct link, hf CLI and curl.
- Browser
- Download file 2.38 kB
-
https://huggingface.co/WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K/resolve/main/README.md
- Command line
-
hf download hf://WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K/README.md
-
curl -L -o README.md https://huggingface.co/WithinUsAI/WIUAI.Mini.Coder.DeepReasoning.4K/resolve/main/README.md
license: other
language:
- en
pipeline_tag: text-generation
library_name: transformers
base_model:
- WithinUsAI/WIUAI.Mini.Coder.Traces
- WithinUsAI/WIUAI.Mini.Coder.ToolCalling
- WithinUsAI/WIUAI.Mini.Coder
datasets:
- HuggingFaceFW/fineweb-edu
- nvidia/Nemotron-Pretraining-Code-v1
- bigcode/starcoderdata
- nvidia/Nemotron-CC-Math-v1
- HuggingFaceFW/finewiki
- open-web-math/open-web-math
- nvidia/Nemotron-Pretraining-SFT-v1
- nvidia/OpenCodeInstruct
- nvidia/OpenMathInstruct-2
- NousResearch/hermes-function-calling-v1
- greghavens/fable-5-coding-and-debugging-traces
- greghavens/gpt-5.6-sol-coding-and-debugging-traces
- greghavens/glm-5.2-coding-and-debugging-traces
- xtools-at/Claude-Haiku-5.5-High-Reasoning-TraceInversion-3000x
- xtools-at/ChatGPT-6.1-Terra-High-Reasoning-TraceInversion-80x
tags:
- code
- reasoning
- function-calling
- llama
- from-scratch
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)