-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.sh
executable file
·30 lines (28 loc) · 1.14 KB
/
launch.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Copyright 2023 SJTU X-Lance Lab
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Created by Danyang Zhang @X-Lance.
export TOKENIZERS_PARALLELISM=false
export NLTK_DATA=~/nltk_data
python main.py --task-path ../wikihow/wikihow-microcanon\
--avd-name Pixel_2_API_30_ga_x64\
--tokenizer-path weights/vilt-b32-mlm-tiny-tkn\
--rewrite-pattern-path ../wikihow/instruction_rewriting\
--rewrite-doccano-file ../wikihow/instruction_rewriting/merged_doccano.json\
--prompt-template prompts/chat.prompt\
--max-tokens 200\
--request-timeout 20.\
--model gpt-3.5-turbo\
--starts-from 0\
--ends-at 150