Edit model card

  • Please note this model was not trained on the rombodawg/LosslessMegaCodeTrainingV3_MINI dataset, despite the name similarity. You can find the training data at the bottom of the model card labeled (megacode2-min100)

This is one of the first models trained on the LosslessMegaCodeTrainingV2_1m_Evol_Uncensored dataset. The version of the dataset used for this model was filtered by removed any data with less than 100 tokens but plans for much more refined filtering are in the works

  • This model was made as a colaboration between me and andreaskoepf who is an affiliate of Open Assistant.

This model is extremely good at coding, and might be one of the best coding models for its size and much better than any 7b parameter model. Plans for bigger models are coming in the future.

Prompt template

chatml format is used: "<|im_start|>system\n{system message}<|im_end|>\n<|im_start|>user\n{user prompt}<|im_end|>\n<|im_start|>assistant\n{Assistant answer}<|im_end|>\n"

multi-line:

<|im_start|>system
{system message}<|im_end|>
<|im_start|>user
{user prompt}<|im_end|>
<|im_start|>assistant
{Assistant answer}<|im_end|>

Gpt4all template:

  • System prompt
<|im_start|>system
"Below is an instruction that describes a task. Write a response that appropriately completes the request."
  • Prompt template
<|im_end|>
<|im_start|>user
"%1"<|im_end|>
<|im_start|>assistant

Oobagooba Text-Generation-Webui Template

  • user:
  <|im_start|>user
  {User string}<|im_end|>
  • bot:
  <|im_start|>assistant
  {Bot string}<|im_end|>
  • turn_template:
<|user|>\n<|user-message|>\n\n<|bot|>\n<|bot-message|>\n\n
  • context:
  <|im_start|>system
  Below is an instruction that describes a task. Write a response that appropriately completes the request.<|im_end|>

Current quatizations available:

Benchmarks for the model can be found at the link bellow the model here is called (andreaskoepf/llama2-7b-megacode2_min100)

Sampling report:

https://open-assistant.github.io/oasst-model-eval/?f=https%3A%2F%2Fraw.githubusercontent.com%2FOpen-Assistant%2Foasst-model-eval%2Fmain%2Fsampling_reports%2Foasst-pretrained%2F2023-08-12_andreaskoepf_llama2-7b-megacode2_min100_sampling_noprefix2.json

Training information:

The link for the full dataset is bellow:

Link for the filtered dataset used to make this model are bellow:

The original posting for this model was uploaded at the link bellow.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 45.33
ARC (25-shot) 53.5
HellaSwag (10-shot) 77.38
MMLU (5-shot) 49.72
TruthfulQA (0-shot) 45.77
Winogrande (5-shot) 74.03
GSM8K (5-shot) 9.55
DROP (3-shot) 7.34
Downloads last month
2,934

Dataset used to train rombodawg/LosslessMegaCoder-llama2-7b-mini

Spaces using rombodawg/LosslessMegaCoder-llama2-7b-mini 14