Skip to main content

A library to train spacy.

Project description

Spacy train tools

  • python3 -m pip install --upgrade build
  • python3 -m pip install --upgrade twine

Install

Usage

from src.spacy_train_tools.train import train_spacy_model

if __name__ == "__main__":
    train_spacy_model(
        config_file='./en_config.cfg',
        vector_file='en_core_web_lg',
        train_file='./data/train.jsonl',
        dev_file='./data/dev.jsonl',
        output_folder='./models'
    )

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page