You're looking at a specific version of this model. Jump to the model overview.
yanexr /embedding-gemma-2:b3b0100d
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| text |
None
|
|
Text to embed, or a list of texts. Each text gets its own embedding, unless combine is on.
|
| images |
array
|
[]
|
Images to embed. Each image gets its own embedding, unless combine is on.
|
| videos |
array
|
[]
|
Videos to embed. Each video gets its own embedding, unless combine is on. Only the picture is used, see include_video_audio for the sound.
|
| audio |
array
|
[]
|
Audio files to embed. Each file gets its own embedding, unless combine is on. Video files work too, then only their sound is used.
|
| task |
None
|
document
|
What the embeddings are for. Embed stored items with document and queries with search_query. For classification, clustering or similarity, use that task for all inputs. The README lists all options.
|
| combine |
boolean
|
False
|
Create one embedding for all inputs together instead of one per input. Use it for things that belong together, like a product photo and its description. Write <|image|>, <|video|> or <|audio|> in the text to place files at that spot.
|
| dimensions |
None
|
768
|
Length of the embeddings. Shorter ones need less storage at a small cost in quality. Use the same value for queries and stored items.
|
| include_video_audio |
boolean
|
False
|
Advanced. Add the sound of each video to that video's embedding.
|
| image_tokens |
None
|
280
|
Advanced. Detail per image. Higher captures more detail but is slower.
|
| video_frame_tokens |
None
|
140
|
Advanced. Detail per video frame. Higher captures more detail but is slower and fits fewer frames.
|
| video_fps |
number
|
1
Min: 0.1 Max: 10 |
Advanced. Frames taken per second of video.
|
| max_video_frames |
integer
|
32
Min: 1 Max: 113 |
Advanced. Most frames taken from one video. Longer videos are sampled evenly over their full length.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'object'}