Text Generation
Transformers
Safetensors
English
qwen3
littlelearner
unbounded
base
text-generation-inference
Instructions to use littlelearner/unfiltered-5b-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use littlelearner/unfiltered-5b-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="littlelearner/unfiltered-5b-base")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("littlelearner/unfiltered-5b-base") model = AutoModelForCausalLM.from_pretrained("littlelearner/unfiltered-5b-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use littlelearner/unfiltered-5b-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "littlelearner/unfiltered-5b-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "littlelearner/unfiltered-5b-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/littlelearner/unfiltered-5b-base
- SGLang
How to use littlelearner/unfiltered-5b-base 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 "littlelearner/unfiltered-5b-base" \ --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": "littlelearner/unfiltered-5b-base", "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 "littlelearner/unfiltered-5b-base" \ --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": "littlelearner/unfiltered-5b-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use littlelearner/unfiltered-5b-base with Docker Model Runner:
docker model run hf.co/littlelearner/unfiltered-5b-base
File size: 1,742 Bytes
bb38700 98b2c94 bb38700 5a4b4c6 bb38700 | 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 | ---
license: other
language:
- en
library_name: transformers
pipeline_tag: text-generation
tags:
- qwen3
- text-generation
- littlelearner
- unbounded
- base
---
# unfiltered-5b-base
5B unbounded base model (pretraining only). The 5B control for the K-5 boundary study.
Part of the [**LittleLearner**](https://arxiv.org/abs/2608.13545) scale-up study (*pedagogically-controlled knowledge exposure*): Qwen3 dense LMs trained on a corpus filtered to U.S. K-5 material (**bounded**) vs an unfiltered FineWeb-Edu corpus (**unbounded**), to measure what an interpretable knowledge boundary costs and grants.
## Model
- **Architecture:** Qwen3 dense (`Qwen3ForCausalLM`).
- **Size:** 5.04B params, hidden 3072, 44 layers, 24 query / 8 KV heads, FFN 9216. **Context:** 4096.
- **Tokenizer:** custom 64k byte-level BPE with per-digit splitting (ChatML special tokens).
- **Pretraining:** 88B tokens on **unfiltered** FineWeb-Edu (score >= 2, no grade filter). WSD schedule, sharded Muon, MXFP8, Megatron-Core on 8xB200.
## Evaluation
- BPB on K-5-domain eval text: **0.644** (vs the bounded 5B's 0.536; the unbounded model is broader).
## Usage
```python
# transformers (completion)
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "manueldeprada/littlelearner-5b-unbounded-base"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="cuda")
ids = tok("The sum of 2 and 3 is", return_tensors="pt").to(model.device)
print(tok.decode(model.generate(**ids)[0], skip_special_tokens=True))
```
```python
# vLLM
from vllm import LLM
llm = LLM("manueldeprada/littlelearner-5b-unbounded-base")
print(llm.generate(["The sum of 2 and 3 is"])[0].outputs[0].text)
```
|