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-dev.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.6.tar.gz (31.7 MB view details)

Uploaded Source

Built Distribution

codeserializerlib-1.0.6-py3-none-any.whl (31.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codeserializerlib-1.0.6.tar.gz
  • Upload date:
  • Size: 31.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for codeserializerlib-1.0.6.tar.gz
Algorithm Hash digest
SHA256 a2d77a3883c2f41e40ab61757dee25d8e06921482fbdee0ce6f42582be72f354
MD5 f8214944f212ada7d0c562cce60fd66e
BLAKE2b-256 fe50d1acbd96e904564df8adc67cb37982e9b7887d32511fd7765f837c171865

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for codeserializerlib-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 56d6b83237dd2813c69beda049cba3d64ff24fc6f4369daf7902f7c9596cbc47
MD5 30728b08f89b3d3d47626816222bd007
BLAKE2b-256 03698bcacca6a6180f90b76d22a149097a99f5ac46a3dce25c7b403229a0490b

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