File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ RUN pip install bleach && \
350350 pip install allennlp && \
351351 # https://b.corp.google.com/issues/184685619#comment9: 3.9.0 is causing a major performance degradation with spacy 2.3.5
352352 pip install importlib-metadata==3.4.0 && \
353- python -m spacy download en && python -m spacy download en_core_web_lg && \
353+ python -m spacy download en_core_web_sm && python -m spacy download en_core_web_lg && \
354354 apt-get install -y ffmpeg && \
355355 /tmp/clean-layer.sh
356356
Original file line number Diff line number Diff line change 44
55class TestSpacy (unittest .TestCase ):
66 def test_model (self ):
7- nlp = spacy .load ('en ' )
7+ nlp = spacy .load ('en_core_web_sm ' )
88 doc = nlp ('This is a sentence.' )
99 self .assertEqual (5 , len (doc ))
You can’t perform that action at this time.
0 commit comments