Skip to content

v1.0.0 — London (1800–1875)

Choose a tag to compare

@haykgrigo3 haykgrigo3 released this 14 Aug 22:05
· 70 commits to main since this release
4a50a9e

TimeCapsuleLLM v1.0.0 — London (1800–1875)

Weights & tokenizer hosted on Hugging Face:
➡️ https://huggingface.co/haykgrigorian/TimeCapsuleLLM/tree/main/V1

What's new

  • Expanded London (1800–1875) dataset with improved OCR cleaning vs v0.5
  • More stable long form outputs
  • Default generation settings included (generation_config.json)

Load the model

from transformers import AutoTokenizer, AutoModelForCausalLM

model_id = "haykgrigorian/TimeCapsuleLLM"
revision = "V1"
tok = AutoTokenizer.from_pretrained(model_id, revision=revision)
model = AutoModelForCausalLM.from_pretrained(model_id, revision=revision, torch_dtype="auto", device_map="auto")

prompt = "In the year of our Lord 1834,  "
out = model.generate(**tok(prompt, return_tensors="pt").to(model.device), max_new_tokens=200)
print(tok.decode(out[0], skip_special_tokens=True))

Verify weights

SHA256 checksums for the main weight files:

9a9bb1e4869c1ad7a2c9be7ec5816144190003b14b9834779f857a0a2754fd28  model-00001-of-00002.safetensors
c90ff88cd6361fe3d69dce0352e49db764d932fe651294bb077f30d9d40c837b  model-00002-of-00002.safetensors