Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
BLOOM_oneflow
Commits
a5b4fc8a
Commit
a5b4fc8a
authored
May 06, 2025
by
chenzk
Browse files
Update sf.md
parent
2cb3099b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-4
No files found.
README.md
View file @
a5b4fc8a
...
...
@@ -9,11 +9,11 @@
## 模型结构
Bloom是一个开源的支持最多59种语言和176B参数的大语言模型。它是在Megatron-LM GPT2的基础上修改训练出来的,主要使用了解码器唯一结构,对词嵌入层的归一化,使用GeLU激活函数的线性偏差注意力位置编码等技术。它的训练集包含了45种自然语言和12种编程语言,1.5TB的预处理文本转化为了350B的唯一token。bigscience在hugging face上发布的bloom模型包含多个参数多个版本。
<img
src=
"http://developer.
hpccube.com
/codes/modelzoo/bloom_oneflow/-/raw/main/bloom%E6%A8%A1%E5%9E%8B%E7%BB%93%E6%9E%84.png"
alt=
"bloom模型结构.png"
style=
"zoom:50%;"
/>
<img
src=
"http://developer.
sourcefind.cn
/codes/modelzoo/bloom_oneflow/-/raw/main/bloom%E6%A8%A1%E5%9E%8B%E7%BB%93%E6%9E%84.png"
alt=
"bloom模型结构.png"
style=
"zoom:50%;"
/>
## 算法原理
<img
src=
"http://developer.
hpccube.com
/codes/modelzoo/bloom_oneflow/-/raw/main/bloom%E7%AE%97%E6%B3%95%E5%8E%9F%E7%90%86.png"
alt=
"bloom算法原理.png"
style=
"zoom:50%;"
/>
<img
src=
"http://developer.
sourcefind.cn
/codes/modelzoo/bloom_oneflow/-/raw/main/bloom%E7%AE%97%E6%B3%95%E5%8E%9F%E7%90%86.png"
alt=
"bloom算法原理.png"
style=
"zoom:50%;"
/>
当模型规模过于庞大,单个 GPU 设备无法容纳大规模模型参数时,便捷好用的分布式训练和推理需求就相继出现,业内也随之推出相应的工具。
...
...
@@ -62,7 +62,7 @@ class Linear1D(nn.Module):
### Docker
提供
[
光源
](
https://www.sourcefind.cn/#/service-details
)
拉取的训练以及推理的docker镜像:image.sourcefind.cn:5000/dcu/admin/base/oneflow:0.9.1-centos7.6-dtk-22.10.1-py39-latest,关于本项目DCU显卡所需torch库等均可从
[
光合
](
https://developer.
hpccube.com
/tool/
)
开发者社区下载安装
提供
[
光源
](
https://www.sourcefind.cn/#/service-details
)
拉取的训练以及推理的docker镜像:image.sourcefind.cn:5000/dcu/admin/base/oneflow:0.9.1-centos7.6-dtk-22.10.1-py39-latest,关于本项目DCU显卡所需torch库等均可从
[
光合
](
https://developer.
sourcefind.cn
/tool/
)
开发者社区下载安装
docker pull image.sourcefind.cn:5000/dcu/admin/base/oneflow:0.9.1-centos7.6-dtk-22.10.1-py39-latest
# <Your Image ID>用上面拉取docker镜像的ID替换
...
...
@@ -173,7 +173,7 @@ How to improve sleep quality? keep your bedroom dark and quiet. Avoid electronic
## 源码仓库及问题反馈
-
https://developer.
hpccube.com
/codes/modelzoo/bloom_oneflow
-
https://developer.
sourcefind.cn
/codes/modelzoo/bloom_oneflow
## 参考
*
https://github.com/Oneflow-Inc/libai
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment