Update README.md
Browse files
README.md
CHANGED
|
@@ -18,23 +18,28 @@ For model evaluation, please refer to the linked technical report (coming soon!)
|
|
| 18 |
### How to use
|
| 19 |
Start off by cloning the repository:
|
| 20 |
|
|
|
|
| 21 |
git clone https://huggingface.co/IntelLabs/LlavaOLMoBitnet1B
|
| 22 |
-
|
| 23 |
cd LlavaOLMoBitnet1B
|
|
|
|
| 24 |
|
| 25 |
Install all the requirements by following instructions on requirements.txt
|
| 26 |
|
| 27 |
You are all set! Run inference by calling:
|
|
|
|
|
|
|
| 28 |
python llava_olmo.py
|
|
|
|
| 29 |
|
| 30 |
To pass in your own query, modify the following lines within the llava_olmo.py file:
|
| 31 |
|
|
|
|
| 32 |
#Define Image and Text inputs..
|
| 33 |
|
| 34 |
text = "Be concise. What are the four major tournaments of the sport shown in the image?"
|
| 35 |
|
| 36 |
url = "https://farm3.staticflickr.com/2157/2439959136_d932f4e816_z.jpg"
|
| 37 |
-
|
| 38 |
|
| 39 |
## Model Sources
|
| 40 |
Arxiv link for technical report coming soon!
|
|
|
|
| 18 |
### How to use
|
| 19 |
Start off by cloning the repository:
|
| 20 |
|
| 21 |
+
``` shell
|
| 22 |
git clone https://huggingface.co/IntelLabs/LlavaOLMoBitnet1B
|
|
|
|
| 23 |
cd LlavaOLMoBitnet1B
|
| 24 |
+
```
|
| 25 |
|
| 26 |
Install all the requirements by following instructions on requirements.txt
|
| 27 |
|
| 28 |
You are all set! Run inference by calling:
|
| 29 |
+
|
| 30 |
+
``` shell
|
| 31 |
python llava_olmo.py
|
| 32 |
+
```
|
| 33 |
|
| 34 |
To pass in your own query, modify the following lines within the llava_olmo.py file:
|
| 35 |
|
| 36 |
+
``` python
|
| 37 |
#Define Image and Text inputs..
|
| 38 |
|
| 39 |
text = "Be concise. What are the four major tournaments of the sport shown in the image?"
|
| 40 |
|
| 41 |
url = "https://farm3.staticflickr.com/2157/2439959136_d932f4e816_z.jpg"
|
| 42 |
+
```
|
| 43 |
|
| 44 |
## Model Sources
|
| 45 |
Arxiv link for technical report coming soon!
|