Skip to content

coimf/classiphi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classiphi

Classifying competitive math problems by their topics and skills

Online Demo

https://classiphi.streamlit.app

Local Installation

Clone the repository:

git clone https://github.com/coimf/classiphi.git
cd classiphi

Install dependencies:

pip install -r requirements.txt

Start the application:

streamlit run app.py

Models

Classiphi uses five BERT models fine-tuned on competitive math problem classification. Models are available on Hugging Face. Original model is available here.

Architecture

A topic classifier model first determines the topic of a problem (out of four possible topics), and then the respective skill classifier model determines the skill of the problem (out of ten possible skills). The skill classifier model may produce inaccuracies.

Data Collection

To scrape math problems from the Art of Problem Solving wiki, run:

python scraper.py

Scraped problems are located at scraped_data/problems.

Limitations

  • Models may make incorrect classifications.
  • Skill classifier models cannot output skills not present in the training data.

Releases

No releases published

Packages

No packages published

Languages