Skip to content

Commit e0cc974

Browse files
committed
Add recipes/A5000_24GB_x8/question-generation-ja-wikipedia-JaQuAD.yaml
1 parent ff6b44c commit e0cc974

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
target_task: tasks/text-generation/text2sql.md
2+
base_model_id: yuiseki/tinyllama-ja-wikipedia-1.5T-v0.1
3+
model_name: tinyllama-question-generation-ja-wikipedia-JaQuAD-v0.1
4+
output_base_dir: /data/output
5+
dataset_id: SkelterLabsInc/JaQuAD
6+
dataset_input_hint: "以下の文章から次の単語が答えとなるような質問を作成してください。"
7+
dataset_input_field_name: answers
8+
dataset_context_field_name: context
9+
dataset_output_field_name: question
10+
dataset_train_split_seed: 42
11+
dataset_train_split_test_size: 0.2
12+
lora_r: 8
13+
lora_alpha: 16
14+
lora_dropout: 0.05
15+
train_claim_gpu_num: 4
16+
train_per_device_train_batch_size: 8
17+
train_gradient_accumulation_steps: 4
18+
train_num_train_epochs: 4
19+
train_max_steps: 1000
20+
train_fp16: True
21+
inference_max_new_tokens: 64
22+
evaluations:
23+
-
24+
prompt: "How many heads of the departments are older than 56 ?"
25+
context: "CREATE TABLE head (age INTEGER)"
26+
expected_output: "SELECT COUNT(*) FROM head WHERE age > 56"
27+
-
28+
prompt: "List the name, born state and age of the heads of departments ordered by age."
29+
context: "CREATE TABLE head (name VARCHAR, born_state VARCHAR, age VARCHAR)"
30+
expected_output: "SELECT name, born_state, age FROM head ORDER BY age"

0 commit comments

Comments
 (0)