Remove wordnet (#2365)

This commit is contained in:
Yuhong Sun
2024-09-08 12:34:09 -07:00
committed by GitHub
parent 1555ac9dab
commit 148c2a7375
2 changed files with 12 additions and 12 deletions

View File

@ -75,8 +75,8 @@ Tokenizer.from_pretrained('nomic-ai/nomic-embed-text-v1')"
# Pre-downloading NLTK for setups with limited egress
RUN python -c "import nltk; \
nltk.download('stopwords', quiet=True); \
nltk.download('wordnet', quiet=True); \
nltk.download('punkt', quiet=True);"
# nltk.download('wordnet', quiet=True); introduce this back if lemmatization is needed
# Set up application files
WORKDIR /app