Downloads · 30 days
0
SamerGMTM22/LiaLeen-Contracts-1
LiaLeen-Contracts-1 is a machine learning model from SamerGMTM22. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Status: Archived artifact. The released RL checkpoint (nanochat d32: 32 layers, dmodel=2048, 16 heads) can collapse into responses when it loses confidence. A fresh recovery run (rerunning base → contract mid → CUAD S…
Downloads · 30 days
0
Access
Public
Updated Dec 2, 2025
Repo size
7.2 GB
Likes
0
Public
Click a slice to open those files.
.bin7.2 GB · 100%
From the Hugging Face model README
Status: Archived artifact. The released RL checkpoint (nanochat d32: 32 layers, d_model=2048, 16 heads) can collapse into #### responses when it loses confidence. A fresh recovery run
(rerunning base → contract mid → CUAD SFT) was attempted on Nov 18 2025 but halted after repeated checkpoint corruption and escalating Lambda GPU costs. The model stays online to document
the journey—not as a production-ready system.
#### regression at runtime.####.model_002000.pt) was corrupted (PytorchStreamReader failed reading zip archive). Midtraining
crashed when it tried to load that file. After burning another ~$100 on 8×H100 time, the run was terminated.--save_every so partial checkpoints survive crashes.model_*.pt via python - <<'PY' ... torch.load(...) before advancing.{base,mid,sft}_checkpoints off the box before shutting down a cloud instance.| Task | Accuracy | Baseline |
|---|---|---|
| ARC-Easy | 25.59 % | 25 % |
| ARC-Challenge | 25.85 % | 25 % |
| MMLU | 24.09 % | 25 % |
| GSM8K | 1.97 % | 0 % (gen) |
| HumanEval | 0.00 % | 0 % |
| SpellingBee | 7.81 % | 0 % |
These scores show the model was always narrow: good for contract-style prompts, baseline elsewhere. After RL it picked up the #### habit.
from nanochat.checkpoint_manager import load_model
from nanochat.engine import Engine
model, tokenizer, _ = load_model("rl", device="cuda", phase="eval")
engine = Engine(model, tokenizer)
# Expect to steer with system prompts or get hashes.
## Creator
- Samer Haddad – built on Andrej Karpathy’s nanochat (https://github.com/karpathy/nanochat)
- Website: http://www.givemethemicofficial.com
- CV: http://www.samerkhaddad.com
## License
MIT – everything here remains free to study, fork, and reuse.
———
Model status: Archived. Use as a reference for nanochat experiments, not as a production legal assistant. The next iteration will restart base → mid → SFT from scratch with strict
checkpoint hygiene.