joeynmt
Minimalist NMT for educational purposes
파일 탐색기
최종 버전 다운로드 (.zip)- bug_report.md
- main.yml
- iwslt14_deen_bpe.yaml
- iwslt14_deen_sp.yaml
- jparacrawl_enja_sp.yaml
- jparacrawl_jaen_sp.yaml
- rnn_reverse.yaml
- rnn_small.yaml
- transformer_reverse.yaml
- transformer_small.yaml
- wmt17_ende_bpe.yaml
- wmt17_ende_sp.yaml
- attention_0.gif
- attention_iwslt.png
- attention_reverse.png
- bleu-ppl.png
- reverse_comparison.png
- tensorboard.png
- train_train_batch_loss.png
- train_train_epoch_loss.png
- valid_valid_loss.png
- valid_valid_score.png
- api.rst
- benchmarks.rst
- changelog.rst
- cli.rst
- conf.py
- faq.rst
- index.rst
- install.rst
- overview.rst
- resources.rst
- tutorial.rst
- benchmarks_v1.md
- JoeyNMT_v1.md
- JoeyNMT_v2.md
- make.bat
- Makefile
- NMT_code_quiz.pdf
- NMT_code_quiz_v2.pdf
- requirements.txt
- __init__.py
- __main__.py
- attention.py
- batch.py
- builders.py
- config.py
- data.py
- datasets.py
- decoders.py
- embeddings.py
- encoders.py
- helpers.py
- helpers_for_ddp.py
- hub_interface.py
- initialization.py
- loss.py
- metrics.py
- model.py
- plotting.py
- prediction.py
- search.py
- tokenizers.py
- training.py
- transformer_layers.py
- vocabulary.py
- joey_v1_demo.ipynb
- joey_v2_demo.ipynb
- torchhub.ipynb
- average_checkpoints.py
- build_vocab.py
- discord_joey.py
- generate_reverse_task.py
- get_iwslt14_bpe.sh
- get_iwslt15_envi.sh
- plot_validations.py
- bpe200.codes
- bpe200.txt
- dev.de
- dev.en
- dev.mt
- dev.tsv
- sp200.model
- sp200.vocab
- test._en
- test.de
- train.de
- train.en
- __init__.py
- test_attention.py
- test_batch.py
- test_data.py
- test_dataset.py
- test_decoder.py
- test_embeddings.py
- test_encoder.py
- test_loss.py
- test_metric.py
- test_model_init.py
- test_prediction.py
- test_search.py
- test_tokenizer.py
- test_transformer_decoder.py
- test_transformer_encoder.py
- test_transformer_utils.py
- test_vocabulary.py
- test_weight_tying.py
- __init__.py
- .gitattributes
- .gitignore
- .pylintrc
- .readthedocs.yml
- CODE_OF_CONDUCT.md
- hubconf.py
- joey-small.png
- joey2-small.png
- LICENSE
- Makefile
- README.md
- requirements.txt
- setup.cfg
- setup.py
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/joeynmt/joeynmt
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd joeynmt
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
> python -m pip install --upgrade torch==2.1.2 --index-url https://download.pytorch.org/whl/cu121
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python -m pip install joeynmt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python -m pip install -e . # Install Joey NMT and it's requirements
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python -m unittest # Run the unit tests
파이썬 스크립트(또는 모듈)를 실행합니다.
python -m joeynmt train configs/transformer_small.yaml
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make test
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
make check
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
make -C docs clean html
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
