PhilipQuirke / quanta_maths

Tool used to verify accuracy of transformer model
Apache License 2.0
1 stars 1 forks source link

Refactor one_million_questions out of main notebook. #20

Closed amirabdullah19852020 closed 7 months ago

amirabdullah19852020 commented 7 months ago
  1. I moved the one_million_questions into QuantaTools/maths_test_questions.py . Couldn't add them to model_loss, due to circular import issues. (one_million_questions depends on functions in maths_test_questions, which in turn depends on functions in model_loss so...). Feels like it belongs with maths_test_questions anyway.
  2. I renamed it as test_correctness_on_num_questions which accepts a variable number of questions but I default it to 1 million. (Just incase someone doesnt want to run the full 1 million.)
  3. I checked the notebook can install and run the function.