Skip to content

Commit

Permalink
Add CodeGemma 1.1 presets. (keras-team#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
grasskin committed May 3, 2024
1 parent c0b35db commit 026c6ed
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions keras_nlp/src/models/gemma/gemma_presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@
},
"kaggle_handle": "kaggle://keras/gemma/keras/gemma_1.1_instruct_2b_en/3",
},
"code_gemma_1.1_2b_en": {
"metadata": {
"description": (
"2 billion parameter, 18-layer, CodeGemma model. This model "
"has been trained on a fill-in-the-middle (FIM) task for code "
"completion. The 1.1 update improves model quality."
),
"params": 2506172416,
"official_name": "Gemma",
"path": "gemma",
"model_card": "https://www.kaggle.com/models/google/gemma",
},
"kaggle_handle": "kaggle://keras/codegemma/keras/code_gemma_1.1_2b_en/1",
},
"code_gemma_2b_en": {
"metadata": {
"description": (
Expand Down Expand Up @@ -127,4 +141,18 @@
},
"kaggle_handle": "kaggle://keras/codegemma/keras/code_gemma_instruct_7b_en/1",
},
"code_gemma_1.1_instruct_7b_en": {
"metadata": {
"description": (
"7 billion parameter, 28-layer, instruction tuned CodeGemma "
"model. This model has been trained for chat use cases related "
"to code. The 1.1 update improves model quality."
),
"params": 8537680896,
"official_name": "Gemma",
"path": "gemma",
"model_card": "https://www.kaggle.com/models/google/gemma",
},
"kaggle_handle": "kaggle://keras/codegemma/keras/code_gemma_1.1_instruct_7b_en/1",
},
}

0 comments on commit 026c6ed

Please sign in to comment.