AI & XML / LLM test suite / Results / Models / codeup:latest

Model description

An excellent code generation model based on Llama 2.

Model family

codeup

Context

4K

Input

Text

Size

74 GB

Family sizes

13b

Readme excerpt

CodeUp was released by DeepSE. It is based on Meta’s Llama 2 and subsequently fine-tuned for better code generation, enabling it to write better code in multiple languages.

Getting started with CodeUp

The model used in the following example is CodeUp with 13 billion parameters, a code generation model.

API

Start the Ollama server (run ollama serve). Run the model

curl -X POST http://localhost:11434/api/generate -d '{ "model": "codeup", "prompt":"Schreibe C++-Code, der die längste gemeinsame Teilzeichenkette in zwei Zeichenketten findet." }'

CLI

Install Ollama. Open the terminal and run ollama run codeup

Note: ollama run executes ollama pull if the model has not yet been downloaded. To download the model without running it, use ollama pull codeup.

Memory requirements

13B models generally require at least 16 GB RAM

If problems occur at higher quantization levels, use the q4 model or close other programs that use a lot of RAM.

Model variants

Ollama uses 4-bit quantization by default. To try other quantization levels, use the other tags. The number after q indicates the number of bits used for quantization, so q4 means 4-bit quantization. Higher numbers make the model more accurate, but slower and more memory-intensive.

Aliases latest, 13b, 13b-llama2, 13b-llama2-chat, 13b-llama2-chat-q4_0

Model source

CodeUp source on Ollama

Source of the model with 13 billion parameters: DeepSE

References

CodeUp GitHub repository

1270 Runs 1340 evaluated 27.1 % Score 1.6 % 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