Update README.md
Browse files
README.md
CHANGED
@@ -1,11 +1,14 @@
|
|
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 |
|
@@ -40,4 +43,4 @@ image = MoondreamModel.preprocess_image(image_path)
|
|
40 |
|
41 |
# Generate the caption
|
42 |
caption = MoondreamModel.generate_caption(model, image, tokenizer)
|
43 |
-
print('Generated Caption:', caption)
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
|
5 |
# Edge Vision-Language Model (Moondream)
|
6 |
|
7 |
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.
|
8 |
|
9 |
+
[![Hugging Face Model](https://img.shields.io/badge/Hugging%20Face-Model-blue)](https://huggingface.co/irotem98/edge_vlm)
|
10 |
[![Hugging Face Spaces](https://img.shields.io/badge/Hugging%20Face-Spaces-orange)](https://huggingface.co/spaces/irotem98/edge_vlm)
|
11 |
+
[![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-green)](https://github.com/rotem154154/edge_vlm)
|
12 |
|
13 |
## Installation
|
14 |
|
|
|
43 |
|
44 |
# Generate the caption
|
45 |
caption = MoondreamModel.generate_caption(model, image, tokenizer)
|
46 |
+
print('Generated Caption:', caption)
|