File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
evaluation/scripts/longmemeval Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66** /tmp_data /
77
88# evaluation data
9- evaluation /data /langmemeval /* .json
9+ evaluation /data /longmemeval /* .json
1010evaluation /* tmp /
1111evaluation /results
1212evaluation /.env
Original file line number Diff line number Diff line change @@ -205,13 +205,13 @@ async def process_qa(
205205 print ("-" * 80 )
206206 print (
207207 f"📖 Golden Answer: \n { golden_answer [:150 ]} ..."
208- if len (golden_answer ) > 150
208+ if len (str ( golden_answer ) ) > 150
209209 else f"📖 Golden Answer: \n { golden_answer } "
210210 )
211211 print ("-" * 80 )
212212 print (
213213 f"💬 LLM Response: \n { response [:150 ]} ..."
214- if len (response ) > 150
214+ if len (str ( response ) ) > 150
215215 else f"💬 Answer: \n { response } "
216216 )
217217 print ("-" * 80 )
You can’t perform that action at this time.
0 commit comments