-
Notifications
You must be signed in to change notification settings - Fork 374
Add ChartQA #954
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
base: main
Are you sure you want to change the base?
Add ChartQA #954
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
| metric = SampleLevelMetric( | ||
| metric_name="extractive_match", | ||
| sample_level_fn=MultilingualExtractiveMatchMetric( | ||
| language=Language.ENGLISH, | ||
| gold_extraction_target=extraction_targets, | ||
| pred_extraction_target=extraction_targets, | ||
| precision=4, | ||
| ), | ||
| category=SamplingMethod.GENERATIVE, | ||
| corpus_level_fn=np.mean, | ||
| higher_is_better=True, | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should be able to use existing extractive match for latex and expr
NathanHB
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the PR ! can you run it adn compare against existing results to make sure everything is sound ?
No description provided.