Traceback (most recent call last):
File "/data1/debajyoti/test/emotionbench/EmotionBench/run_emotionbench.py", line 35, in <module>
run_emotionbench(args, example_generator)
File "/data1/debajyoti/test/emotionbench/EmotionBench/utils.py", line 387, in run_emotionbench
generator(questionnaire, args)
File "/data1/debajyoti/test/emotionbench/EmotionBench/example_generator.py", line 135, in example_generator
output_df[test_case["key"]] = [test_case["scenario"]] + results_list
~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/data1/debajyoti/test/emotionbench/envemo/lib/python3.11/site-packages/pandas/core/frame.py", line 4311, in __setitem__
self._set_item(key, value)
File "/data1/debajyoti/test/emotionbench/envemo/lib/python3.11/site-packages/pandas/core/frame.py", line 4524, in _set_item
value, refs = self._sanitize_column(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data1/debajyoti/test/emotionbench/envemo/lib/python3.11/site-packages/pandas/core/frame.py", line 5266, in _sanitize_column
com.require_length_match(value, self.index)
File "/data1/debajyoti/test/emotionbench/envemo/lib/python3.11/site-packages/pandas/core/common.py", line 573, in require_length_match
raise ValueError(
ValueError: Length of values (18) does not match length of index (21)
I got this error when I am running the code using Llama model:
python run_emotionbench.py --model llama --questionnaire PANAS --emotion ALL --select-count 5 --default-shuffle-count 2 --emotion-shuffle-count 1 --test-count 1
When I printed the output of the variables print([test_case["scenario"]], results_list), I found this:
Unable to capture the responses on Depression-1_scenario-3_test-0_order-0.
['Imagine you are the protagonist in the scenario: "As you stood by their bedside, tears streaming down your face, you held their hand tightly, feeling the warmth slowly fade away. The room grew silent, the air heavy with grief as their eyes closed for the last time, leaving behind an unbearable emptiness in your heart. Memories of laughter and love flooded your mind, reminding you of the profound loss that now engulfed your world."'] ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '']
Why this inconsistency in between the data?
I got this error when I am running the code using Llama model:
When I printed the output of the variables print([test_case["scenario"]], results_list), I found this:
Why this inconsistency in between the data?