AutoLearn 101M Chat
A 101-million-parameter chat model trained from scratch on free Kaggle GPUs (2× NVIDIA T4): tokenizer, pretraining and chat fine-tuning, with no borrowed weights. Part of AutoLearn API, an OpenAI-compatible AI platform built end to end.
Try it in your browser: AutoLearn Chat (runs on your device, no server).
Model
| Architecture | Llama-style decoder: RMSNorm, rotary position embeddings, grouped-query attention, SwiGLU, tied embeddings |
| Size | 100.7M parameters: 12 layers, hidden 768, 12 attention heads / 4 key-value heads, FFN 2048 |
| Tokenizer | Byte-level BPE, 32,768 tokens, trained on the pretraining corpus |
| Context | 1,024 tokens (chat-tuned on conversations up to 512) |
A smaller sibling trained entirely on a MacBook: AutoLearn 40M Chat.
Training
| Stage | Data | Compute | Result |
|---|---|---|---|
| Pretraining | 4.0B tokens of FineWeb-Edu (30,518 steps × 131,072 tokens) | 2× T4 on Kaggle, ~45 GPU-hours over 12 resumable sessions | validation loss 3.10 |
| Chat fine-tuning | 200,000 conversations from SmolTalk, loss on assistant turns only | 2× T4, 2.1 hours (1,600 steps) | validation loss 1.24 |
Training code: autolearn/llm/train.py
(the model itself is autolearn/llm/model.py).
These weights were converted losslessly to the Hugging Face Llama format with
scripts/export_hf.py.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "Likhith003/autolearn-101m-chat"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)
ids = tok.apply_chat_template([{"role": "user", "content": "What is the capital of France?"}],
add_generation_prompt=True, return_tensors="pt")
out = model.generate(ids, max_new_tokens=100)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True)) # The capital of France is Paris.
In the browser with transformers.js (int8 ONNX, 127 MB):
import { pipeline } from "@huggingface/transformers";
const chat = await pipeline("text-generation", "Likhith003/autolearn-101m-chat", { dtype: "q8" });
const out = await chat([{ role: "user", content: "Write a haiku about the sea." }], { max_new_tokens: 80 });
Limitations
This is a small research model. It writes fluent English but often states things that are false, loses track of longer conversations, and has had no safety tuning beyond what is in SmolTalk. Don't use it for anything that matters.
License
Weights: Apache 2.0. Training data: FineWeb-Edu (ODC-By 1.0) and SmolTalk (Apache 2.0).