This commit is contained in:
Rich Jones 2025-02-21 17:09:19 +01:00
parent c1b26cf184
commit 1cf6821f17

View file

@ -123,7 +123,10 @@ class BitwiseArithmeticDataset(ProceduralDataset):
rng,
self.config.difficulty,
)
problem_str = f"Please solve this problem. Assume there is arbitrary bit depth and that there are signed integers. Reply only with the final hexidecimal value.\n" + problem
problem_str = (
f"Please solve this problem. Assume there is arbitrary bit depth and that there are signed integers. Reply only with the final hexidecimal value.\n"
+ problem
)
return {"question": problem_str, "answer": answer, "metadata": {"problem": problem}}