Text Generation
Transformers
Safetensors
English
llama
code
reasoning
function-calling
from-scratch
text-generation-inference
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
File size: 2,378 Bytes
d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f d400bc0 325150f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | ---
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,152` vocab)
This model is the cumulative result of a four-stage progressive specialization starting from a from-scratch 303M code model.
---
## Model Tree Summary
```text
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)
|