Skip to main content

Python library for the code serializer

Project description

spaCy powered Label Studio ML backend

spaCy integration for Label Studio. this is running besides the azure functions.

Demo video

running the backend

  1. prepare environment
python -m venv .venv
source venv/bin/activate
pip install -r requirements.txt
pip install --upgrade pip

Compile your library

python setup.py sdist bdist_wheel

Upload to Pypi

twine upload dist/* 

running tests

pytest tests/ -W ignore::DeprecationWarning
  1. start label studio
label-studio
  1. Start the backend and add the URL to your Label Studio project settings.
label-studio-ml start channel_ml_ner
  1. As you train new models, they will appear in a checkpoints directory. The latest checkpoint will be symlinked to latest-model.

modifying the config

In the channel_ml_ner directory, add your spaCy config.cfg file. You can optionally add a model-best folder from a pre-trained model, to get started with predictions straight away.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codeserializerlib-1.0.3.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

codeserializerlib-1.0.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file codeserializerlib-1.0.3.tar.gz.

File metadata

  • Download URL: codeserializerlib-1.0.3.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for codeserializerlib-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a68764de6d0d72d1229c14423d078ddac8c0e240e26e4b5b64b5bc1dab9a5ad7
MD5 621a19e3be0c9af10517c65bc94f288c
BLAKE2b-256 b4ecb4a88bf9aa65c6c44ab7124931b962518d1cdbd13a91c3555fe476a930c0

See more details on using hashes here.

File details

Details for the file codeserializerlib-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for codeserializerlib-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cb9af82509e1da63dc61d95dac931de8a339ebfc37f334cb65691fcf14475551
MD5 a0b5d08b1c71b267d6e433edd91dead1
BLAKE2b-256 2d80f2bbf0d15c86b459a86eb78c2b3226a54bfde7f201b0521a5b8dd418c162

See more details on using hashes here.

Supported by

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