Text Classification
Safetensors
gemma2
Ray2333 commited on
Commit
7183391
1 Parent(s): 4f7d3b8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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-Gemma-2B-rewardmodel-ft')
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,