This commit is contained in:
narawat lamaiin
2024-10-14 21:40:15 +07:00
parent 5a1600051b
commit 5337f62c1a

View File

@@ -744,7 +744,7 @@ function evaluator(state::T1, text2textInstructLLM::Function;
# mark the state as terminal state because the evaluation say so. # mark the state as terminal state because the evaluation say so.
state[:isterminal] = true state[:isterminal] = true
# user score as reward because different answers hold different value for the user. # evaluation score as reward because different answers hold different value for the user.
state[:reward] = responsedict[:score] state[:reward] = responsedict[:score]
end end
println("\n~~~ Evaluator() ", @__FILE__, " ", @__LINE__) println("\n~~~ Evaluator() ", @__FILE__, " ", @__LINE__)