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
GPT2_migraphx
Commits
ceb42cf6
Commit
ceb42cf6
authored
Sep 28, 2023
by
liucong
Browse files
修改readme
parent
59c25cd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
README.md
README.md
+5
-3
No files found.
README.md
View file @
ceb42cf6
#
Generative Pre-Training2(
GPT2
)
# GPT2
## 论文
## 论文
Language Models are Unsupervised Multitask Learners
Language Models are Unsupervised Multitask Learners
...
@@ -48,6 +48,10 @@ docker build --no-cache -t gpt2_migraphx:2.0 .
...
@@ -48,6 +48,10 @@ docker build --no-cache -t gpt2_migraphx:2.0 .
docker run --shm-size 16g --network=host --name=gpt2_migraphx --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/gpt2_migraphx:/home/gpt2_migraphx -it <Your Image ID> /bin/bash
docker run --shm-size 16g --network=host --name=gpt2_migraphx --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/gpt2_migraphx:/home/gpt2_migraphx -it <Your Image ID> /bin/bash
```
```
## 数据集
采用交互式界面,通过输入开头诗词,GPT2模型可以推理出后续的诗句。
## 推理
## 推理
### Python版本推理
### Python版本推理
...
@@ -116,8 +120,6 @@ cd build/
...
@@ -116,8 +120,6 @@ cd build/
## result
## result
采用交互式界面,通过输入开头诗词,GPT2模型可以推理出后续的诗句。
### python版本
### python版本
```
```
...
...
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