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
codellama_pytorch
Commits
260485b2
Commit
260485b2
authored
Jul 02, 2024
by
dengjb
Browse files
update codes
parent
96495117
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
260485b2
...
...
@@ -84,7 +84,7 @@ bash ./train.sh
## 推理
基于Huggingface's Transformers进行推理.
<br>
模型下载后
[
模型下载地址
](
https://hf-mirror.com/meta-llama/CodeLlama-7b-Instruct-hf
)
默认需存放至weights文件夹中
<br>
模型下载后
[
模型下载地址
](
https://hf-mirror.com/meta-llama/CodeLlama-7b-Instruct-hf
)
[
快速模型下载地址
]
(http://113.200.138.88:18080/aimodels/CodeLlama-7b-Instruct-hf)
默认需存放至weights文件夹中
<br>
也可自行更改 inference.py文件中的 model_name 参数
<br>
```
bash
HIP_VISIBLE_DEVICES
=
0 python inference.py
...
...
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