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
OpenDAS
ColossalAI
Commits
bfbf6505
Unverified
Commit
bfbf6505
authored
May 04, 2023
by
digger-yu
Committed by
GitHub
May 04, 2023
Browse files
fix spelling error
fix spelling error with evaluate.py
parent
1a60dc07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
applications/Chat/evaluate/evaluate.py
applications/Chat/evaluate/evaluate.py
+1
-1
No files found.
applications/Chat/evaluate/evaluate.py
View file @
bfbf6505
...
@@ -130,7 +130,7 @@ def evaluate(args):
...
@@ -130,7 +130,7 @@ def evaluate(args):
assert
answer1_jsons
[
i
][
'id'
]
==
answer2_jsons
[
i
][
'id'
]
assert
answer1_jsons
[
i
][
'id'
]
==
answer2_jsons
[
i
][
'id'
]
answer_id
=
answer1_jsons
[
i
][
'id'
]
answer_id
=
answer1_jsons
[
i
][
'id'
]
ques
=
answer1_jsons
[
i
][
'instruction'
]
if
answer1_jsons
[
i
][
'input'
]
==
""
else
answer1_jsons
[
i
][
'instuction'
]
+
\
ques
=
answer1_jsons
[
i
][
'instruction'
]
if
answer1_jsons
[
i
][
'input'
]
==
""
else
answer1_jsons
[
i
][
'inst
r
uction'
]
+
\
" "
+
answer1_jsons
[
i
][
'input'
]
" "
+
answer1_jsons
[
i
][
'input'
]
cat
=
answer1_jsons
[
i
][
'category'
]
cat
=
answer1_jsons
[
i
][
'category'
]
ans1
=
answer1_jsons
[
i
][
'output'
]
ans1
=
answer1_jsons
[
i
][
'output'
]
...
...
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