Skip to content

Commit

Permalink
Add gemini-2.0-flash-exp model (#3210)
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai authored Dec 14, 2024
1 parent 1e55710 commit e577004
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/helm/config/model_deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,14 @@ model_deployments:
client_spec:
class_name: "helm.clients.vertexai_client.VertexAIChatClient"

- name: google/gemini-2.0-flash-exp
model_name: google/gemini-2.0-flash-exp
tokenizer_name: google/gemma-2b # Gemini has no tokenizer endpoint, so we approximate by using Gemma's tokenizer.
max_sequence_length: 1000000 # Source: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#gemini-models
# TODO: Max output tokens: 8192
client_spec:
class_name: "helm.clients.vertexai_client.VertexAIChatClient"

## Gemma
- name: together/gemma-2b
model_name: google/gemma-2b
Expand Down
8 changes: 8 additions & 0 deletions src/helm/config/model_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,14 @@ models:
release_date: 2024-09-24
tags: [TEXT_MODEL_TAG, VISION_LANGUAGE_MODEL_TAG, AUDIO_LANGUAGE_MODEL_TAG, GOOGLE_GEMINI_MODEL_TAG, LIMITED_FUNCTIONALITY_TEXT_MODEL_TAG, INSTRUCTION_FOLLOWING_MODEL_TAG]

- name: google/gemini-2.0-flash-exp
display_name: Gemini 2.0 Flash (Experimental)
description: Gemini 2.0 Flash (Experimental) is a Gemini model that supports multimodal inputs like images, video and audio, as well as multimodal output like natively generated images mixed with text and steerable text-to-speech (TTS) multilingual audio. ([blog](https://blog.google/technology/google-deepmind/google-gemini-ai-update-december-2024/#gemini-2-0-flash))
creator_organization_name: Google
access: limited
release_date: 2024-12-11
tags: [TEXT_MODEL_TAG, VISION_LANGUAGE_MODEL_TAG, AUDIO_LANGUAGE_MODEL_TAG, GOOGLE_GEMINI_MODEL_TAG, LIMITED_FUNCTIONALITY_TEXT_MODEL_TAG, INSTRUCTION_FOLLOWING_MODEL_TAG]

- name: google/gemma-2b
display_name: Gemma (2B)
description: Gemma is a family of lightweight, open models built from the research and technology that Google used to create the Gemini models. ([model card](https://www.kaggle.com/models/google/gemma), [blog post](https://blog.google/technology/developers/gemma-open-models/))
Expand Down

0 comments on commit e577004

Please sign in to comment.