Skip to content

Advanced self instruct generator with evolution methods #2174

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

Open
wants to merge 3 commits into
base: feat/advanced_math_generator
Choose a base branch
from

Conversation

Yiyi-philosophy
Copy link

Description

This PR enhances the mathematical problem generation capability and adds visualization tools. The changes include:

  1. Modified examples/dataset/self_instruct_generator.py to examples/dataset/self_instruct_evolution_generator.py:

    • Incorporate evolution-based instruction generation for math problems, based on self_instruct_generator.py
    • Integrate with existing math problem templates and scoring system
    • Evaluate the generated problems with chatgpt o3-mini
  2. Added examples/dataset/get_table.py to:

    • Visualize the evolution process of problem generation
    • Display scoring metrics for each generation
    • Present results in a tabular format for better analysis

The new visualization tool helps in understanding and analyzing how the evolution algorithm improves problem generation over iterations.

Checklist

  • I have read the CONTRIBUTION guide
  • I have linked this PR to an issue using the Development section
  • I have checked dependencies in pyproject.toml and uv lock
  • I have updated the tests accordingly
  • I have updated the documentation
  • I have added examples in the code

@Yiyi-philosophy Yiyi-philosophy marked this pull request as draft April 13, 2025 05:47
@Yiyi-philosophy Yiyi-philosophy marked this pull request as ready for review April 13, 2025 05:50
@Zhangzeyu97 Zhangzeyu97 self-requested a review April 13, 2025 06:06
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.

1 participant