Skip to content

Commit 3a0b007

Browse files
committed
swap
1 parent 91905a8 commit 3a0b007

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

train/script/character_swap.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Specify the config file path and the GPU devices to use
2+
# export CUDA_VISIBLE_DEVICES=0,1
3+
4+
# Specify the config file path
5+
export XFL_CONFIG=./train/config/character_swap.yaml
6+
7+
export HF_HUB_CACHE=./cache
8+
# Specify the WANDB API key
9+
# export WANDB_API_KEY='YOUR_WANDB_API_KEY'
10+
11+
echo $XFL_CONFIG
12+
export TOKENIZERS_PARALLELISM=true
13+
14+
accelerate launch --main_process_port 41353 -m src.train.train

0 commit comments

Comments
 (0)