-
Notifications
You must be signed in to change notification settings - Fork 437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
query about trying to add test cases from csv file #1333
Comments
@Sara-Hossny what's your question? |
it read it as one str not list for example ["[context1,context2,context3]"]
expected [context1,context2,context3]
…On Mon, 3 Feb 2025 at 09:42, Jeffrey Ip ***@***.***> wrote:
@Sara-Hossny <https://github.com/Sara-Hossny> what's your question?
—
Reply to this email directly, view it on GitHub
<#1333 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYZVBBSS4OCSMAPEB75N2ML2N4MWDAVCNFSM6AAAAABWKJAGDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZQGE4DOOJUGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Sara-Hossny did you provide a delimiter in the method to load test cases? |
Delimiter is not vaild in case it is aready stored as list as you couldn't
find common delimiter
…On Tue, Feb 11, 2025, 5:39 PM Jeffrey Ip ***@***.***> wrote:
@Sara-Hossny <https://github.com/Sara-Hossny> did you provide a delimiter
in the method to load test cases?
—
Reply to this email directly, view it on GitHub
<#1333 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYZVBBQEPWWHHPPHIKEB2MD2PIKSHAVCNFSM6AAAAABWKJAGDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJRGE4TMMZZGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to add test cases from csv file and relevant chunks is list saved in csv how to read it correctly :
dataset.add_test_cases_from_csv_file(
# file_path is the absolute path to you .csv file
file_path="/kaggle/input/data_English.csv",
input_col_name="question",
actual_output_col_name="model_output",
expected_output_col_name="reference_answer",
retrieval_context_col_name="relevant_contexts",# is list
)
The text was updated successfully, but these errors were encountered: