Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.19 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.19 KB

llm-mysteries

Highlights

Attempt 1

Attempt 2

  • graph asks the LLM for exonerating and incriminating evidence for each suspect and symbolically combines the result.

Attempt 3

Inspired by LMs for Rationality,

  • mystery transforms a belief graph into a MaxSAT problem to be optimized for debugging consistency;
  • belief_graph elicits a belief graph for a story.

Libraries

Truth-Maintenance System

  • tms is a basic probabilistic Truth-Maintenance System (TMS) with a MaxSAT backend.

Installation

In this repo

  • git submodule init
  • git submodule update

Python env

  • pip install git+https://github.com/huggingface/transformers.git
  • pip install "outlines @ git+https://github.com/outlines-dev/outlines.git@main"
  • pip install z3-solver
  • pip install python-sat