TFree-HAT:六个版本的架构、训练与用途
比较从零训练的 7B 分支和 Llama 3.1 适配分支,介绍字节级编码、词级上下文与许可条件。
更新于:
TFree-HAT 将字节编码器、词级 Transformer 和字节解码器连接起来,用 Unicode 边界处理文本,摆脱预先学习的子词词表。系列包含从零训练的 7B,以及基于 Llama 3.1 骨干适配的 8B、70B。
- 70B SFT — 参数量: 69,302,847,488; 词级窗口: 12,288; 字节窗口: 98,304; MMLU: 0.773; 德语 MMMLU: 0.715
- 8B Base — 参数量: 7,192,495,104; 词级窗口: 32,900; 字节窗口: 262,144; MMLU: 0.657; 德语 MMMLU: 0.591
- 8B DPO — 参数量: 7,192,495,104; 词级窗口: 32,768; 字节窗口: 262,144; MMLU: 0.657; 德语 MMMLU: 0.598
- 8B SFT — 参数量: 7,192,495,104; 词级窗口: 32,768; 字节窗口: 262,144; MMLU: 0.655; 德语 MMMLU: 0.595
- 7B DPO — 参数量: 7,192,507,136; 词级窗口: 20,480; 字节窗口: 163,840; MMLU: 0.654; 德语 MMMLU: 0.610
- 7B Base — 参数量: 7,192,507,136; 词级窗口: 32,900; 字节窗口: 262,144; MMLU: 0.664; 德语 MMMLU: 0.618
表中成绩来自作者的 5-shot 测试。7B DPO 的 MMLU 使用 log_acc,其余 MMLU 与全部 MMMLU 使用 norm_log_acc。词级位置表示长短不一的文本片段,与 BPE tokens 采用不同单位。
从零训练的 7B 在接近 4 万亿 words 上预训练,再用 105 亿 words 扩展上下文。Base 适合继续训练,DPO 增加指令与偏好优化。项目另提供 200 个短窗口训练检查点。
8B 分支先适配 1,340 亿 words;长上下文阶段的模型卡写 840 亿,技术报告写 200 亿。70B 先适配 1,080 亿 words,再处理 102 亿 words 扩展上下文,并提供 SFT 版。
后训练使用 Qwen、Mistral 的合成回答、Llama 3.3 的质量筛选及人工数据。
公开权重采用 Open Aleph License 1.0,限定非商业、非行政用途,学校与公共研究机构的特定教学、学习及研究有例外。分发需保留许可与版权说明;衍生作品还涉及修改声明、对应源码和同许可要求。Llama 派生材料还适用 Meta Community License 的署名、NOTICE、使用政策与特定大规模用户条件。官方提供 Transformers 自定义实现与 vLLM 分支,运行使用配套 HAT 组件。
原始来源
- TFree-HAT family technical reportarxiv.org
- HAT original architecture paperarxiv.org
- TFree-HAT 7B official announcementaleph-alpha.com
- Open Aleph License 1.0 official complete textgithub.com
- Meta Llama 3.1 Community Licensegithub.com
- Meta Llama 3.1 Acceptable Use Policygithub.com
- Meta Llama 3.3 Community Licensegithub.com
- Meta Llama 3.3 Acceptable Use Policygithub.com
- TFree-HAT-Pretrained-7B-Base model cardhuggingface.co
- TFree-HAT-Pretrained-7B-Base architecture configurationhuggingface.co
- TFree-HAT-Pretrained-7B-Base repository and parameter metadatahuggingface.co
- TFree-HAT-Pretrained-7B-Base repository commit historyhuggingface.co
- TFree-HAT-Pretrained-7B-Base repository license noticehuggingface.co
- Llama-TFree-HAT-Pretrained-7B-DPO model cardhuggingface.co
- Llama-TFree-HAT-Pretrained-7B-DPO architecture configurationhuggingface.co
- Llama-TFree-HAT-Pretrained-7B-DPO repository and parameter metadatahuggingface.co
- Llama-TFree-HAT-Pretrained-7B-DPO repository commit historyhuggingface.co
- Llama-TFree-HAT-Pretrained-7B-DPO repository license noticehuggingface.co
- Llama-3.1-8B-TFree-HAT-Base model cardhuggingface.co
- Llama-3.1-8B-TFree-HAT-Base architecture configurationhuggingface.co
- Llama-3.1-8B-TFree-HAT-Base repository and parameter metadatahuggingface.co
- Llama-3.1-8B-TFree-HAT-Base repository commit historyhuggingface.co
- Llama-3.1-8B-TFree-HAT-Base repository license noticehuggingface.co
- Llama-3.1-8B-TFree-HAT-SFT model cardhuggingface.co
- Llama-3.1-8B-TFree-HAT-SFT architecture configurationhuggingface.co
- Llama-3.1-8B-TFree-HAT-SFT repository and parameter metadatahuggingface.co
- Llama-3.1-8B-TFree-HAT-SFT repository commit historyhuggingface.co
- Llama-3.1-8B-TFree-HAT-SFT repository license noticehuggingface.co
- Llama-3.1-8B-TFree-HAT-DPO model cardhuggingface.co
- Llama-3.1-8B-TFree-HAT-DPO architecture configurationhuggingface.co
- Llama-3.1-8B-TFree-HAT-DPO repository and parameter metadatahuggingface.co
- Llama-3.1-8B-TFree-HAT-DPO repository commit historyhuggingface.co
- Llama-3.1-8B-TFree-HAT-DPO repository license noticehuggingface.co
- Llama-3.1-70B-TFree-HAT-SFT model cardhuggingface.co
- Llama-3.1-70B-TFree-HAT-SFT architecture configurationhuggingface.co
- Llama-3.1-70B-TFree-HAT-SFT repository and parameter metadatahuggingface.co
- Llama-3.1-70B-TFree-HAT-SFT repository commit historyhuggingface.co
- Llama-3.1-70B-TFree-HAT-SFT repository license noticehuggingface.co
