Skip to content

metareflection/llm-mysteries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published