liuhaotian
commited on
Commit
•
93fcb3c
1
Parent(s):
5cbee12
Update README.md
Browse files
README.md
CHANGED
@@ -30,14 +30,14 @@ The model supports multi-image and multi-prompt generation. Meaning that you can
|
|
30 |
|
31 |
### Using `pipeline`:
|
32 |
|
33 |
-
Below we used [`"llava-hf/
|
34 |
|
35 |
```python
|
36 |
from transformers import pipeline
|
37 |
from PIL import Image
|
38 |
import request
|
39 |
|
40 |
-
model_id = "llava-hf/
|
41 |
pipe = pipeline("image-to-text", model=model_id)
|
42 |
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"
|
43 |
|
|
|
30 |
|
31 |
### Using `pipeline`:
|
32 |
|
33 |
+
Below we used [`"llava-hf/llava-1.5-7b-hf"`](https://huggingface.co/llava-hf/llava-1.5-7b-hf) checkpoint.
|
34 |
|
35 |
```python
|
36 |
from transformers import pipeline
|
37 |
from PIL import Image
|
38 |
import request
|
39 |
|
40 |
+
model_id = "llava-hf/llava-1.5-7b-hf"
|
41 |
pipe = pipeline("image-to-text", model=model_id)
|
42 |
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg"
|
43 |
|