Skip to content

Instantly share code, notes, and snippets.

View lionelc's full-sized avatar

Lei Jiang lionelc

View GitHub Profile
@lionelc
lionelc / helper.py
Created October 18, 2025 03:54
Q-Learning for Tail Knowledge Retrieval with LLMs
from colorama import Fore, Style
import numpy as np
def verdict(response):
"""
Determine if a response indicates the claim is true or false.
Args:
response (str): The response text to analyze