OLMo 2 7B RM November 2024 is reward model trained on top of the OLMo 2 7B SFT November 2024 model. It has been trained using an OLMo-specific variant of the Tülu 3 dataset and this preference dataset. Tülu 3 is designed for state-of-the-art performance on a diversity of tasks in addition to chat, such as MATH, GSM8K, and IFEval. Check out the OLMo 2 paper (forthcoming) or Tülu 3 paper for more details!
This reward model was used to initialize value models during RLVR training for both 7B and 13B RLVR training. Note we used a slightly different mix to the final mixture used for DPO training for this RM.
OLMo is a series of Open Language Models designed to enable the science of language models. These models are trained on the Dolma dataset. We are releasing all code, checkpoints, logs (coming soon), and associated training details. The core models released in this batch include the following:
<|endoftext|><|user|>\nHow are you doing?\n<|assistant|>\nI'm just a computer program, so I don't have feelings, but I'm functioning as expected. How can I assist you today?<|endoftext|>
Or with new lines expanded:
<|endoftext|><|user|>
How are you doing?
<|assistant|>
I'm just a computer program, so I don't have feelings, but I'm functioning as expected. How can I assist you today?<|endoftext|>
It is embedded within the tokenizer as well, for tokenizer.apply_chat_template.
The OLMo 2 models have limited safety training, but are not deployed automatically with in-the-loop filtering of responses like ChatGPT, so the model can produce problematic outputs (especially when prompted to do so). See the Falcon 180B model card for an example of this.
OLMo 2 is licensed under the Apache 2.0 license. OLMo 2 is intended for research and educational use. For more information, please see our Responsible Use Guidelines.
import os
os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com"
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("allenai/OLMo-2-1124-7B-RM-Preview", revision="cf8577bf9ec415ac0201b45f4d21293d9075fd6b")
model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-2-1124-7B-RM-Preview", revision="cf8577bf9ec415ac0201b45f4d21293d9075fd6b", device_map="auto")