mirror of
https://github.com/Helsinki-NLP/OPUS-MT-train.git
synced 2024-09-11 20:27:19 +03:00
a note about setting up some environment specifications
This commit is contained in:
parent
f660332c1f
commit
3d478d7602
@ -18,6 +18,9 @@ git submodule update --init --recursive --remote
|
|||||||
make install
|
make install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Look into `lib/env.mk` and adust any settings that you need in your environment.
|
||||||
|
For CSC-users: adjust `lib/env/puhti.mk` and `lib/env/puhti.mk` to match yoursetup (especially the locations where Marian-NMT and other tools are installed and the CSC project that you are using).
|
||||||
|
|
||||||
Training a multilingual NMT model (Finnish and Estonian to Danish, Swedish and English):
|
Training a multilingual NMT model (Finnish and Estonian to Danish, Swedish and English):
|
||||||
|
|
||||||
```
|
```
|
||||||
|
10
doc/Setup.md
10
doc/Setup.md
@ -35,6 +35,16 @@ Optional (recommended) software:
|
|||||||
* [fast_align](https://github.com/clab/fast_align)
|
* [fast_align](https://github.com/clab/fast_align)
|
||||||
|
|
||||||
|
|
||||||
|
## Adjust environment setup
|
||||||
|
|
||||||
|
Environment variables are mostly specified in `lib/env.mk`. Adjust the settings to match your environment! You maye have to re-run `make install` after the adjustments or compile/install tools manually.
|
||||||
|
|
||||||
|
|
||||||
|
## CSC users
|
||||||
|
|
||||||
|
OPUS-MT-train is developed to run on the CSC HPC infrastructure and supports `puhti` and `mahti`. There are some hard-coded settings that match our particular environment in our CSC project. You need to adjust those settings in `lib/env/puhti.mk` and `lib/env/puhti.mk`. This includes at least the paths to important tools such as Marian-NMT and others. You also need to set the CSC project identifier (`CSCPROJECT`) to match the project that you use for requestion billing units!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Mac OSX
|
## Mac OSX
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user