n/model-ops
S'inscrire Se connecter

n/model-ops

13 Membres · 0 En ligne

Pratiques de bout en bout pour le déploiement privé et autogéré de modèles, l’entraînement, le fine-tuning ainsi que la quantification et la compression. Partagez vos propres modèles ou des modèles plus performants, avec leur stack, les optimisations d’inférence et les problèmes rencontrés. Rapprochons l’IA de chacun !

Épinglé u/user80
关于“MLOps & 推理”节点

关于模型私有化自部署,模型训练、微调与量化压缩的全链路实践。分享您自己的模型或者更强的模型与配套的栈、推理优化,踩坑记录。让AI距离个人更近! :ac31:

0 votes positifs0 commentaires
u/user80 il y a 1 mois
自训练的Prochlo-190M-SFT发布!现在模型可以基础的聊天了!

https://huggingface.co/CyanoAI/Prochlo-190M-SFT 较Base版本(CyanoAI/Prochlo-190M-Base) 该模型目前已经可以基础的聊天了 项目 Prochlo-190M-SFT 参数量 约 190M / 0.2B 类型 Dense Causal Language Model 架构 20 层,LLaMA-style 词表 50,261 基础模型 Prochlo-190M-Base…

10 réponses193 vuesu/user80 a répondu il y a 1 mois
2
10 commentaires
+2
10 193
il y a 1 moisu/user80
u/user80 il y a 3 mois
下载了一点点的数据集,准备搓一个小的模型玩玩(约 270 GB)

RT,以下是我下载的数据: 28 个数据集仓库 937 个文件 约 270 GB 主要覆盖文学、公共领域图书、法律、医学、教材和少量专业文本 文件格式包括 Parquet、JSON/JSONL、压缩 JSONL、CSV、TXT,以及 README、数据集说明等仓库元数据 文学与公共领域图书 这是其中最主要的一类,尤其包含多个 Project Gutenberg 衍生语料库: ACOSharma/literature BAAI/Indus…

34 réponses476 vuesu/user80 a répondu il y a 3 mois
2
34 commentaires
+10
34 476
il y a 3 moisu/user80
u/user80 il y a 1 mois
基座模型训练完成!

200M模型现状(当然目前是base model,不是 chat model): checkpoint 已训练到 300000 步(训练目标已完成),不再有 NaN,logits 分布健康。 对 prompt "The capital of France is" 的 top-6 预测是 the / a / Paris / France / in / also,合理。 生成样本质量(temperature 0.85, to…

2 réponses126 vuesu/sydney1 a répondu il y a 1 mois
5
2 commentaires
2 126
il y a 1 moisu/sydney1
u/user80 il y a 1 mois
我觉得对于大模型训练是不应该把政治/社论加入到语料的

rt,你应该会问我为什么突然说这个呢 这是因为,在我翻阅政治的教科书 书籍的时候,很意外的发现了极其大量的诸如“不是…而是…”句式。不过教科书大概率是不应该会出现AIGC的。 那么,就大概率是AI从政治类文本学到的。 这有什么坏处? 显然的,并不是每个人都喜欢ai像社论、大批判文章、政治理论宣讲一样的评价你的作品,或是这样和你交流,就和此前的ChatGPT一样的“不是...而是...” 尤其是在编程类的,此时ai和人应该是不断试错和探索…

6 réponses137 vuesu/ApplePitch a répondu il y a 1 mois
2
6 commentaires
+1
6 137
il y a 1 moisu/ApplePitch
u/user80 il y a 1 mois
发布 我训练的 CyanoAI/Prochlo-190M英语基座LLM

https://huggingface.co/CyanoAI/Prochlo-190M 这是一个0.2B参数 的英语为主的基座模型(原因为,当时忘记添加加中文语料了,下个版本会加上) 也是我首个发布的模型。 模型名来源:原绿球藻(Prochlorococcus)——地球上海洋里数量最多、基因组最精简紧凑,却是贡献了全球相当大比例光合产氧量的高效光合生物。 目前是把基座模型上传至 Hugging Face。 基座模型并太不能聊天,更多的是…

3 réponses94 vuesu/user80 a répondu il y a 1 mois
2
3 commentaires
3 94
il y a 1 moisu/user80
u/user80 il y a 3 mois
总算真正的搞好训练数据了!!!

最终语料库 数据块 13 个常规来源(法律/医疗/文学/多语言等) BAAI 文学 ×5 shard Geralt 中文文学 ×5 shard shibing624 医学 pretrain+finetune nlp-guild / stevez80 科幻 总计 记录数:BAAI 2832 万、Geralt 约 5825 万、shibing624 244 万,其余零头合计——总量约 9000 万条文档级记录,全部带 simhash 去重指…

17 réponses362 vuesu/longshengzun a répondu il y a 3 mois
1
17 commentaires
+9
17 362
il y a 3 moisu/longshengzun
u/user80 il y a 2 mois
准备开训模型了!先整个0.5b!

先准备训练一个0.5b的试试水 ​基础架构:Dense Decoder + Pre-RMSNorm + SwiGLU + RoPE + GQA。 ​引入的新技术: ​Muon 优化器:近期广受关注的二阶矩阵优化器,收敛效率高,且能有效抑制 loss spike 。 ​QK-norm:防止注意力分数数值溢出,提升训练稳定性。 ​WSD 学习率调度 + Annealing:Warmup-Stable-Decay,并在最后 Decay 阶段换…

5 réponses169 vuesu/coder1 a répondu il y a 2 mois
0
5 commentaires
5 169
il y a 2 moisu/coder1
u/user80 il y a 1 mois
续上次开训模型后,目前的进度

在历经一系列长时间的实验,调试后 目前总算是在正式训练了。 当前训练状态(大概开了2个多小时了): 进度:step 1252 / 60000(已过 2%),~1.02 秒/步,聚合 10k tok/s 曲线:train loss 已降到 3.19(ppl 24),统一评测集 4.50 → 3.86(512→1024 步) ETA:60000 步 ≈ 61 小时,无人打断的话大约 9 月 28 日晚上 完成这一轮(实际可能会晚一些) 总目…

4 réponses91 vuesu/GFW a répondu il y a 1 mois
0
4 commentaires
4 91
il y a 1 moisu/GFW
u/user80 il y a 2 mois
额,先拿之前训练的190.5M的模型玩一下

这个是之前清洗数据完成之前的,所以说有乱码 而且 训练量严重不足:checkpoint 只训练了 4,194,304 tokens。对约 190M 参数模型,这只是一次流水线验证。通常至少需要数十亿 token 才能形成基本语言能力。 数据单一且类型不对:现有 train.bin 只来自 belle_train_2m_cn.jsonl 的 229,339 条记录。BELLE 是指令数据,不适合作为基础预训练主料,所以模型反复生成“制定计…

2 réponses189 vuesu/xiaoyi669 a répondu il y a 2 mois
2
2 commentaires
2 189
il y a 2 moisu/xiaoyi669
u/user80 il y a 1 mois
居然还没有完成啊!

当前200M:220,328 / 300,000 步,73.4% 目前运行正常,约5,100 tok/s/卡,剩余约79,700步(~22小时)。 chain 状态 stage=200M running —— 到FINAL则会自动启动0.5B续训。 200M 训练:剩约 79,700 步,目前 ~1.0秒/步(含64步一次的同步),约 22 小时 → 明晚(10/1)下午3点左右跑完,然后自动接力 0.5B。 tokenize (3天已…

1 réponses115 vuesu/heyuxuanyyds1 a répondu il y a 1 mois
0
1 commentaires
1 115
il y a 1 moisu/heyuxuanyyds1
u/user80 il y a 1 mois
啊哦。模型训练崩了:xhj17:

一点也不好玩 SFT1 跑完了但效果很差:12000 步、eval loss 从 2.37 降到 2.18(loss 看着在降),可是实际能力评估 26 项只过 10 项,通过率 38.5%。 三类典型失败: 重复退化,最严重。模型会陷入循环,比如 H3 输出 "I'm glad you're here. I'm glad you're here. I'm glad you're …

0 réponses108 vues
1 / 2
啊哦。模型训练崩了:xhj17:, image 1 sur 2
1 / 2
0
0 commentaires
0 108
—

Vous êtes arrivé à la fin · 15 sujets