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

[Question]: How was edit sim for code tasks calculated? #207

Open
cornzz opened this issue Jan 9, 2025 · 0 comments
Open

[Question]: How was edit sim for code tasks calculated? #207

cornzz opened this issue Jan 9, 2025 · 0 comments
Labels
question Further information is requested

Comments

@cornzz
Copy link

cornzz commented Jan 9, 2025

@pzs19

In the longbench evaluation fuzzywuzzy.ratio was used to calculate edit similarity (Levenshtein distance) for the predicted code lines (see here).

However I noticed that this function returns different results depending on whether python-Levenshtein, an optional dependency of fuzzywuzzy, is installed or not. Therefore I wanted to know if you used python-Levenshtein or not.

On another note, in both cases this library does not actually return the correct Levenshtein distance: THUDM/LongBench#96

@cornzz cornzz added the question Further information is requested label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant