File size: 896 Bytes
0e0ee95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# prompt: これを subprocess で作成して
# python run_pipeline.py \
#     --prompt "Does this movie review contain a spoiler? answer Yes or No" \
#     --task_description "Assistant is an expert classifier that will classify a movie review, and let the user know if it contains a spoiler for the reviewed movie or not." \
#     --num_steps 30

import subprocess

command = [
    'python', 'run_pipeline.py',
    '--prompt', '金、ダイヤ、ブランドの中古品の買取の査定のプロです。正しい商品査定をして商品の詳細を出し買取金額を提示していますか? answer Yes or No',
    '--task_description', 'あなたは金、ダイヤ、ブランドの中古品の買取の査定のプロです。正しい商品査定をして商品の詳細を出し買取金額を提示するのが役割です',
    '--num_steps', '30'
]

subprocess.run(command)