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
llama3_pytorch
Commits
9aa9b60f
"README_ORIGIN.md" did not exist on "2da2f1945ce5567e27d45df43acd4f65108d5c25"
Commit
9aa9b60f
authored
May 15, 2024
by
Rayyyyy
Browse files
Modify infos in README
parent
c5dc70c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llama3_chat.py
llama3_chat.py
+1
-1
No files found.
llama3_chat.py
View file @
9aa9b60f
...
...
@@ -29,7 +29,7 @@ def main(
while
True
:
local_rank
=
int
(
os
.
environ
.
get
(
"LOCAL_RANK"
,
0
))
if
local_rank
>
0
:
dialogs
.
append
({
"role"
:
"user"
,
"content"
:
"
Non
e"
})
dialogs
.
append
({
"role"
:
"user"
,
"content"
:
"
tmplat
e"
})
else
:
user_input
=
input
(
"You: "
)
# Allow the user to quit the dialogue
...
...
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