nematus
Open-Source Neural Machine Translation in Tensorflow
File Explorer
Download Latest Version (.zip)- nonbreaking_prefix.ca
- nonbreaking_prefix.cs
- nonbreaking_prefix.de
- nonbreaking_prefix.el
- nonbreaking_prefix.en
- nonbreaking_prefix.es
- nonbreaking_prefix.fi
- nonbreaking_prefix.fr
- nonbreaking_prefix.hu
- nonbreaking_prefix.is
- nonbreaking_prefix.it
- nonbreaking_prefix.lv
- nonbreaking_prefix.nl
- nonbreaking_prefix.pl
- nonbreaking_prefix.pt
- nonbreaking_prefix.ro
- nonbreaking_prefix.ru
- nonbreaking_prefix.sk
- nonbreaking_prefix.sl
- nonbreaking_prefix.sv
- nonbreaking_prefix.ta
- README.txt
- build_dictionary.py
- length.py
- merge.sh
- multi-bleu-detok.perl
- multi-bleu.perl
- postprocess.sh
- preprocess.sh
- README.md
- shuffle.py
- strip_sgml.py
- tokenizer.perl
- factored_neural_machine_translation.md
- multi_gpu_training.md
- __init__.py
- beer.py
- chrf.py
- meteor.py
- reference.py
- scorer.py
- scorer_interpolator.py
- scorer_provider.py
- sentence_bleu.py
- test_chrf.py
- test_scorer_provider.py
- test_sentence_bleu.py
- __init__.py
- nematus_style.py
- provider.py
- __init__.py
- README.md
- request.py
- response.py
- .gitignore
- __init__.py
- beam_search_sampler.py
- config.py
- data_iterator.py
- exception.py
- exponential_smoothing.py
- initializers.py
- layers.py
- learning_schedule.py
- model_inputs.py
- model_loader.py
- model_updater.py
- mrt_utils.py
- nmt.py
- random_sampler.py
- rescore.py
- rnn_inference.py
- rnn_model.py
- sample_client.py
- sampler_inputs.py
- sampling_utils.py
- score.py
- server.py
- server_translator.py
- settings.py
- shuffle.py
- tf_utils.py
- theano_tf_convert.py
- train.py
- training_progress.py
- transformer.py
- transformer_attention_modules.py
- transformer_blocks.py
- transformer_inference.py
- transformer_layers.py
- translate.py
- translate_utils.py
- util.py
- corpus.de
- corpus.en
- vocab.de.json
- vocab.en.json
- vocab.json
- in
- ref
- ref2
- ref_score
- references
- in
- ref
- ref_score
- references
- .gitignore
- README.md
- test_score.py
- test_train.sh
- test_train_l2_loss.sh
- test_train_mapl2_loss.sh
- test_train_outputactivations.sh
- test_train_reload.sh
- test_train_summaries.sh
- test_train_transformer.sh
- test_translate.py
- test_translate_sampling.py
- test_utils.py
- attention.js
- attention_web.php
- copy_unknown_words.py
- plot_heatmap.py
- visualize_probs.py
- .gitignore
- CHANGELOG.md
- Dockerfile.cpu
- Dockerfile.gpu
- LICENSE
- README.md
- setup.py
π Installation Guide
1. Get the code
git clone https://github.com/EdinburghNLP/nematus
Downloads the entire project code from GitHub to your computer.
cd nematus
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f Dockerfile.cpu -t nematus .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 nematus
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Python
EasyPrerequisites
pip install .
Installs the package published on PyPI directly β no need to clone the source.
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
