An elegent pytorch implement of transformers
MIT License
Bot releases are visible (Hide)
Published by Tongjilibo 24 days ago
【新功能】增加deepseek系列、MiniCPM、MiniCPMV、llama3.2、Qwen2.5;支持device_map=auto
【修复】修复batch_generate和n>1的bug
bert4torch-llm-server
Published by Tongjilibo 3 months ago
Published by Tongjilibo 4 months ago
Published by Tongjilibo 6 months ago
Published by Tongjilibo 7 months ago
Published by Tongjilibo 8 months ago
Published by Tongjilibo 9 months ago
save_pretrained
用于保存文件夹Published by Tongjilibo 9 months ago
save_pretrained
用于保存transformer
格式的权重,embedding
模型Published by Tongjilibo 10 months ago
training
时候不生成past_key_values
streamlit
的examplemax
时的bugbatch_generate
合并到generate
generation
的默认参数名(兼容过去的参数名)past_key_values
attention
中的mask
补齐逻辑移到apply_embedding
中uie
的pipeline
PtuningV2Trainer
Published by Tongjilibo 10 months ago
Published by Tongjilibo 10 months ago
在chat
中增加常见chat模型, 简化大模型调用的代码逻辑
Published by Tongjilibo 10 months ago
Published by Tongjilibo 11 months ago
Published by Tongjilibo 11 months ago
Published by Tongjilibo 11 months ago
Published by Tongjilibo 11 months ago
支持chatglm 32k的rope_ratio,config中可以指定mapping, 增加m3e和bge
Published by Tongjilibo 12 months ago
build_transformer_model
中配置到config
中Published by Tongjilibo almost 1 year ago
增加falcon,layernorm支持torch自带,进度条显示已消耗时间
Published by Tongjilibo about 1 year ago