├── .gitignore ├── LICENSE ├── README.md ├── experiments ├── __init__.py ├── bbh.py ├── bbh.sh ├── bcb.py ├── bcb.sh ├── data_utils │ ├── __init__.py │ ├── bbh.py │ ├── bcb.py │ ├── gsm8k.py │ └── liar.py ├── gsm8k.py ├── gsm8k.sh ├── liar.py └── liar.sh ├── logo.svg ├── main_figure.png ├── requirements.txt ├── semantic_backprop ├── __init__.py ├── engine │ ├── __init__.py │ ├── instruction.py │ ├── node.py │ ├── question.py │ ├── solutions.py │ └── statement.py ├── llm.py ├── prompt_tmp.py └── utils.py └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/README.md -------------------------------------------------------------------------------- /experiments/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiments/bbh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/bbh.py -------------------------------------------------------------------------------- /experiments/bbh.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/bbh.sh -------------------------------------------------------------------------------- /experiments/bcb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/bcb.py -------------------------------------------------------------------------------- /experiments/bcb.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/bcb.sh -------------------------------------------------------------------------------- /experiments/data_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiments/data_utils/bbh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/data_utils/bbh.py -------------------------------------------------------------------------------- /experiments/data_utils/bcb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/data_utils/bcb.py -------------------------------------------------------------------------------- /experiments/data_utils/gsm8k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/data_utils/gsm8k.py -------------------------------------------------------------------------------- /experiments/data_utils/liar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/data_utils/liar.py -------------------------------------------------------------------------------- /experiments/gsm8k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/gsm8k.py -------------------------------------------------------------------------------- /experiments/gsm8k.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/gsm8k.sh -------------------------------------------------------------------------------- /experiments/liar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/liar.py -------------------------------------------------------------------------------- /experiments/liar.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/experiments/liar.sh -------------------------------------------------------------------------------- /logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/logo.svg -------------------------------------------------------------------------------- /main_figure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/main_figure.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/requirements.txt -------------------------------------------------------------------------------- /semantic_backprop/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semantic_backprop/engine/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/engine/__init__.py -------------------------------------------------------------------------------- /semantic_backprop/engine/instruction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/engine/instruction.py -------------------------------------------------------------------------------- /semantic_backprop/engine/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/engine/node.py -------------------------------------------------------------------------------- /semantic_backprop/engine/question.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/engine/question.py -------------------------------------------------------------------------------- /semantic_backprop/engine/solutions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/engine/solutions.py -------------------------------------------------------------------------------- /semantic_backprop/engine/statement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/engine/statement.py -------------------------------------------------------------------------------- /semantic_backprop/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/llm.py -------------------------------------------------------------------------------- /semantic_backprop/prompt_tmp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/prompt_tmp.py -------------------------------------------------------------------------------- /semantic_backprop/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/semantic_backprop/utils.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HishamAlyahya/semantic_backprop/HEAD/setup.py --------------------------------------------------------------------------------