Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- clip
|
| 5 |
+
- vision
|
| 6 |
+
- gguf
|
| 7 |
+
- crispembed
|
| 8 |
+
- image-embedding
|
| 9 |
+
pipeline_tag: image-feature-extraction
|
| 10 |
+
library_name: ggml
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# CLIP ViT-L/14 Vision Encoder (GGUF)
|
| 14 |
+
|
| 15 |
+
GGUF conversion of [openai/clip-vit-large-patch14](https://huggingface.co/openai/clip-vit-large-patch14) for use with [CrispEmbed](https://github.com/CrispStrobe/CrispEmbed).
|
| 16 |
+
|
| 17 |
+
- **Architecture:** CLIP ViT-L/14 vision encoder
|
| 18 |
+
- **Parameters:** 304M
|
| 19 |
+
- **Output:** 768-dimensional L2-normalized embeddings (1024d internal, projected to 768d)
|
| 20 |
+
- **Input:** 224x224 RGB image with CLIP normalization
|
| 21 |
+
- **Size:** ~1.2 GB
|
| 22 |
+
- **Source:** openai/clip-vit-large-patch14
|
| 23 |
+
|
| 24 |
+
## Usage
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
# Embed a single image
|
| 28 |
+
crispembed -m clip-vit-large-patch14 --image photo.jpg
|
| 29 |
+
|
| 30 |
+
# Batch processing
|
| 31 |
+
crispembed -m clip-vit-large-patch14 --image-dir ./photos/ --output embeddings.bin
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
## Cross-modal pairing
|
| 35 |
+
|
| 36 |
+
Shares an embedding space with [cstr/clip-text-large-GGUF](https://huggingface.co/cstr/clip-text-large-GGUF) for zero-shot image-text matching.
|
| 37 |
+
|
| 38 |
+
## Notes
|
| 39 |
+
|
| 40 |
+
- All output embeddings are L2-normalized.
|
| 41 |
+
- This is a GGUF conversion; weights are numerically equivalent to the original HuggingFace model.
|