An experimental model utilizes a unique, advanced form of supervised tuning. This training program loads the model and then loads the data from the dataset. It provides the data during inference time. Then, it trains the Large Language Model (LLM). During inference, it checks if the model reaches the desired answer or goal. If not, it continues training until the answer or solution is achieved.
1
2system_prompt="""
3Please reason step by step, and put your final answer within \boxed{}
4Respond in the following format:
5<problem>
6...
7</problem>
8<solution>
9...
10</solution>"""
1from transformers import pipeline
2model_id = "EpistemeAI/OpenReasoner-Llama-3.2-3B-rs1.01"
3pipe = pipeline(
4 "text-generation",
5 model=model_id,
6 torch_dtype=torch.bfloat16,
7 device_map="auto"
8)
9print(pipe("What is larger 9.9 or 9.11?"))
Thank you so much to Hugging Face H4 and the dataset:
Math-500
We use this as evaluator. It was not directly trained, it was used as a test
This llama model was trained 2x faster with
Unsloth and Huggingface's TRL library.