mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
synced 2026-10-02 14:14:24 +00:00
Use smaller models
This commit is contained in:
1 parent
1ed42f68ad
commit
8afdfb13b2
4 files changed
+29
-33
No files matched your search
@@ -9,14 +9,14 @@ import os
|
||||
import spacy
|
||||
import textwrap
|
||||
|
||||
SPACY_MODELS = {'de': 'de_core_news_lg',
|
||||
'el': 'el_core_news_lg',
|
||||
'en': 'en_core_web_lg',
|
||||
'es': 'es_core_news_lg',
|
||||
'fr': 'fr_core_news_lg',
|
||||
'it': 'it_core_news_lg',
|
||||
'nl': 'nl_core_news_lg',
|
||||
'pt': 'pt_core_news_lg'}
|
||||
SPACY_MODELS = {'de': 'de_core_news_md',
|
||||
'el': 'el_core_news_md',
|
||||
'en': 'en_core_web_md',
|
||||
'es': 'es_core_news_md',
|
||||
'fr': 'fr_core_news_md',
|
||||
'it': 'it_core_news_md',
|
||||
'nl': 'nl_core_news_md',
|
||||
'pt': 'pt_core_news_md'}
|
||||
SPACY_MODELS_VERSION = os.environ.get('SPACY_MODELS_VERSION')
|
||||
SPACY_VERSION = os.environ.get('SPACY_VERSION')
|
||||
|
||||
|
||||
Reference in new issue
Block a user