chrisociepa commited on
Commit
5c146d3
1 Parent(s): 0211520

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md CHANGED
@@ -1,3 +1,26 @@
1
  ---
2
  license: cc-by-nc-4.0
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-4.0
3
+ language:
4
+ - pl
5
+ tags:
6
+ - llama
7
+ - qlora
8
  ---
9
+
10
+ This repo contains a qlora adapter for [Llama-2-7b](https://huggingface.co/meta-llama/Llama-2-7b-hf), trained on 1B tokens, only in Polish.
11
+
12
+ The training took 20 days on a single RTX 4090 with the following hyperparameters:
13
+
14
+ * context length: 4096
15
+ * batch_size: 128
16
+ * learning_rate: 0.0002, cosine with warmup
17
+ * lora_r: 64
18
+ * lora_alpha: 16
19
+ * lora_modules: all
20
+ * lora_dropout: 0.0
21
+ * weight_decay: 0.1
22
+ * max_grad_norm: 0.3
23
+ * double_quant, nf4
24
+ * optimizer: paged_adamw_32bit
25
+
26
+ This adapter allows the model to speak Polish more accurately than vanilla [Llama-2-7b](https://huggingface.co/meta-llama/Llama-2-7b-hf).