refactor: 从data 模块分离tokenizer

This commit is contained in:
2026-04-04 16:12:58 +08:00
parent b531232a9b
commit bd9741dc5f
16 changed files with 108 additions and 92 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import safetensors.torch as st
import torch.nn as nn
from astrai.config.model_config import ModelConfig
from astrai.data.tokenizer import BpeTokenizer
from astrai.tokenizer import BpeTokenizer
from astrai.model.transformer import Transformer