Downloads · 30 days
0
safffrron/25M2111-Week02-Track2-20-Submission01
25M2111-Week02-Track2-20-Submission01 is a text generation model from safffrron. Use it when you need the model to write or continue text. It is set up for transformers.
This is the complete evaluation and reproduction package for enrollment 25M2111. It contains a losslessly packed W3/W4/W8 base plus a physically charged rank-8 grouped-JSD residual.
Downloads · 30 days
0
Access
Public
Updated Aug 21, 2026
Repo size
1.7 GB
Likes
0
Public
Click a slice to open those files.
.ptz1.6 GB · 98%
From the Hugging Face model README
This is the complete evaluation and reproduction package for enrollment
25M2111. It contains a losslessly packed W3/W4/W8 base plus a physically
charged rank-8 grouped-JSD residual.
| Item | Value |
|---|---|
| Base model | Qwen/Qwen3.5-4B |
| Base artifact | week02_20_base.ptz |
| Retained vocabulary | week02_20_keep_ids.json (30,000 output IDs) |
| Residual | adapter/ (rank 8, 400 tensors) |
| Exact charged size | 1,657,231,034 bytes |
| 20% ceiling margin | 25,168,966 bytes |
| Base SHA256 | 2b63ba3af765f54baf78536c0b46b4a8ccf9f6ac2b294001b7653e9069410091 |
| Week-2 matched checkpoint | 0.871 accuracy on 560 problems |
| GitHub | https://github.com/safffrron/CS6013/tree/main/25M2111/Week02/Track2_20/Submission01 |
| Hugging Face | https://huggingface.co/safffrron/25M2111-Week02-Track2-20-Submission01 |
Run these commands from this Submission01 directory. A Conda environment
name is not assumed.
python -m venv .venv
source .venv/bin/activate
python -m pip install -e '.[eval]'
hf download safffrron/25M2111-Week02-Track2-20-Submission01 \
--local-dir hf_checkpoint
sha256sum hf_checkpoint/week02_20_base.ptz
EAIMATH_RESTORE_DEVICE=cuda:0 python dequantize_to_bf16.py \
Qwen/Qwen3.5-4B hf_checkpoint restored_hf
python inference/smoke.py restored_hf
./evaluation/run_public_eval.sh \
restored_hf 0 restored_hf/keep_ids.json
The digest must match the table. The dequantizer restores the token-predicted
BF16 base, safely merges the submitted adapter, and writes an ordinary
Hugging Face checkpoint. The evaluation defaults to max_new_tokens=65536
and repetition penalty 1.20; its artifact evidence used 32,768 tokens.
code.py provides:
convert_from_hf_checkpoint(model_name, output_path, sparsity=None)convert_to_hf_checkpoint(model_name, checkpoint_path, output_path)The optional sparsity value exists only for starter-code compatibility and is
ignored: this submission does not use pruning. checkpoint_path may be the
download directory or its week02_20_base.ptz file. Missing companion files
are fetched automatically from the submission's Hugging Face repository.
The optional full rebuild uses the verified trace corpus and a GPU. First run
training/reproduce_source.sh, then compression/reproduce_gptq.sh, then
training/reproduce_adapter.sh. Point the three EAIMATH_* variables printed
by those scripts at the resulting GPTQ source, trace corpus, and JSD adapter,
then run:
python -m pip install -e '.[compress,eval]'
python convert_from_hf_checkpoint.py Qwen/Qwen3.5-4B reproduced_week02_20
The method uses group-128 calibrated GPTQ (3-bit MLP, 4-bit Gated DeltaNet,
8-bit full attention), 30,000 selected 8-bit tied vocabulary rows, deterministic
token-string prediction for omitted input rows, and a rank-8 residual trained
after quantization against grouped Jensen–Shannon teacher distributions.
Machine-readable settings and matched results are in configs/ and results/.
This is byte-for-byte the corresponding Track 1 representation. CUDA_ACCELERATION.md explains how its physical operators map to packed CUDA execution and clearly separates that realizability argument from the submitted BF16-compatible evaluation path.