spacy-api-docker icon indicating copy to clipboard operation
spacy-api-docker copied to clipboard

Is it possible to train data?

Open rsoika opened this issue 5 years ago • 2 comments

Is it possible to use the spacy-api-docker image also to train data? For example I want to send training data for custom entities like:

TRAIN_DATA = [
    (
        "Horses are too tall and they pretend to care about your feelings",
        {"entities": [(0, 6, MY_ANIMAL)]},
    ),
    ("Do they bite?", {"entities": []}),
    (
        "horses are too tall and they pretend to care about your feelings",
        {"entities": [(0, 6, MY_ANIMAL)]},
    ),
]

rsoika avatar Mar 31 '20 17:03 rsoika

Hi,

my company is also interested in using your service. Do you have any time estimate when training dockerized spacy will be integrated as a feature?

Best Alexander

pietracorvo avatar Nov 12 '20 12:11 pietracorvo

I was eventually able to set up a Docker image with fastapi and spacy to provide the interfaces. You may find some ideas in our project Imixs-ML. https://github.com/imixs/imixs-ml/tree/master/imixs-ml-spacy

rsoika avatar Nov 18 '20 15:11 rsoika