14 lines
328 B
Bash
Executable File
14 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# arguments
|
|
# 1. root of gonito.net challenge-like filestructure
|
|
# 2. number of BPE merge operations, E.g. 32000
|
|
# 3. expected number of train epochs
|
|
|
|
|
|
corpus_path="$1"
|
|
bpe_merges="$2"
|
|
epochs="$3"
|
|
|
|
./scripts/do-fastBPE.sh "$corpus_path" "$bpe_merges"
|
|
./scripts/marian-train.sh "$corpus_path" "$bpe_merges" "$epochs" |