Views
No views yet
<think>-tagged responses,
think_v2 mixture at lr=4e-5) on top of the mid-trained + stage1-SFT Apple
Open LM 3B oracle model with knowledge cutoff May 2013, from the
TiC-LM (Time-Continual Language Modeling) /
Chrononauts project.dogtooth/open-lm-3b-201305 — base oracle pretrain.dogtooth/open-lm-3b-201305-midtrain — mid-train on pre-cutoff
peS2o + Wikipedia + DCLM to consolidate knowledge.dogtooth/open-lm-3b-201305-midtrain-stage1-sft — stage1 SFT
(instruction following) on Dolci.finetuning_type: full, DeepSpeed ZeRO-2).| Property | Value |
|---|---|
| Base model | dogtooth/open-lm-3b-201305-midtrain-stage1-sft |
| Architecture | LLaMA-style with QK norm (OpenLMForCausalLM, custom code) |
| Parameters | ~2.8B |
| Knowledge cutoff | May 2013 |
| Vocab size | 50,432 |
| Context length | 2,048 |
| Stage2 framework | LLaMA-Factory (full FT, DeepSpeed ZeRO-2) |
| Stage2 data | think_v2 reasoning mixture (pre-cutoff prompts) |
| Stage2 LR | 4e-5 |
| Stage2 epochs | 3 (final ckpt-3873) |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "dogtooth/open-lm-3b-201305-midtrain-stage2-think",
6 dtype=torch.bfloat16,
7 device_map="auto",
8 trust_remote_code=True,
9)
10tokenizer = AutoTokenizer.from_pretrained(
11 "dogtooth/open-lm-3b-201305-midtrain-stage2-think", trust_remote_code=True
12)
13
14messages = [{"role": "user", "content": "What is the capital of France?"}]
15prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
16inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
17out = model.generate(**inputs, max_new_tokens=512, do_sample=True, temperature=0.7, top_p=0.9)
18print(tokenizer.decode(out[0][inputs.input_ids.shape[1]:], skip_special_tokens=False))model-*.safetensors, ckpt-3873)checkpoint-3000/, checkpoint-3500/
(HF-format weights only; DeepSpeed optimizer shards omitted)trainer_state.json, trainer_log.jsonl, all_results.json,
train_results.json1@article{jain2024ticlm,
2 title={Time-Continual Learning from a Streaming Language Model},
3 author={Jain, Ameya and Ramesh, Aakanksha and Li, Tianjian and others},
4 journal={arXiv preprint arXiv:2410.14660},
5 year={2024}
6}