khang119966 commited on
Commit
bae6882
1 Parent(s): d2d9a3a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -253,12 +253,12 @@ def load_image(image_file, input_size=448, max_num=12):
253
  return pixel_values
254
 
255
  model = AutoModel.from_pretrained(
256
- "5CD-AI/Viet-InternVL2-1B",
257
  torch_dtype=torch.bfloat16,
258
  low_cpu_mem_usage=True,
259
  trust_remote_code=True,
260
  ).eval().cuda()
261
- tokenizer = AutoTokenizer.from_pretrained("5CD-AI/Viet-InternVL2-1B", trust_remote_code=True, use_fast=False)
262
 
263
  test_image = 'test-image.jpg'
264
 
 
253
  return pixel_values
254
 
255
  model = AutoModel.from_pretrained(
256
+ "5CD-AI/Vintern-1B-v2",
257
  torch_dtype=torch.bfloat16,
258
  low_cpu_mem_usage=True,
259
  trust_remote_code=True,
260
  ).eval().cuda()
261
+ tokenizer = AutoTokenizer.from_pretrained("5CD-AI/Vintern-1B-v2", trust_remote_code=True, use_fast=False)
262
 
263
  test_image = 'test-image.jpg'
264