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

Unable to evaluate few-shot results. #1

Open
whwang299 opened this issue Aug 5, 2023 · 0 comments
Open

Unable to evaluate few-shot results. #1

whwang299 opened this issue Aug 5, 2023 · 0 comments

Comments

@whwang299
Copy link

whwang299 commented Aug 5, 2023

Hello!
Thank you so much for sharing your work.
I found some (really) minor issues in the script as described below.

  1. Unable to evaluate few-shot results.
    To fix the issue,

This line

folder_name = f'_few_shot-predictions' if args.few_shot_k else 'zero-shot-predictions'

should be changed to

folder_name = f'few-shot-predictions' if args.few_shot_k else 'zero-shot-predictions'



2. Unable to import data in [task-name]_instruction.py.
To fix the issue,
the following line may be added before import data.

import sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))

(for instance the 3rd line of unfairtos_instruction.py

)

  1. This is more like a question.
    I could not find the examples used for few-shot evaluation of unfair-tos, ledgar, and eurlex.

Thanks!

Wonseok

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

1 participant