AI & XML / LLM test suite / Results / Models / gemma2:27b

Model description

Google Gemma 2 is a powerful, efficient model available in three sizes: 2B, 9B and 27B.

Model family

gemma2

Context

8K

Input

Text

Size

16 GB

Family sizes

2b, 9b, 27b

Readme excerpt

Google’s Gemma 2 model comes in three sizes, 2B, 9B and 27B, with an entirely new architecture designed for class-leading performance and efficiency.

Class-leading performance

With 27 billion parameters, Gemma 2 outperforms models more than twice its size on benchmarks. This pioneering efficiency sets a new standard among open models.

Three sizes: 2B, 9B and 27B parameters

2B parameters ollama run gemma2:2b 9B parameters ollama run gemma2 27B parameters ollama run gemma2:27b

Benchmark

Intended use

Open large language models (LLMs) have a broad range of uses across industries and applications. The following list is not exhaustive; it provides context on potential use cases considered by the developers during model training and development.

Content creation and communication. Text generation: these models can produce creative formats such as poems, scripts, code, marketing copy and email drafts. Chatbots and conversational AI: they can provide interfaces for customer service, virtual assistants or interactive applications. Text summarization: they can produce concise summaries of text corpora, research papers or reports. Research and education. Natural language processing (NLP) research: a foundation for researchers to experiment with NLP methods, develop algorithms and advance the field. Language-learning tools: interactive learning, grammar correction and writing exercises. Knowledge discovery: helping researchers explore large tex...

Use Gemma 2 with popular tools

LangChain

from langchain_community.llms import Ollama llm = Ollama(model="gemma2") llm.invoke("Warum ist der Himmel blau?")

LlamaIndex

from llama_index.llms.ollama import Ollama llm = Ollama(model="gemma2") llm.complete("Warum ist der Himmel blau?")

111 Runs 79 evaluated 44.7 % Score 39.2 % exactly correct

Help on evaluation, score and exact correctness

Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.

Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.

Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.

Test case Category

x

back to top