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

Added two multimodal experiments: MathVista and ScienceQA #43

Merged
merged 4 commits into from
Jul 8, 2024

Conversation

lupantech
Copy link
Collaborator

@lupantech lupantech commented Jul 8, 2024

Updates:

  • Added textgrad/tasks/multimodal/
  • Added evaluation/results/solution_optimization_mm/
  • Added examples/mathvista/ and examples/notebooks/TextGrad-Vision-MathVista.ipynb

@lupantech lupantech requested review from vinid and mertyg July 8, 2024 00:10
@lupantech lupantech changed the title Add two multimodal experiments: mathvista and scienceqa Added two multimodal experiments: MathVista and ScienceQA Jul 8, 2024
examples/notebooks/TextGrad-Vision.ipynb Outdated Show resolved Hide resolved
for _, future in enumerate(tqdm(concurrent.futures.as_completed(futures), total=len(futures), position=0)):
question, answer, predictions, performance_history, loss_history, result_data, ques_data = future.result() # NOTE: check the return format
pid = ques_data["pid"] # NOTE: check the question id
all_solutions[pid] = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just remove the case where args.num_threads is not 0? This is just to make the script a bit more concise. no worries if not.

@mertyg mertyg merged commit 43a02e6 into main Jul 8, 2024
1 check passed
@mertyg mertyg deleted the vision-math branch July 14, 2024 20:39
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

Successfully merging this pull request may close these issues.

3 participants