Git Product home page Git Product logo

yifanzhang-pro / automathtext Goto Github PK

View Code? Open in Web Editor NEW
52.0 1.0 4.0 1.85 MB

Official implementation of DPFM @ ICLR 2024 paper "AutoMathText: Autonomous Data Selection with Language Models for Mathematical Texts" (Huggingface Daily Papers: https://huggingface.co/papers/2402.07625)

Home Page: https://auto-data-selection.github.io

Python 100.00%
finetuning large-language-models llm math-ai mathematics pretraining reasoning

automathtext's People

Contributors

yifanzhang-pro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

automathtext's Issues

Very awesome work, thanks for contributing!

This dataset is a fantastic contribution! May I ask if you could share the GPUs and time required to filter out these corpora? Also, could you share the prompts for Qwen you used?

Similarity based reranking for curriculum-based learning or step by step reward modeling

Thank you for your effort in constructing this dataset.
Not quite sure if this could be valuable or not, but this project seems so close to an automatic math curriculum.
I'm thinking some sort of ordered pairwise semantic retrieval based meta-prompting strategy may work, I haven't thought to deeply about it but maybe you could even use the values you've already calculated as a way to order the retrievals.

I'm not sure which side of the curriculum to start on though. You could take the highest-ranking original label and try to find previously valuable related information which might work if you have a smart enough embedding model.

Or instead set some minimum threshold of Qwen value and start from there and for each increasing Qwen value datapoint find the k most similar datapoints possibly factoring in the Qwen rankings into the embeddings or using it as some weighting.
Then use Qwen to compare 1 x 1 a dynamic number of the most similar datapoints to the query datapoint to create weighted edges between those datapoints that represent the necessity of the query to understanding the dynamic number.

I think a dynamic number would be better to get a near constant number of links.
So, like until k links have been found with values above some threshold, keep searching through the semantically retrieved similar points. This threshold might need to be adjusted based on the average/range of the similarity scores of retrieved datapoints.

While not a complete representation of all the edges. I really think this would be incredibly valuable as a means for step-by-step reward modeling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.