mirror of
https://github.com/leon-ai/leon.git
synced 2024-09-11 18:27:21 +03:00
chore: upgrade spaCy to 3.3.0
This commit is contained in:
parent
99681e2577
commit
05e0911009
@ -11,7 +11,7 @@ requests = "==2.21.0"
|
||||
pytube = "==9.5.0"
|
||||
tinydb = "==3.9.0"
|
||||
beautifulsoup4 = "==4.7.1"
|
||||
spacy = "==3.2.0"
|
||||
spacy = "==3.3.0"
|
||||
setuptools = "==60.9.3"
|
||||
wheel = "==0.37.1"
|
||||
torch = "==1.9.0"
|
||||
|
36
bridges/python/Pipfile.lock
generated
36
bridges/python/Pipfile.lock
generated
@ -1,7 +1,7 @@
|
||||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "9e89971e7fc938268e99a68816630376c50296dec370de851bd54263a4d9062b"
|
||||
"sha256": "52ef0c1be9ffd1e74c6d15e3b790bf6c72bfdb6d65f7b34204d0c543309ef62d"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
@ -344,25 +344,25 @@
|
||||
},
|
||||
"spacy": {
|
||||
"hashes": [
|
||||
"sha256:0750590697ea4588b41cdb8db66baed37d46412f8f385572edb3756106005423",
|
||||
"sha256:19eb4f24791c53e9bf7ef5b4112dfe6b2bea9dfc859269344b437e37de2e4654",
|
||||
"sha256:208ea0ccc8015c5d4f3d11de627f6adec36058b508756bcdc9372d9ca8e1161d",
|
||||
"sha256:2cef9524d1516c143a586be61888b4851dad893e4d1f609050eacb3aa3cc84fb",
|
||||
"sha256:3c15cafed1d2429a80220917528f6e4cfab7ba7b6f16bd591f09620bbf0aa332",
|
||||
"sha256:4ef56f77c47389451a9bfa56cc79ac9bd17385fc7ed9e1c08c0cf1ad41dd19a1",
|
||||
"sha256:5cb3ef623511d58759b87fbece2bf6f19d46ce594720c05230185fff6e65f28f",
|
||||
"sha256:68e54b2a14ce74eeecea9bfb0b9bdadf8a4a8157765dbefa7e50d25a1bf0f2f3",
|
||||
"sha256:729cd9bb2fbb04b43e5cffc6f344cc3451e521d78689afc66df4d1cf18e9393a",
|
||||
"sha256:7c5231003ad62e621da080a79eabdddcc38a11964d79c2b70f7a38bcb4b47aed",
|
||||
"sha256:9a7c42a548b09d4c280283b33239a89c130f1662bb32b10270438a44dd3fb4bf",
|
||||
"sha256:a3956bce38773a685380b79aa89420269309332280588ca012634ed8831724aa",
|
||||
"sha256:a5746672265470300c099a2d2ea2442ba0b84870106d21c69568561db38bba1d",
|
||||
"sha256:cf2fddb68f2465e98a2ca756861f28a41e13452d7e3a0cd3286396267401d4f5",
|
||||
"sha256:db79c01405a54bcc832a5308fbe1f060e004f13ea6a86d483a265d4632b90e72",
|
||||
"sha256:f908937ff8066d73162ea4649f644c312df8a8c2bff0219b98c75fa57054bcbc"
|
||||
"sha256:00e99c1c4c655283e1165fdb49a234034af09050d2c68b87fe1fb9d49fbb7aa4",
|
||||
"sha256:054f6596c0ac52fbdd1690ccdab37d8b286706bfa698abf6c7db3194f0c8dc59",
|
||||
"sha256:1f1c5b86daee2b1b4e60ce7c9f7a953ea60dbfe6c9c4acf3bc3c0b5a4332d475",
|
||||
"sha256:2070074032a1f008751cd298d32785fbcc07ec09916fa94e962f81c2a76e4976",
|
||||
"sha256:3639e0381b70e27841c0ce5e96bd83d7173c8356bcae69163598964b12db2646",
|
||||
"sha256:521df508803a924df0ea489f286e3a17d5e6eb58a22ea643ddaa544fe5a02226",
|
||||
"sha256:6ed92892c3d5829ed79fea188f134a9c99ff7bfa60354d023f64a77bacabd761",
|
||||
"sha256:7dd213224a9429cc190698294607fae0b9b94d06995e155f72c551fec66c39f4",
|
||||
"sha256:899c857cb6b193783a483fbc46c2ed39cc02f97252489ee6029944e6ca140046",
|
||||
"sha256:a2fb91e326c7f6682751a194447f6708b957fcad7589f97546986973c70774a7",
|
||||
"sha256:b3bdbafaf2f084cadffab95df70bc4c99441c13de9c3364078dbd99888736931",
|
||||
"sha256:c49d50fbe3715adc5741419367b39a468d2556648422f10b6fc4edf38eae2cb3",
|
||||
"sha256:cae5187f1fdb4f3478ebdb3f299d1f6c7c7f9c4b3cdd3ba9e74a7a3e566ecd7f",
|
||||
"sha256:df252e1b1d55068600eab4ef3e602eb32487f08704e44a85f82478e56aed9838",
|
||||
"sha256:ea9cabc081a7732e755dd44fbd818185ac829fcb431273a994af33d65e709281",
|
||||
"sha256:ebdb29392c7c6d9137127b2a4fee293c8b12e7e69277362bf744f20f3dba7a89"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==3.2.0"
|
||||
"version": "==3.3.0"
|
||||
},
|
||||
"spacy-legacy": {
|
||||
"hashes": [
|
||||
|
@ -58,8 +58,6 @@ def load_spacy_model():
|
||||
|
||||
print(f'Loading {model} spaCy model...')
|
||||
spacy_nlp = spacy.load(model, exclude=exclude)
|
||||
# spacy_nlp = spacy.load(Path('../models/spacy_en_core_web_trf-3.2.0'), disable=disable)
|
||||
# spacy_nlp = spacy.load(Path('../models/spacy_en_core_web_trf-3.2.0'), disable=disable)
|
||||
print('spaCy model loaded')
|
||||
|
||||
def extract_spacy_entities(utterance):
|
||||
|
@ -45,8 +45,8 @@ export default () => new Promise(async (resolve, reject) => {
|
||||
log.info('Installing spaCy models...')
|
||||
// Find new spaCy models: https://github.com/explosion/spacy-models/releases
|
||||
await Promise.all([
|
||||
command('pipenv run spacy download en_core_web_trf-3.2.0 --direct', { shell: true }),
|
||||
command('pipenv run spacy download fr_core_news_md-3.2.0 --direct', { shell: true })
|
||||
command('pipenv run spacy download en_core_web_trf-3.3.0 --direct', { shell: true }),
|
||||
command('pipenv run spacy download fr_core_news_md-3.3.0 --direct', { shell: true })
|
||||
])
|
||||
|
||||
log.success('spaCy models installed')
|
||||
|
Loading…
Reference in New Issue
Block a user