2022-01-14 18:45:36 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# arguments
|
|
|
|
# 1. root of gonito.net challenge-like filestructure
|
2022-02-01 12:43:26 +01:00
|
|
|
# 2. name of the model and therefore a directory that will contain the model
|
|
|
|
# 3. expected number of train epochs
|
2022-01-14 18:45:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
corpus_path="$1"
|
2022-02-01 12:43:26 +01:00
|
|
|
model_name="$2"
|
|
|
|
epochs="$3"
|
2022-01-14 18:45:36 +01:00
|
|
|
|
2022-02-01 12:43:26 +01:00
|
|
|
./scripts/marian-train.sh "$corpus_path" "$model_model_name" "$epochs"
|