Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin1904 committed Mar 19, 2019
0 parents commit f779e06
Show file tree
Hide file tree
Showing 4 changed files with 790 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.*/*
*.pyc
data/*
1 change: 1 addition & 0 deletions constants/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from constants.paths import SDK_PATH, DATA_PATH, WORD_EMB_PATH, CACHE_PATH
14 changes: 14 additions & 0 deletions constants/paths.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from typing import Optional

# path to the SDK folder
SDK_PATH: Optional[str] = None

# path to the folder where you want to store data
DATA_PATH: Optional[str] = './data/'

# path to a pretrained word embedding file
WORD_EMB_PATH: Optional[str] = None

# path to loaded word embedding matrix and corresponding word2id mapping
CACHE_PATH: Optional[str] = './data/embedding_and_mapping.pt'

Loading

0 comments on commit f779e06

Please sign in to comment.