A library to train spacy.
Project description
Spacy train tools
- python3 -m pip install --upgrade build
- python3 -m pip install --upgrade twine
Install
- https://pypi.org/project/spacy-train-tools
- Run
pip install spacy-train-tools
orpip3 install spacy-train-tools
to install this library
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'
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file spacy_train_tools-0.0.3.tar.gz
.
File metadata
- Download URL: spacy_train_tools-0.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e2b178f344a4bf27fa85673c8d59a09dd51bc09a0c1a19d4faef2b5a67bb1a9 |
|
MD5 | 30c15ad2200b7453ed53089d4b6327a5 |
|
BLAKE2b-256 | 22a0f492d08263050ada131a3301cac7270d72c26f77cb42873829f96c6b6d72 |
File details
Details for the file spacy_train_tools-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: spacy_train_tools-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53fb464e88373acc6d4dee930265c77b03bbef684437ee611d16389dc72a7958 |
|
MD5 | a10d37724eee923d0d8702c16f968d6f |
|
BLAKE2b-256 | ddeb4b4447d72d23e49df19568d28fef74a14bc6c90290b69986f3d78fefff82 |