Google
Gemma2 9B Instruct
google/gemma-2-9b-it
Gemma2 is a versatile tool used in both machine learning and genetic research. It is part of the PaliGemma family, which includes powerful Vision-Language Models (VLMs) built on open components like the SigLIP vision model and the Gemma language model. In genetics, Gemma2 implements the Genome-wide Efficient Mixed-Model Association (GEMMA) for genome-wide association studies (GWAS) . It is also recognized in the open-source community for its efficiency in handling large models and datasets. Additionally, it provides an implementation of the GEMMA algorithm for statistical analysis of multivariate linear mixed models [4].
Community
Open Source
Context Window
8,192
Using Gemma2 9B Instruct with Python API
Using Gemma2 9B Instruct with OpenAI compatible API
import openai
client = openai.Client(
api_key= '{your_api_key}',
base_url="https://api.model.box/v1",
)
response = client.chat.completions.create(
model="google/gemma-2-9b-it",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)