Views
No views yet
talkie-lm/talkie-1930-13b-base. The original release ships as a raw torch checkpoint (final.ckpt) plus a tiktoken vocab (vocab.txt), with no config.json, tokenizer.json, or HF modeling code, so it can't be loaded by transformers or served by vLLM out of the box.talkie-1930-13b-base is a 13B parameter base (completion) language model from the talkie-lm project, pretrained on ~260B tokens of pre-1931 English text. This is the base model — it is not instruction-tuned and has no chat template; prompt it with raw text and let it continue.| File | What it is |
|---|---|
model.safetensors | bf16 weights, ~26 GB. lm_head_gain (a learned scalar) is pre-multiplied into lm_head.weight so vLLM's transformers backend doesn't need to know about it. |
config.json | TalkieConfig (vocab=65536, hidden=5120, 40 layers × 40 heads, head_dim=128, ctx=4096, RoPE θ=1e6) plus auto_map for AutoConfig/AutoModel/AutoModelForCausalLM. |
tokenizer.json, tokenizer_config.json | HF fast BPE built from the original vocab.txt (ranks < 65535) with `< |
generation_config.json | eos_token_id=65535, pad_token_id=65535. |
modeling_talkie.py, configuration_talkie.py | HF PreTrainedModel implementation with ALL_ATTENTION_FUNCTIONS dispatch (vLLM transformers-backend compatible). |
vocab_size (65536 vs 65540), the absence of the 4 chat special tokens, and no chat template.1vllm serve agaralon/talkie-1930-13b-base-vllm \
2 --model-impl transformers \
3 --trust-remote-code \
4 --dtype bfloat16 \
5 --max-model-len 4096/v1/completions, not chat):1curl http://localhost:8000/v1/completions \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "agaralon/talkie-1930-13b-base-vllm",
5 "prompt": "In the year 1925, the great city of London",
6 "temperature": 0.8,
7 "max_tokens": 120
8 }'temperature ≥ 0.5 — greedy decoding (temperature=0) can collapse into single-token loops on this architecture.1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4tok = AutoTokenizer.from_pretrained("agaralon/talkie-1930-13b-base-vllm", trust_remote_code=True)
5m = AutoModelForCausalLM.from_pretrained(
6 "agaralon/talkie-1930-13b-base-vllm", trust_remote_code=True, dtype=torch.bfloat16,
7).cuda().eval()
8
9ids = tok(["In the year 1925, the great city of London"], return_tensors="pt").to("cuda")
10out = m.generate(**ids, max_new_tokens=120, do_sample=True, temperature=0.8, top_p=0.9,
11 pad_token_id=tok.pad_token_id, eos_token_id=tok.eos_token_id)
12print(tok.decode(out[0, ids.input_ids.shape[1]:], skip_special_tokens=True))final.ckpt from talkie-lm/talkie-1930-13b-base, with lm_head_gain.w_g baked into lm_head.weight and cast to bf16.vocab.txt from the same release (ranks < 65535, then <|endoftext|> at id 65535).awilliamson/talkie-1930-13b-it-vllm.talkie-lm/talkie-1930-13b-base release.