Skip to content

Multiple approaches to solve MWPs, comparing traditional models like RNNs and Transformers, math-specific architectures like Graph-to-Tree and GTS, and large language models (LLMs) like Gemini.

Notifications You must be signed in to change notification settings

schlechter-afk/Math-Word-Problem-Solving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mathematical Word Problem Solving

This repository consists of implementations for different methods to solve Mathematical Word Problems.

Note: All the above diagrams were made with Excalidraw

The methods implemented for this task include:

LLMs for comparison:

  • Gemini-2-9B
    • Baseline
    • Standard prompting with fine-tuning
    • Few-shot prompting with fine-tuning
    • Inference-side Chain Of Thought reasoning (CoT)
    • Inference-side CoT + Few-shot prompting
  • Mistral Instruct 7B
    • Baseline
    • Standard prompting with fine-tuning

The code and results for all the baseline models can be found in the Baseline Models directory.

The code and results for LLMs can be found in the LLMs directory.

A comprehensive report for the project can be found here: Report

The pre-trained models for all of the above can be found here.

About

Multiple approaches to solve MWPs, comparing traditional models like RNNs and Transformers, math-specific architectures like Graph-to-Tree and GTS, and large language models (LLMs) like Gemini.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published