From 52d154e8c79fc92de9e2fe40552a37c3bc1f87ae Mon Sep 17 00:00:00 2001 From: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com> Date: Fri, 8 Aug 2025 01:29:50 -0700 Subject: [PATCH] Add lucidia_rewards/truth_rm.py with truthfulness reward model stub --- lucidia_llm/lucidia_rewards/truth_rm.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lucidia_llm/lucidia_rewards/truth_rm.py diff --git a/lucidia_llm/lucidia_rewards/truth_rm.py b/lucidia_llm/lucidia_rewards/truth_rm.py new file mode 100644 index 0000000..ff64af3 --- /dev/null +++ b/lucidia_llm/lucidia_rewards/truth_rm.py @@ -0,0 +1,6 @@ +"""Reward model for enforcing truthfulness.""" + + +def score(prompt, completion): + """Score a completion based on truthfulness.""" + raise NotImplementedError("Truthfulness reward model not implemented")