feat(inference): 添加模型加载和分词器功能

feat(model): 实现 Llama 模型及其解码器层
feat(norm): 添加 RMSNorm 归一化层
feat(rope): 实现 RoPE 位置编码
This commit is contained in:
2026-07-01 10:56:43 +08:00
commit 7e0585421f
33 changed files with 14711 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"_from_model_config": true,
"bos_token_id": 0,
"eos_token_id": [
1,
130073
],
"pad_token_id": 1,
"do_sample": true,
"temperature": 0.9,
"top_p": 0.95,
"transformers_version": "5.6.2"
}