Text Generation
Transformers
PyTorch
English
olmo2
text-classification
conversational
Inference Endpoints
vwxyzjn commited on
Commit
9f90aca
1 Parent(s): 32772bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -69,9 +69,9 @@ pip install --upgrade git+https://github.com/huggingface/transformers.git
69
 
70
  To load the model with HuggingFace, use the following snippet:
71
  ```
72
- from transformers import AutoModelForCausalLM
73
 
74
- olmo_model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-2-1124-7B-Instruct")
75
  ```
76
 
77
  ### Chat template
 
69
 
70
  To load the model with HuggingFace, use the following snippet:
71
  ```
72
+ from transformers import AutoModelForSequenceClassification
73
 
74
+ olmo_reward_model = AutoModelForSequenceClassification.from_pretrained("allenai/OLMo-2-1124-7B-RM")
75
  ```
76
 
77
  ### Chat template