Skip to content
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

Open
Sara-Hossny opened this issue Feb 2, 2025 · 4 comments
Open

query about trying to add test cases from csv file #1333

Sara-Hossny opened this issue Feb 2, 2025 · 4 comments

Comments

@Sara-Hossny
Copy link

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
)

@penguine-ip
Copy link
Contributor

@Sara-Hossny what's your question?

@Sara-Hossny
Copy link
Author

Sara-Hossny commented Feb 3, 2025 via email

@penguine-ip
Copy link
Contributor

@Sara-Hossny did you provide a delimiter in the method to load test cases?

@Sara-Hossny
Copy link
Author

Sara-Hossny commented Feb 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants