Image-to-Text
Transformers
Safetensors
English
llava
pretraining
YouLiXiya commited on
Commit
0536ce0
1 Parent(s): ce9474c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -47,7 +47,7 @@ prompt = "USER: <image>\nWhat does the label 15 represent? (1) lava (2) core (3)
47
 
48
  outputs = pipe(image, prompt=prompt, generate_kwargs={"max_new_tokens": 200})
49
  print(outputs)
50
- >>> {"generated_text": "\nUSER: What does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud\nASSISTANT: Lava"}
51
  ```
52
 
53
  ### Using pure `transformers`:
 
47
 
48
  outputs = pipe(image, prompt=prompt, generate_kwargs={"max_new_tokens": 200})
49
  print(outputs)
50
+ >>> {'generated_text': 'USER: \nWhat does the label 15 represent? (1) lava (2) core (3) tunnel (4) ash cloud\nASSISTANT: The label 15 represents the number of minutes since the earthquake occurred. '}
51
  ```
52
 
53
  ### Using pure `transformers`: