-
Clone ToRA's code here
git clone https://github.com/microsoft/ToRA.git
-
Follow the official instuctions to configure the environment and install all the requirements.
-
Download the question data as
TAL-SAQ6K-EN.jsonl
-
Run the preprocessing code:
python pre_process.py
and you will generate
TAL-SAQ6K-EN_mod.jsonl
-
Create new test data for ToRA
mkdir -p ToRA/src/data/tal mv TAL-SAQ6K-EN_mod.jsonl ToRA/src/data/tal/test.jsonl
-
Copy the inference scripts
cp inference.py ToRA/src/infer/inference_tal.py cp infer_tal.sh ToRA/src/scripts/
-
Run the inference script
cd ToRA/src bash scripts/infer_tal.sh
-
Wait for a while, the result(s) will be in
ToRA/src/output/llm-agents/tora-code-34b-v1.0/tal/
-
Copy out the results
# current path is ToRA/src cd ../../ cp -r ToRA/src/output/llm-agents/tora-code-34b-v1.0/tal/ results
-
Convert the result to the submission, let's say your result is
results/test_tora_5927_seed13_t0.0_s0_e5927_12-29_14-11.jsonl
python post_process.py --answer results/test_tora_5927_seed13_t0.0_s0_e5927_12-29_14-11.jsonl
Then you will get
TAL_SAQ6K_EN_prediction.jsonl
math_problem_aaai24's Introduction
math_problem_aaai24's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.