Instructions to use alphaedge-ai/siglip2-large-patch16-512-jav-32768 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use alphaedge-ai/siglip2-large-patch16-512-jav-32768 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("alphaedge-ai/siglip2-large-patch16-512-jav-32768") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Trimmed SigLIP2 text vocab for Javanese (SP: 32768, ext: 0)
Browse files- config.json +6 -1
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +0 -0
config.json
CHANGED
|
@@ -1,4 +1,8 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"initializer_factor": 1.0,
|
| 3 |
"model_type": "siglip",
|
| 4 |
"text_config": {
|
|
@@ -10,7 +14,8 @@
|
|
| 10 |
"projection_size": 1024,
|
| 11 |
"vocab_size": 32768
|
| 12 |
},
|
| 13 |
-
"
|
|
|
|
| 14 |
"vision_config": {
|
| 15 |
"hidden_size": 1024,
|
| 16 |
"image_size": 512,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "google/siglip2-large-patch16-512",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"SiglipModel"
|
| 5 |
+
],
|
| 6 |
"initializer_factor": 1.0,
|
| 7 |
"model_type": "siglip",
|
| 8 |
"text_config": {
|
|
|
|
| 14 |
"projection_size": 1024,
|
| 15 |
"vocab_size": 32768
|
| 16 |
},
|
| 17 |
+
"torch_dtype": "float32",
|
| 18 |
+
"transformers_version": "4.46.3",
|
| 19 |
"vision_config": {
|
| 20 |
"hidden_size": 1024,
|
| 21 |
"image_size": 512,
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b72e915fa1fa4978450c4633403dcfaefeb2fa48e4d04099157f84df96d9f87
|
| 3 |
+
size 2614991256
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
|
| 3 |
+
size 4241003
|
tokenizer_config.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|