Upload cfg.yaml
Browse files
cfg.yaml
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
architecture:
|
2 |
+
backbone_dtype: float16
|
3 |
+
force_embedding_gradients: false
|
4 |
+
gradient_checkpointing: false
|
5 |
+
intermediate_dropout: 0.0
|
6 |
+
pretrained: true
|
7 |
+
pretrained_weights: ''
|
8 |
+
augmentation:
|
9 |
+
random_parent_probability: 0.0
|
10 |
+
skip_parent_probability: 0.0
|
11 |
+
token_mask_probability: 0.0
|
12 |
+
dataset:
|
13 |
+
add_eos_token_to_answer: true
|
14 |
+
add_eos_token_to_prompt: true
|
15 |
+
answer_column: output
|
16 |
+
data_sample: 1.0
|
17 |
+
data_sample_choice:
|
18 |
+
- Train
|
19 |
+
- Validation
|
20 |
+
mask_prompt_labels: true
|
21 |
+
parent_id_column: None
|
22 |
+
prompt_column:
|
23 |
+
- instruction
|
24 |
+
text_answer_separator: <|answer|>
|
25 |
+
text_prompt_start: <|prompt|>
|
26 |
+
train_dataframe: data/user/oasst/train_full.pq
|
27 |
+
validation_dataframe: None
|
28 |
+
validation_size: 0.01
|
29 |
+
validation_strategy: automatic
|
30 |
+
environment:
|
31 |
+
compile_model: false
|
32 |
+
find_unused_parameters: false
|
33 |
+
gpus:
|
34 |
+
- '0'
|
35 |
+
mixed_precision: true
|
36 |
+
number_of_workers: 8
|
37 |
+
seed: -1
|
38 |
+
trust_remote_code: false
|
39 |
+
use_fsdp: false
|
40 |
+
experiment_name: llm-demo-v0.1.1
|
41 |
+
llm_backbone: EleutherAI/pythia-2.8b-deduped
|
42 |
+
logging:
|
43 |
+
logger: None
|
44 |
+
neptune_project: ''
|
45 |
+
number_of_texts: 10
|
46 |
+
output_directory: output/user/llm-demo-v0.1.1/
|
47 |
+
prediction:
|
48 |
+
batch_size_inference: 0
|
49 |
+
do_sample: false
|
50 |
+
max_length_inference: 256
|
51 |
+
metric: GPT3.5
|
52 |
+
min_length_inference: 2
|
53 |
+
num_beams: 2
|
54 |
+
num_history: 2
|
55 |
+
repetition_penalty: 1.2
|
56 |
+
stop_tokens: ''
|
57 |
+
temperature: 0.3
|
58 |
+
top_k: 0
|
59 |
+
top_p: 1.0
|
60 |
+
problem_type: text_causal_language_modeling
|
61 |
+
tokenizer:
|
62 |
+
add_prefix_space: false
|
63 |
+
add_prompt_answer_tokens: false
|
64 |
+
max_length: 512
|
65 |
+
max_length_answer: 256
|
66 |
+
max_length_prompt: 256
|
67 |
+
padding_quantile: 1.0
|
68 |
+
use_fast: true
|
69 |
+
training:
|
70 |
+
batch_size: 3
|
71 |
+
differential_learning_rate: 1.0e-05
|
72 |
+
differential_learning_rate_layers: []
|
73 |
+
drop_last_batch: true
|
74 |
+
epochs: 1
|
75 |
+
evaluate_before_training: true
|
76 |
+
evaluation_epochs: 1.0
|
77 |
+
grad_accumulation: 1
|
78 |
+
gradient_clip: 0.0
|
79 |
+
learning_rate: 0.0001
|
80 |
+
lora: true
|
81 |
+
lora_alpha: 16
|
82 |
+
lora_dropout: 0.05
|
83 |
+
lora_r: 4
|
84 |
+
lora_target_modules: ''
|
85 |
+
loss_function: CrossEntropy
|
86 |
+
optimizer: AdamW
|
87 |
+
save_best_checkpoint: false
|
88 |
+
schedule: Cosine
|
89 |
+
train_validation_data: false
|
90 |
+
warmup_epochs: 0.0
|
91 |
+
weight_decay: 0.0
|