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
starcoder2_pytorch
Commits
768d526a
Commit
768d526a
authored
Jun 12, 2024
by
dengjb
Browse files
Update README.md
parent
12a073cb
Pipeline
#1191
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
README.md
+2
-0
No files found.
README.md
View file @
768d526a
...
...
@@ -8,12 +8,14 @@ StarCoder2的模型结构主要基于StarCoderBase模型架构进行了微小的
<div
align=
center
>
<img
src=
"./asserts/model_architecture.png"
/>
</div>
## 算法原理
使用GQA模块能够带来更好的速度,使用GQA的head数量不同则会带来速度和性能平衡转换
<br>
使用了RoPE位置旋转编码来替代Embedding编码,使得模型获得更好的外推性。
<br>
<div
align=
center
>
<img
src=
"./asserts/model_blocks.png"
/>
</div>
## 环境配置
-v 路径、docker_name和imageID根据实际情况修改
...
...
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