Skip to content

Commit 6a96ba3

Browse files
committed
Add coder-color variants
1 parent 65b9ccd commit 6a96ba3

5 files changed

+98
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
target_task: tasks/text-generation/text2rgbhex.md
2+
base_model_id: TinyLlama/TinyLlama-1.1B-intermediate-step-715k-1.5T
3+
model_name: tinyllama-coder-color-en-basic-1.5T
4+
output_base_dir: output
5+
dataset_id: burkelibbey/colors
6+
dataset_input_field_name: description
7+
dataset_output_field_name: color
8+
dataset_train_split_seed: 42
9+
dataset_train_split_test_size: 0.2
10+
lora_r: 8
11+
lora_alpha: 16
12+
lora_dropout: 0.05
13+
train_claim_gpu_num: 1
14+
train_per_device_train_batch_size: 8
15+
train_gradient_accumulation_steps: 2
16+
train_num_train_epochs: 4
17+
train_max_steps: 200
18+
train_fp16: True
19+
inference_max_new_tokens: 16
20+
evaluations:
21+
-
22+
prompt: "Pure Black: A shade that completely absorbs light and does not reflect any colors. It is the darkest possible shade."
23+
expected_output: "#000000"
24+
-
25+
prompt: "yellow color"
26+
expected_output: "#fff000"
27+
-
28+
prompt: "sky blue color"
29+
expected_output: "#3090c0"
30+
-
31+
prompt: "light orange color"
32+
expected_output: "#f08040"

recipes/RTX_3060_12GB/color-coder.yaml recipes/RTX_3060_12GB/coder-color-en-basic-3T.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
target_task: tasks/text-generation/text2rgbhex.md
2-
base_model_id: TinyLlama/TinyLlama-1.1B-Chat-v1.0
3-
model_name: tinyllama-color-coder-v1
2+
base_model_id: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
3+
model_name: tinyllama-coder-color-en-basic-3T
44
output_base_dir: output
55
dataset_id: burkelibbey/colors
66
dataset_input_field_name: description
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
target_task: tasks/text-generation/text2rgbhex.md
2+
base_model_id: TinyLlama/TinyLlama-1.1B-intermediate-step-715k-1.5T
3+
model_name: tinyllama-coder-color-en-lora-param-1.5T
4+
output_base_dir: output
5+
dataset_id: burkelibbey/colors
6+
dataset_input_field_name: description
7+
dataset_output_field_name: color
8+
dataset_train_split_seed: 42
9+
dataset_train_split_test_size: 0.2
10+
lora_r: 64
11+
lora_alpha: 16
12+
lora_dropout: 0.1
13+
train_claim_gpu_num: 1
14+
train_per_device_train_batch_size: 8
15+
train_gradient_accumulation_steps: 16
16+
train_num_train_epochs: 4
17+
train_max_steps: 200
18+
train_fp16: True
19+
inference_max_new_tokens: 16
20+
evaluations:
21+
-
22+
prompt: "Pure Black: A shade that completely absorbs light and does not reflect any colors. It is the darkest possible shade."
23+
expected_output: "#000000"
24+
-
25+
prompt: "yellow color"
26+
expected_output: "#fff000"
27+
-
28+
prompt: "sky blue color"
29+
expected_output: "#3090c0"
30+
-
31+
prompt: "light orange color"
32+
expected_output: "#f08040"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
target_task: tasks/text-generation/text2rgbhex.md
2+
base_model_id: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
3+
model_name: tinyllama-coder-color-en-lora-param-3T
4+
output_base_dir: output
5+
dataset_id: burkelibbey/colors
6+
dataset_input_field_name: description
7+
dataset_output_field_name: color
8+
dataset_train_split_seed: 42
9+
dataset_train_split_test_size: 0.2
10+
lora_r: 64
11+
lora_alpha: 16
12+
lora_dropout: 0.1
13+
train_claim_gpu_num: 1
14+
train_per_device_train_batch_size: 8
15+
train_gradient_accumulation_steps: 16
16+
train_num_train_epochs: 4
17+
train_max_steps: 200
18+
train_fp16: True
19+
inference_max_new_tokens: 16
20+
evaluations:
21+
-
22+
prompt: "Pure Black: A shade that completely absorbs light and does not reflect any colors. It is the darkest possible shade."
23+
expected_output: "#000000"
24+
-
25+
prompt: "yellow color"
26+
expected_output: "#fff000"
27+
-
28+
prompt: "sky blue color"
29+
expected_output: "#3090c0"
30+
-
31+
prompt: "light orange color"
32+
expected_output: "#f08040"

0 commit comments

Comments
 (0)