mpasila's picture
Update README.md
37627cb verified
|
raw
history blame
2.38 kB
metadata
language:
  - fi
base_model: LumiOpen/Viking-7B
license: apache-2.0
datasets:
  - pinzhenchen/alpaca-cleaned-fi

Model Card for Finnish-Viking-Alpaca-V1-7B

This is a merge of mpasila/Finnish-Viking-Alpaca-V1-LoRA-7B.

LoRA trained with text-generation-webui in 4-bit using LumiOpen/Viking-7B as the base model for 1 epoch. Dataset used with the LoRA is pinzhenchen/alpaca-cleaned-fi.

It uses Alpaca format but with a translated instruction at the start:

{
    "instruction,output": "Alla on ohje, jossa kuvataan tehtävä. Kirjoita vastaus, joka täyttää pyynnön asianmukaisesti.\n\n### Instruction:\n%instruction%\n\n### Response:\n%output%",
    "instruction,input,output": "Alla on ohje, jossa kuvataan tehtävä ja joka on yhdistetty kontekstia lisäävään syötteeseen. Kirjoita vastaus, joka täyttää pyynnön asianmukaisesti.\n\n### Instruction:\n%instruction%\n\n### Input:\n%input%\n\n### Response:\n%output%"
}

Merged using this Colab notebook. It might not be the best way to merge a quantized LoRA on to a float16 model but I just wanted to quickly do something. You can try merging it better if you want.

Evaluation

Model Size Type FIN-bench (score)
mpasila/Finnish-Viking-Alpaca-V1-7B 7B Instruct
mpasila/NordicAlpaca-Finnish-V1-7B 7B Instruct 0.3891
Finnish-NLP/llama-7b-finnish-instruct-v0.1 7B Instruct 0.4365
Finnish-NLP/llama-7b-finnish-instruct-v0.2 7B Instruct 0.3993
Finnish-NLP/llama-7b-finnish 7B Base 0.2350
HPLT/gpt-7b-nordic-prerelease 7B Base 0.3169

Source

FIN-bench scores:

Not yet added.

Framework versions

  • PEFT 0.8.2