Update README.md
Browse files
README.md
CHANGED
@@ -3,21 +3,7 @@ license: apache-2.0
|
|
3 |
pipeline_tag: image-text-to-text
|
4 |
---
|
5 |
|
6 |
-
moondream is a small vision language model designed to run efficiently on edge devices.
|
7 |
-
|
8 |
-
**Benchmarks**
|
9 |
-
|
10 |
-
| Release | VQAv2 | GQA | TextVQA | DocVQA | TallyQA<br>(simple/full) | POPE<br>(rand/pop/adv) |
|
11 |
-
| --- | --- | --- | --- | --- | --- | --- |
|
12 |
-
| **2024-08-26** (latest) | 80.3 | 64.3 | 65.2 | 70.5 | 82.6 / 77.6 | 89.6 / 88.8 / 87.2 |
|
13 |
-
| 2024-07-23 | 79.4 | 64.9 | 60.2 | 61.9 | 82.0 / 76.8 | 91.3 / 89.7 / 86.9 |
|
14 |
-
| 2024-05-20 | 79.4 | 63.1 | 57.2 | 30.5 | 82.1 / 76.6 | 91.5 / 89.6 / 86.2 |
|
15 |
-
| 2024-05-08 | 79.0 | 62.7 | 53.1 | 30.5 | 81.6 / 76.1 | 90.6 / 88.3 / 85.0 |
|
16 |
-
| 2024-04-02 | 77.7 | 61.7 | 49.7 | 24.3 | 80.1 / 74.2 | - |
|
17 |
-
| 2024-03-13 | 76.8 | 60.6 | 46.4 | 22.2 | 79.6 / 73.3 | - |
|
18 |
-
| 2024-03-06 | 75.4 | 59.8 | 43.1 | 20.9 | 79.5 / 73.2 | - |
|
19 |
-
| 2024-03-04 | 74.2 | 58.5 | 36.4 | - | - | - |
|
20 |
-
|
21 |
|
22 |
**Usage**
|
23 |
|
@@ -29,7 +15,7 @@ pip install transformers einops
|
|
29 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
30 |
from PIL import Image
|
31 |
|
32 |
-
model_id = "
|
33 |
revision = "2024-08-26"
|
34 |
model = AutoModelForCausalLM.from_pretrained(
|
35 |
model_id, trust_remote_code=True, revision=revision
|
@@ -42,4 +28,4 @@ print(model.answer_question(enc_image, "Describe this image.", tokenizer))
|
|
42 |
```
|
43 |
|
44 |
The model is updated regularly, so we recommend pinning the model version to a
|
45 |
-
specific release as shown above.
|
|
|
3 |
pipeline_tag: image-text-to-text
|
4 |
---
|
5 |
|
6 |
+
moondream-eduport is a full-parameter finetuned version of moondream2, a small vision language model designed to run efficiently on edge devices.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
**Usage**
|
9 |
|
|
|
15 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
16 |
from PIL import Image
|
17 |
|
18 |
+
model_id = "aoxo/moondream-eduport"
|
19 |
revision = "2024-08-26"
|
20 |
model = AutoModelForCausalLM.from_pretrained(
|
21 |
model_id, trust_remote_code=True, revision=revision
|
|
|
28 |
```
|
29 |
|
30 |
The model is updated regularly, so we recommend pinning the model version to a
|
31 |
+
specific release as shown above.
|