Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- fi
|
4 |
+
base_model: LumiOpen/Viking-7B
|
5 |
+
license: apache-2.0
|
6 |
+
datasets:
|
7 |
+
- pinzhenchen/alpaca-cleaned-fi
|
8 |
+
---
|
9 |
+
# Model Card for Finnish-Viking-Alpaca-V1-7B
|
10 |
+
|
11 |
+
This is a merge of [mpasila/Finnish-Viking-Alpaca-V1-LoRA-7B](https://huggingface.co/mpasila/Finnish-Viking-Alpaca-V1-LoRA-7B/).
|
12 |
+
|
13 |
+
LoRA trained with text-generation-webui in 4-bit using [LumiOpen/Viking-7B](https://huggingface.co/LumiOpen/Viking-7B/) as the base model for 1 epoch. Dataset used with the LoRA is [pinzhenchen/alpaca-cleaned-fi](https://huggingface.co/datasets/pinzhenchen/alpaca-cleaned-fi/).
|
14 |
+
|
15 |
+
It uses Alpaca format but with a translated instruction at the start:
|
16 |
+
```
|
17 |
+
{
|
18 |
+
"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%",
|
19 |
+
"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%"
|
20 |
+
}
|
21 |
+
|
22 |
+
```
|
23 |
+
|
24 |
+
Merged using this [Colab notebook](https://colab.research.google.com/drive/1a76Y21GfPtmVs71Uztlgk2xzPA4_vVjs?usp=sharing). 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.
|
25 |
+
|
26 |
+
## Evaluation
|
27 |
+
|
28 |
+
| Model | Size | Type | FIN-bench (score) |
|
29 |
+
|-------|------|------|-------|
|
30 |
+
| mpasila/Finnish-Viking-Alpaca-V1-7B | 7B | Instruct | |
|
31 |
+
| mpasila/NordicAlpaca-Finnish-V1-7B | 7B | Instruct | 0.3891 |
|
32 |
+
| [Finnish-NLP/llama-7b-finnish-instruct-v0.1](https://huggingface.co/Finnish-NLP/llama-7b-finnish-instruct-v0.1) | 7B | Instruct | **0.4365** |
|
33 |
+
| [Finnish-NLP/llama-7b-finnish-instruct-v0.2](https://huggingface.co/Finnish-NLP/llama-7b-finnish-instruct-v0.2) | 7B | Instruct | 0.3993 |
|
34 |
+
| [Finnish-NLP/llama-7b-finnish](https://huggingface.co/Finnish-NLP/llama-7b-finnish) | 7B | Base | 0.2350 |
|
35 |
+
| [HPLT/gpt-7b-nordic-prerelease](https://huggingface.co/HPLT/gpt-7b-nordic-prerelease) | 7B | Base | 0.3169 |
|
36 |
+
|
37 |
+
[Source](https://docs.google.com/spreadsheets/d/1rqJb9dQVihg-Z1_Ras1L_-wuzPg9xNzpdmM2x5HueeY/edit?usp=sharing)
|
38 |
+
|
39 |
+
#### FIN-bench scores:
|
40 |
+
|
41 |
+
Not yet added.
|
42 |
+
|
43 |
+
### Framework versions
|
44 |
+
|
45 |
+
- PEFT 0.8.2
|