Update README.md
Browse files
README.md
CHANGED
@@ -51,7 +51,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
51 |
|
52 |
device = 'cuda:0'
|
53 |
# load model and tokenizer
|
54 |
-
tokenizer = AutoTokenizer.from_pretrained('Ray2333/GRM-
|
55 |
reward_model = AutoModelForSequenceClassification.from_pretrained(
|
56 |
'Ray2333/GRM-Gemma2-2B-rewardmodel-ft', torch_dtype=torch.float16,
|
57 |
device_map=device,
|
|
|
51 |
|
52 |
device = 'cuda:0'
|
53 |
# load model and tokenizer
|
54 |
+
tokenizer = AutoTokenizer.from_pretrained('Ray2333/GRM-Gemma2-2B-rewardmodel-ft')
|
55 |
reward_model = AutoModelForSequenceClassification.from_pretrained(
|
56 |
'Ray2333/GRM-Gemma2-2B-rewardmodel-ft', torch_dtype=torch.float16,
|
57 |
device_map=device,
|