Text Generation
Transformers
Safetensors
English
qwen3
littlelearner
unbounded
base
text-generation-inference
Instructions to use littlelearner/unfiltered-0.6b-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use littlelearner/unfiltered-0.6b-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="littlelearner/unfiltered-0.6b-base")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("littlelearner/unfiltered-0.6b-base") model = AutoModelForCausalLM.from_pretrained("littlelearner/unfiltered-0.6b-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use littlelearner/unfiltered-0.6b-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "littlelearner/unfiltered-0.6b-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-0.6b-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/littlelearner/unfiltered-0.6b-base
- SGLang
How to use littlelearner/unfiltered-0.6b-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-0.6b-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-0.6b-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-0.6b-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-0.6b-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use littlelearner/unfiltered-0.6b-base with Docker Model Runner:
docker model run hf.co/littlelearner/unfiltered-0.6b-base
Update model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- qwen3
|
| 9 |
+
- text-generation
|
| 10 |
+
- littlelearner
|
| 11 |
+
- unbounded
|
| 12 |
+
- base
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# littlelearner-0.6b-unbounded-base
|
| 16 |
+
|
| 17 |
+
0.617B unbounded base model (pretraining only). The 0.6B control for the K-5 boundary study.
|
| 18 |
+
|
| 19 |
+
Part of the **LittleLearner** 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.
|
| 20 |
+
|
| 21 |
+
## Model
|
| 22 |
+
- **Architecture:** Qwen3 dense (`Qwen3ForCausalLM`).
|
| 23 |
+
- **Size:** 0.617B params, hidden 1536, 20 layers, 12 query / 6 KV heads, FFN 4096. **Context:** 4096.
|
| 24 |
+
- **Tokenizer:** custom 64k byte-level BPE with per-digit splitting (ChatML special tokens).
|
| 25 |
+
- **Pretraining:** 88B tokens on **unfiltered** FineWeb-Edu (score >= 2, no grade filter). WSD schedule, sharded Muon, MXFP8, Megatron-Core on 8xB200.
|
| 26 |
+
|
| 27 |
+
## Evaluation
|
| 28 |
+
- BPB on K-5-domain eval text: **0.712** (vs the bounded 0.6B's 0.622; the unbounded model is broader).
|
| 29 |
+
|
| 30 |
+
## Usage
|
| 31 |
+
```python
|
| 32 |
+
# transformers (completion)
|
| 33 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 34 |
+
repo = "manueldeprada/littlelearner-0.6b-unbounded-base"
|
| 35 |
+
tok = AutoTokenizer.from_pretrained(repo)
|
| 36 |
+
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="cuda")
|
| 37 |
+
ids = tok("The sum of 2 and 3 is", return_tensors="pt").to(model.device)
|
| 38 |
+
print(tok.decode(model.generate(**ids)[0], skip_special_tokens=True))
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
# vLLM
|
| 43 |
+
from vllm import LLM
|
| 44 |
+
llm = LLM("manueldeprada/littlelearner-0.6b-unbounded-base")
|
| 45 |
+
print(llm.generate(["The sum of 2 and 3 is"])[0].outputs[0].text)
|
| 46 |
+
```
|