PEFT
flan
opt
crumb commited on
Commit
e6d12b5
1 Parent(s): bd70f47

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - SirNeural/flan_v2
4
+ metrics:
5
+ - perplexity
6
+ tags:
7
+ - flan
8
+ - opt
9
+ - peft
10
+ ---
11
+
12
+ ## ptune-FLAN-OPT-6.7b
13
+
14
+ OPT was first introduced in [Open Pre-trained Transformer Language Models](https://arxiv.org/abs/2205.01068) and first released in [metaseq's repository](https://github.com/facebookresearch/metaseq) on May 3rd 2022 by Meta AI.
15
+
16
+ This model is [facebook/opt-2.7b](https://hf.co/facebook/opt-2.7b) finetuned with prefix tuning (https://arxiv.org/abs/2101.00190) on the FLAN datasets (https://arxiv.org/pdf/2210.11416.pdf).
17
+
18
+ A 24 token prefix was finetuned over 3.7m new tokens of a FLAN task mixture, with the start of each example cut off if it was too large to fit within a 512 token context.
19
+
20
+ The model reaches a train ppl of 6.09 and an eval ppl of 5.91.
21
+
22
+ ### Example COT (Chain-of-thought) Prompt:
23
+
24
+ ```
25
+ Q: Answer the following yes/no question by reasoning step-by-step. Could a dandelion suffer from hepatitis?
26
+ A: Hepatitis only affects organisms with livers. Dandelions don’t have a liver. The answer is no.
27
+
28
+ Q: Answer the following yes/no question by reasoning step-by-step. Can you write a whole Haiku in a single tweet?
29
+ A: A haiku is a japanese three-line poem. That is short enough to fit in 280 characters. The answer is yes.
30
+
31
+ Q: Answer the following yes/no question by reasoning step-by-step. Can you reach space with a Cessna?
32
+ A:
33
+ ```
34
+ ```
35
+ > A Cessna is a small plane that can carry up to 6 people. The answer is no.
36
+ ```
37
+
38
+ (Completed with Contrastive Sampling, top_k: 4, penalty_alpha: 0.6)