Update README.md
Browse files
README.md
CHANGED
@@ -1,7 +1,12 @@
|
|
|
|
|
|
|
|
1 |
# Edge Vision-Language Model (Moondream)
|
2 |
|
3 |
This repository contains the `Moondream` vision-language model, designed to generate captions for images. It utilizes a lightweight, experimental vision encoder and a language model for generating descriptions of input images.
|
4 |
|
|
|
|
|
5 |
## Installation
|
6 |
|
7 |
1. Clone the repository:
|
@@ -35,9 +40,4 @@ image = MoondreamModel.preprocess_image(image_path)
|
|
35 |
|
36 |
# Generate the caption
|
37 |
caption = MoondreamModel.generate_caption(model, image, tokenizer)
|
38 |
-
print('Generated Caption:', caption)
|
39 |
-
```
|
40 |
-
|
41 |
-
## Disclaimer
|
42 |
-
|
43 |
-
Please note that this model is **small and experimental**. It was created for testing and exploration purposes rather than for achieving state-of-the-art performance. While it can generate image captions, its capabilities are limited compared to larger, more advanced models. We encourage you to explore and experiment, but keep in mind that the results may not match those of high-end, production-ready models.
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
# Edge Vision-Language Model (Moondream)
|
5 |
|
6 |
This repository contains the `Moondream` vision-language model, designed to generate captions for images. It utilizes a lightweight, experimental vision encoder and a language model for generating descriptions of input images.
|
7 |
|
8 |
+
[![Hugging Face Spaces](https://img.shields.io/badge/Hugging%20Face-Spaces-orange)](https://huggingface.co/spaces/irotem98/edge_vlm)
|
9 |
+
|
10 |
## Installation
|
11 |
|
12 |
1. Clone the repository:
|
|
|
40 |
|
41 |
# Generate the caption
|
42 |
caption = MoondreamModel.generate_caption(model, image, tokenizer)
|
43 |
+
print('Generated Caption:', caption)
|
|
|
|
|
|
|
|
|
|