SWEM
The Tensorflow code for this ACL 2018 paper: "Baseline Needs More Love: On Simple Word-Embedding-Based Models and Associated Pooling Mechanisms"
파일 탐색기
최종 버전 다운로드 (.zip)- __init__.py
- __init__.pyc
- image_preproc.py
- image_preproc.pyc
- stats_buddy.py
- stats_buddy.pyc
- tfutil.py
- tfutil.pyc
- util.py
- util.pyc
- .DS_Store
- .DS_Store
- misc_plots.ipynb
- .DS_Store
- .DS_Store
- __init__.py
- load_glove_embeddings.py
- model_builders.py
- rand_args.py
- script.txt
- standard_parser.py
- train.py
- train_text.py
- __init__.py
- __init__.pyc
- engine.py
- engine.pyc
- engine_topology.py
- engine_topology.pyc
- engine_training.py
- engine_training.pyc
- fast_walsh_hadamard.py
- layers.py
- layers.pyc
- regularizers.py
- rproj_fwh_layers.py
- rproj_layers.py
- rproj_layers.pyc
- rproj_layers_util.py
- rproj_layers_util.pyc
- test_layers.py
- util.py
- util.pyc
- __init__.py
- fast_walsh_hadamard.cc
- fast_walsh_hadamard.cu.cc
- fast_walsh_hadamard.h
- fast_walsh_hadamard_test.py
- fwh.py
- Makefile
- py_zero_out.py
- README
- zero_out.cc
- zero_out_op_test.py
- .DS_Store
- README.md
- requirements.txt
- .DS_Store
- __init__.py
- __init__.pyc
- bleu.py
- bleu.pyc
- bleu_scorer.py
- bleu_scorer.pyc
- LICENSE
- __init__.py
- __init__.pyc
- cider.py
- cider.pyc
- cider_scorer.py
- cider_scorer.pyc
- __init__.py
- __init__.pyc
- meteor.py
- meteor.pyc
- __init__.py
- __init__.pyc
- rouge.py
- rouge.pyc
- __init__.py
- __init__.pyc
- ptbtokenizer.py
- ptbtokenizer.pyc
- tmpB_HKlk
- tmpLPf3sN
- __init__.py
- __init__.pyc
- eval.py
- eval.pyc
- .DS_Store
- .DS_Store
- data_utils.py
- eval_dbpedia_emb.py
- eval_snli_emb.py
- eval_yahoo_emb.py
- model.py
- README.md
- requirements.txt
- utils.py
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/dinghanshen/SWEM
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd SWEM
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
pip install -r intrinsic_dimension/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
jupyter notebook
브라우저에서 노트북(.ipynb) 파일들을 열람하고 실행할 수 있는 Jupyter 화면을 켭니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd intrinsic_dimension/ops
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
