Views
No views yet
finetuning_type: full, DeepSpeed ZeRO-2, 3 epochs).| Property | Value |
|---|---|
| Base model | dogtooth/open-lm-3b-201901 |
| Architecture | LLaMA-style with QK norm (OpenLMForCausalLM, custom code) |
| Parameters | ~2.8B |
| Knowledge cutoff | January 2019 |
| Vocab size | 50,432 |
| Context length | 2,048 |
| SFT framework | LLaMA-Factory (full FT, DeepSpeed ZeRO-2) |
| Chat template | `Human: {prompt}< |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "dogtooth/open-lm-3b-201901-stage1-sft",
6 dtype=torch.bfloat16,
7 device_map="auto",
8 trust_remote_code=True,
9)
10tokenizer = AutoTokenizer.from_pretrained(
11 "dogtooth/open-lm-3b-201901-stage1-sft", trust_remote_code=True
12)
13
14prompt = "Human: What is the capital of France?<|endoftext|>\nAssistant:"
15inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
16out = model.generate(**inputs, max_new_tokens=200, do_sample=False)
17print(tokenizer.decode(out[0][inputs.input_ids.shape[1]:], skip_special_tokens=False))model-*.safetensors)checkpoint-1000/, checkpoint-2000/, checkpoint-2346/
(DeepSpeed optimizer shards global_step*/ were omitted to keep upload size manageable;
only HF-format weights + tokenizer + config are included per checkpoint)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}