Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DLLXW/baby-llama2-chinese
/ functions
Functions
108 in github.com/DLLXW/baby-llama2-chinese
⨍
Functions
108
◇
Types & classes
14
Function
save_model_config
将模型配置写入到json文件, 输入模型保存的目录及文件名
data_clean/functions.py:389
Method
save_vocabulary
Save the vocabulary and special tokens file to a directory. Args: save_directory (`str`): The directory
chatglm_tokenizer/tokenization_chatglm.py:130
Method
serialize
(t)
model.py:347
Function
sft_to_pretrain
()
data_process.py:39
Function
shuffle_parquet_dataset
打乱一个parquet文件数据集
data_clean/clear.py:244
Method
unk_token
(self)
chatglm_tokenizer/tokenization_chatglm.py:87
Function
valid_epoch
(epoch)
sft.py:100
Method
warning
(self, message: str, std_out: bool=True, save_to_file: bool=False)
data_clean/logger.py:86
← previous
101–108 of 108, ranked by callers