CoolFace
Modelpublic

Doctor-Shotgun/TinyLlama-1.1B-32k

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
30likes93downloads
Model Card

TinyLlama-1.1B-32k

32k context finetune of TinyLlama-1.1B using increased rope theta (rope frequency base) meant to serve as a long-context speculative decoding model.

Created using TinyLlama-1.1B and further pretraining at 32768 context length on togethercomputer/RedPajama-Data-1T-Sample.

Of note, the base checkpoint used was from commit "final model" fad4f1a5cd0563ac41349b8fec2e6e51156568a0 which was subsequently reverted, and not the current main branch 3T checkpoint of TinyLlama-1.1B.

EXL2 Quants by turboderp

The quantized model fits alongside a 4.25bpw 70B model at 32k sequence length on a single A6000 and provides noticeable speed-up with speculative decoding.

Wikitext (wikitext-2-raw-v1_train) Perplexity (64 rows) as evaluated via exllamav2:

Model2048409681921638432768
TinyLlama-1.1B8.5633208.3586863.75071600.50216981.9021
TinyLlama-1.1B-32k8.65487.83397.49047.36747.1338

Evaluation on HumanEval by turboderp:

ModelPass@1Pass@10
TinyLlama-1.1B0.08410.1524
TinyLlama-1.1B (NTK alpha=7.7)0.05980.1098
TinyLlama-1.1B-32k-ckpt-5540.07320.1402
TinyLlama-1.1B-32k0.08290.1524