Feature Extraction
LiteRT-LM
multilingual
embedding
multimodal
text-image-retrieval
image-feature-extraction
on-device
android
gemma-gallery
Instructions to use spawnlau/embeddinggemma-2-text-vision-440m-compact with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use spawnlau/embeddinggemma-2-text-vision-440m-compact with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=spawnlau/embeddinggemma-2-text-vision-440m-compact \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
Download reports/inputs.json from spawnlau/embeddinggemma-2-text-vision-440m-compact: direct link, hf CLI and curl.
- Browser
- Download file 5.31 kB
-
https://huggingface.co/spawnlau/embeddinggemma-2-text-vision-440m-compact/resolve/main/reports/inputs.json
- Command line
-
hf download hf://spawnlau/embeddinggemma-2-text-vision-440m-compact/reports/inputs.json
-
curl -L -o inputs.json https://huggingface.co/spawnlau/embeddinggemma-2-text-vision-440m-compact/resolve/main/reports/inputs.json
5.31 kB
| { | |
| "models": { | |
| "baseline": { | |
| "filename": "baseline.litertlm", | |
| "bytes": 387710976, | |
| "sha256": "92dcbea108899e5d6e30d919b0744f90d9967e80c67a4ab5503ac16d54f62eb0" | |
| }, | |
| "compact_final": { | |
| "filename": "compact.litertlm", | |
| "bytes": 309559296, | |
| "sha256": "a08a6bcbcba893d8e52dcf2ae05ce06847f942e3b0e5ea8b8df93f32aa23b027" | |
| } | |
| }, | |
| "queries": [ | |
| "a car", | |
| "a computer", | |
| "a pizza", | |
| "a document", | |
| "a train", | |
| "a smartphone", | |
| "an airplane", | |
| "a birthday cake", | |
| "a horse", | |
| "an elephant", | |
| "a giraffe", | |
| "a laptop", | |
| "a bus", | |
| "a motorcycle", | |
| "a truck", | |
| "a boat", | |
| "a tiger", | |
| "a lion", | |
| "a bowl of noodles", | |
| "a receipt", | |
| "a selfie", | |
| "汽车", | |
| "电脑", | |
| "披萨", | |
| "火车", | |
| "手机", | |
| "飞机", | |
| "大象", | |
| "a dog", | |
| "a cat", | |
| "a cup of coffee", | |
| "mountains", | |
| "a bicycle", | |
| "a beach", | |
| "dog", | |
| "cat", | |
| "coffee", | |
| "mountain landscape", | |
| "bike", | |
| "seaside", | |
| "animals", | |
| "pets", | |
| "landscape", | |
| "flowers", | |
| "a waterfall", | |
| "狗", | |
| "猫", | |
| "咖啡", | |
| "山", | |
| "自行车", | |
| "海滩", | |
| "宠物", | |
| "a puppy", | |
| "a kitten", | |
| "a black and white dog", | |
| "a dog playing outside", | |
| "a cat sitting down", | |
| "a hot drink", | |
| "a coffee mug", | |
| "a red bicycle", | |
| "a bicycle on the street", | |
| "snowy mountains", | |
| "an ocean beach", | |
| "a sandy shore", | |
| "a pet", | |
| "cats and dogs", | |
| "natural scenery", | |
| "小狗", | |
| "小猫", | |
| "一杯咖啡", | |
| "雪山", | |
| "海边", | |
| "公路自行车" | |
| ], | |
| "images": [ | |
| { | |
| "id": "GemmaLab-001.jpg", | |
| "sha256": "95619f5a63c616579e26fb97f507b092c7761e47ee2b319b8a0a74e8c9bb20bb", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-002.jpg", | |
| "sha256": "85e9d5f2c2f0938fc273705ae46bd9744c93e01e8e3247f5daceb4c5a125012c", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-003.jpg", | |
| "sha256": "aa909e5aa41be961e11f081f7e4e6884f332b042b8c33f957bf193cfda4f3d6c", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-004.jpg", | |
| "sha256": "d83b47a0536def95d547cbb0354a9df3baec62cbeaa78adecb177655b18d3246", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-005.jpg", | |
| "sha256": "599a9fa427d94814a138e50c92ce7a68881584696e6eea235b06d4b82378ef51", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-006.jpg", | |
| "sha256": "d5716caa88b12a71712e13f5e9f8447bf280d901be2303ebb0dc1928bc842e66", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-007.jpg", | |
| "sha256": "238b4f7f1ca5af9db132c0c830d4535b4281e92fc526245d705c9f5ccc068fda", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-008.jpg", | |
| "sha256": "384bc75038a24f8d6f81bb6e044e4363c999afc3cedaeb24155aa69dbeb26b6c", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-009.jpg", | |
| "sha256": "c3c5b1379f984a11a93e1a191bfcfe689dcce9b42e4257ff2303b5adbf8eba50", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-010.jpg", | |
| "sha256": "addff95253ba3d6b5b83a47c286bc9eaa09a69c8e1792b9efe353de1fab4fdc6", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-011.jpg", | |
| "sha256": "48b85f65f07b52e3111d2b98a2e15fbc2c2a4f666832a42ea8f8b5d2fb75f5a6", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-012.jpg", | |
| "sha256": "3a35b5662367f1b6c0960caac08d5c32513871257f8715351bc9fbf56037d414", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-013.jpg", | |
| "sha256": "715773c742c1696154730697522787e4cdb8ee19a3b12bad00bbf36ccd7329d8", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "GemmaLab-014.jpg", | |
| "sha256": "6c04f4ab858681165a89064f428995c8179fdba391304184659ce2bc5b55975d", | |
| "source": "public_lab_fixture" | |
| }, | |
| { | |
| "id": "synthetic-1x2048.bmp", | |
| "sha256": "7696dfe48d87b61e24eb1be7dc3366af18f59357eedf53eec39b9367229dcc1f", | |
| "source": "synthetic_native_preprocessor_boundary" | |
| }, | |
| { | |
| "id": "synthetic-2048x1.bmp", | |
| "sha256": "e2220a005d65c09a046ae00a7318e3c1e7fd8bee5b7e17e3610902c0f3a658a5", | |
| "source": "synthetic_native_preprocessor_boundary" | |
| }, | |
| { | |
| "id": "synthetic-17x4011.bmp", | |
| "sha256": "a4e5d957ffbd942f274389d8518a5204214d469ec27669e4b123cce11a87f519", | |
| "source": "synthetic_native_preprocessor_boundary" | |
| }, | |
| { | |
| "id": "synthetic-4011x17.bmp", | |
| "sha256": "d470f9792fdff44b0ae67642ac8e112dafda482d209e25cf418c9169e9f21d96", | |
| "source": "synthetic_native_preprocessor_boundary" | |
| }, | |
| { | |
| "id": "synthetic-257x257.bmp", | |
| "sha256": "60e8197aeb5fdc99fdac1145f82841f3c2c1c2278e4dafc1e1cd0e82a029eecf", | |
| "source": "synthetic_native_preprocessor_boundary" | |
| }, | |
| { | |
| "id": "synthetic-71x337.bmp", | |
| "sha256": "e43c915ee56e381b1ad12a81ab4ca1c2b5629e72e4ccca305d5a0f8e36f45e93", | |
| "source": "synthetic_native_preprocessor_boundary" | |
| } | |
| ] | |
| } | |