Skip to content

jolenewei/task5-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logic-LLM Reimplementation

This is an original reimplementation of the Logic-LLM architecture described in the Logic-LM paper. This version mimics the key components:

  • LLM-based classification of logic questions
  • Logic translation into Prolog
  • Constraint solving using LLM
  • Symbolic reasoning with Prolog (via PySwip)

How to Run

  1. Add your OpenAI API key to your environment (export OPENAI_API_KEY=...)
  2. Run the main pipeline:
python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages