This project aims to delve deeper into the concepts of LLM scientific problem solving. By studying representative works, evaluating a known LLM, and enhancing its capabilities by different prompts, students will acquire a comprehensive understanding of current techniques and their limitations.
In order to setup the development environment, we have provided an environment.yml file to quickly install all the required packages. Run the following command to create it.
conda env create -f environment.yml
After that run the following command to activate the environment
conda activate llm
Each folder has detailed comments for running the code. Please refer to the README in folder.
Milestone1:
Grad School Math with Llama2 (https://huggingface.co/meta-llama/Llama-2-7b)
GSM8K consists of 8.5K high quality grade school math problems created by human problem writers. These problems take between 2 and 8 steps to solve, and solutions primarily involve performing a sequence of elementary calculations using basic arithmetic operations (+ - / *) to reach the final answer. A bright middle school student should be able to solve every problem.
Expected value 14.6% accuary.
Game 24 with Vicuna-7B
Game of 24 is a mathematical reasoning challenge, where the goal is to use 4 numbers and basic arithmetic operations (+-*/) to obtain 24. For example, given input “4 9 10 13”, a solution output could be “(10 - 4) * (13 - 9) = 24”.
Expected value 0%.
Milestone2:
Milestone3:
python 24.py --n_generate_sample=5 --method_select=greedy
23 commits
8 commits
Python
88.7%
Jupyter Notebook
7.5%
Shell
3.8%
This project aims to delve deeper into the concepts of LLM scientific problem solving. By studying representative works, evaluating a known LLM, and enhancing its capabilities by different prompts, students will acquire a comprehensive understanding of current techniques and their limitations.
In order to setup the development environment, we have provided an environment.yml file to quickly install all the required packages. Run the following command to create it.
conda env create -f environment.yml
After that run the following command to activate the environment
conda activate llm
Each folder has detailed comments for running the code. Please refer to the README in folder.
Milestone1:
Grad School Math with Llama2 (https://huggingface.co/meta-llama/Llama-2-7b)
GSM8K consists of 8.5K high quality grade school math problems created by human problem writers. These problems take between 2 and 8 steps to solve, and solutions primarily involve performing a sequence of elementary calculations using basic arithmetic operations (+ - / *) to reach the final answer. A bright middle school student should be able to solve every problem.
Expected value 14.6% accuary.
Game 24 with Vicuna-7B
Game of 24 is a mathematical reasoning challenge, where the goal is to use 4 numbers and basic arithmetic operations (+-*/) to obtain 24. For example, given input “4 9 10 13”, a solution output could be “(10 - 4) * (13 - 9) = 24”.
Expected value 0%.
Milestone2:
Milestone3:
python 24.py --n_generate_sample=5 --method_select=greedy
23 commits
8 commits
Python
88.7%
Jupyter Notebook
7.5%
Shell
3.8%