n/model-ops
Daftar Masuk

n/model-ops

13 Anggota · 0 Online

Praktik end-to-end untuk deployment model secara privat dan mandiri, pelatihan model, fine-tuning, serta kuantisasi dan kompresi. Bagikan model Anda sendiri atau model yang lebih kuat, beserta stack pendukung, optimasi inferensi, dan pengalaman menghadapi berbagai masalah. Mendekatkan AI kepada semua orang!

Disematkan u/user80
关于“MLOps & 推理”节点

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

0 upvote0 komentar
u/user80 1 bulan lalu
自训练的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 balasan192 tayangan1 bulan lalu u/user80 membalas
2
10 komentar
+2
10 192
1 bulan laluu/user80
u/user80 3 bulan lalu
下载了一点点的数据集,准备搓一个小的模型玩玩(约 270 GB)

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

34 balasan473 tayangan3 bulan lalu u/user80 membalas
2
34 komentar
+10
34 473
3 bulan laluu/user80
u/user80 18 hari lalu
将此前Prochlo-190M-Base的训练套件开源!(仍在整理中)

之前承诺的 发布 我训练的 CyanoAI/Prochlo-190M英语基座LLM - 科技与创作 / MLOps & 推理 - NodeLoc,把CyanoAI/Prochlo-190M-Base · Hugging Face的训练套件开源。 今天在整理后,将其推送至 CyanoAI/cyano-train: Experimental 0.5B language-model training framework and rep…

0 balasan65 tayangan
1
0 komentar
0 65
—
u/user80 1 bulan lalu
基座模型训练完成!

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 balasan125 tayangan1 bulan lalu u/sydney1 membalas
5
2 komentar
2 125
1 bulan laluu/sydney1
u/user80 1 bulan lalu
我觉得对于大模型训练是不应该把政治/社论加入到语料的

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

6 balasan137 tayangan1 bulan lalu u/ApplePitch membalas
2
6 komentar
+1
6 137
1 bulan laluu/ApplePitch
u/user80 1 bulan lalu
发布 我训练的 CyanoAI/Prochlo-190M英语基座LLM

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

3 balasan94 tayangan1 bulan lalu u/user80 membalas
2
3 komentar
3 94
1 bulan laluu/user80
u/user80 3 bulan lalu
总算真正的搞好训练数据了!!!

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

17 balasan359 tayangan3 bulan lalu u/longshengzun membalas
1
17 komentar
+9
17 359
3 bulan laluu/longshengzun
u/user80 2 bulan lalu
准备开训模型了!先整个0.5b!

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

5 balasan168 tayangan2 bulan lalu u/coder1 membalas
0
5 komentar
5 168
2 bulan laluu/coder1
u/user80 1 bulan lalu
续上次开训模型后,目前的进度

在历经一系列长时间的实验,调试后 目前总算是在正式训练了。 当前训练状态(大概开了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 balasan89 tayangan1 bulan lalu u/GFW membalas
0
4 komentar
4 89
1 bulan laluu/GFW
u/user80 2 bulan lalu
额,先拿之前训练的190.5M的模型玩一下

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

2 balasan188 tayangan2 bulan lalu u/xiaoyi669 membalas
2
2 komentar
2 188
2 bulan laluu/xiaoyi669
u/udc2b6nr Iklan
QuicksilverVPN

快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。

umami.dnsl.top Pelajari selengkapnya
u/user80 1 bulan lalu
居然还没有完成啊!

当前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 balasan113 tayangan1 bulan lalu u/heyuxuanyyds1 membalas
0
1 komentar
1 113
1 bulan laluu/heyuxuanyyds1
u/user80 1 bulan lalu
记录一下模型SFT 后、偏好对齐前的情况

============================================================ USER: Explain what a neural network is, in two sentences. MODEL: A neural network is a type of machine learning algorithm that uses a network to learn patterns…

0 balasan54 tayangan
0
0 komentar
0 54
—
u/user80 1 bulan lalu
啊哦。模型训练崩了: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 balasan106 tayangan
1 / 2
啊哦。模型训练崩了:xhj17:, gambar 1 dari 2
1 / 2
0
0 komentar
0 106
—