Triangle104 commited on
Commit
905d1bc
1 Parent(s): 4ad5ee4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +132 -0
README.md CHANGED
@@ -12,6 +12,138 @@ tags:
12
  This model was converted to GGUF format from [`FourOhFour/Tulu-3.69-DPO-8B`](https://huggingface.co/FourOhFour/Tulu-3.69-DPO-8B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
13
  Refer to the [original model card](https://huggingface.co/FourOhFour/Tulu-3.69-DPO-8B) for more details on the model.
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  ## Use with llama.cpp
16
  Install llama.cpp through brew (works on Mac and Linux)
17
 
 
12
  This model was converted to GGUF format from [`FourOhFour/Tulu-3.69-DPO-8B`](https://huggingface.co/FourOhFour/Tulu-3.69-DPO-8B) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
13
  Refer to the [original model card](https://huggingface.co/FourOhFour/Tulu-3.69-DPO-8B) for more details on the model.
14
 
15
+ ---
16
+ Model details:
17
+ -
18
+ This is a DPO applied over Tulu-3.69-8B. This model is designed to
19
+ roleplay and converse like a human chat partner. This model follows
20
+ instructions well and excels at playing characters in a realistic and
21
+ entertaining manner.
22
+
23
+
24
+ For ease of use, try the Llama 3 instruct format. You may need to set a custom stop string for <|end_of_text|>
25
+
26
+
27
+ For optimal performance I have found that a modified Tulu 3 instruct format is quite effective:
28
+
29
+
30
+ <|system|>
31
+
32
+
33
+ This is an instruction.
34
+
35
+
36
+ <|end_of_text|>
37
+
38
+
39
+ <|user|>
40
+
41
+
42
+ This is the user input.
43
+
44
+
45
+ <|assistant|>
46
+
47
+
48
+ This is model output.
49
+
50
+
51
+ <|end_of_text|>
52
+
53
+
54
+ Further, if you want your bot to have a sense of time, you can set the last output prefix as such:
55
+
56
+
57
+ <|system|>
58
+
59
+
60
+ {{time}} {{weekday}} {{date}}
61
+
62
+
63
+ <|end_of_text|>
64
+
65
+
66
+ <|assistant|>
67
+
68
+
69
+ Note: these macros may differ in your chosen inferencing frontend. Please correct accordingly.
70
+
71
+
72
+ base_model: jeiku/Tulu-3.69-8B
73
+ model_type: AutoModelForCausalLM
74
+ tokenizer_type: AutoTokenizer
75
+
76
+ load_in_8bit: false
77
+ load_in_4bit: false
78
+ strict: false
79
+
80
+ hub_model_id: jeiku/tuludpo
81
+ hub_strategy: "all_checkpoints"
82
+ push_dataset_to_hub:
83
+ hf_use_auth_token: true
84
+
85
+ chat_template: llama3
86
+ rl: dpo
87
+ datasets:
88
+ - path: antiven0m/physical-reasoning-dpo
89
+ type: llama3.prompt_pairs
90
+ - path: nbeerbower/Purpura-DPO
91
+ type: llama3.prompt_pairs
92
+ - path: FourOhFour/Human_DPO_Emojis_Removed
93
+ type: llama3.prompt_pairs
94
+
95
+ shuffle_merged_datasets: true
96
+ val_set_size: 0.005
97
+ output_dir: ./outputs/out
98
+
99
+ sequence_len: 8192
100
+ sample_packing: false
101
+ eval_sample_packing: false
102
+ pad_to_sequence_len: false
103
+
104
+ wandb_project: evil
105
+ wandb_entity:
106
+ wandb_watch:
107
+ wandb_name: evil
108
+ wandb_log_model:
109
+
110
+ gradient_accumulation_steps: 16
111
+ micro_batch_size: 2
112
+ num_epochs: 2
113
+ optimizer: adamw_bnb_8bit
114
+ lr_scheduler: cosine
115
+ learning_rate: 0.000005
116
+ weight_decay: 0.05
117
+
118
+ train_on_inputs: false
119
+ group_by_length: false
120
+ bf16: auto
121
+ fp16:
122
+ tf32: true
123
+
124
+ gradient_checkpointing: true
125
+ early_stopping_patience:
126
+ resume_from_checkpoint:
127
+ local_rank:
128
+ logging_steps: 1
129
+ xformers_attention:
130
+ flash_attention: true
131
+
132
+ warmup_steps: 10
133
+ evals_per_epoch: 2
134
+ eval_table_size:
135
+ eval_max_new_tokens:
136
+ saves_per_epoch: 1
137
+
138
+ debug:
139
+ deepspeed:
140
+ fsdp:
141
+ fsdp_config:
142
+
143
+ special_tokens:
144
+ pad_token: <|finetune_right_pad_id|>
145
+
146
+ ---
147
  ## Use with llama.cpp
148
  Install llama.cpp through brew (works on Mac and Linux)
149