mirror of
https://github.com/explosion/spaCy.git
synced 2025-05-29 02:03:18 +03:00
added import of build_model
This commit is contained in:
parent
0d7031a8f1
commit
edf77a9dae
|
@ -7,6 +7,7 @@ from pathlib import Path
|
||||||
from spacy_hook import get_embeddings, get_word_ids
|
from spacy_hook import get_embeddings, get_word_ids
|
||||||
from spacy_hook import create_similarity_pipeline
|
from spacy_hook import create_similarity_pipeline
|
||||||
|
|
||||||
|
from keras_decomposable_attention import build_model
|
||||||
|
|
||||||
def train(model_dir, train_loc, dev_loc, shape, settings):
|
def train(model_dir, train_loc, dev_loc, shape, settings):
|
||||||
print("Loading spaCy")
|
print("Loading spaCy")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user