{"id":13935509,"url":"https://github.com/HumanSignal/label-studio-transformers","last_synced_at":"2025-07-19T20:32:52.646Z","repository":{"id":47554822,"uuid":"227385228","full_name":"HumanSignal/label-studio-transformers","owner":"HumanSignal","description":"Label data using HuggingFace's transformers and automatically get a prediction service","archived":false,"fork":false,"pushed_at":"2023-06-20T21:41:20.000Z","size":195,"stargazers_count":178,"open_issues_count":7,"forks_count":30,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-24T04:11:43.164Z","etag":null,"topics":["bert","data-labeling","label-studio","natural-language-processing","natural-language-understanding","nlp","pytorch-transformers","text-labeling","transformers"],"latest_commit_sha":null,"homepage":"https://labelstud.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HumanSignal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-12-11T14:29:02.000Z","updated_at":"2024-11-16T12:05:56.000Z","dependencies_parsed_at":"2023-07-24T05:23:43.543Z","dependency_job_id":"e7135b33-1e03-4c1c-984b-d677a579502a","html_url":"https://github.com/HumanSignal/label-studio-transformers","commit_stats":null,"previous_names":["humansignal/label-studio-transformers","heartexlabs/label-studio-transformers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanSignal%2Flabel-studio-transformers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanSignal%2Flabel-studio-transformers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanSignal%2Flabel-studio-transformers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanSignal%2Flabel-studio-transformers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HumanSignal","download_url":"https://codeload.github.com/HumanSignal/label-studio-transformers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226677033,"owners_count":17665999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bert","data-labeling","label-studio","natural-language-processing","natural-language-understanding","nlp","pytorch-transformers","text-labeling","transformers"],"created_at":"2024-08-07T23:01:49.828Z","updated_at":"2024-11-27T03:30:41.448Z","avatar_url":"https://github.com/HumanSignal.png","language":"Python","funding_links":[],"categories":["Python","nlp"],"sub_categories":[],"readme":"# Label Studio for Hugging Face's Transformers\n\n[Website](https://labelstud.io/) • [Docs](https://labelstud.io/guide) • [Twitter](https://twitter.com/heartexlabs) • [Join Slack Community \u003cimg src=\"https://app.heartex.ai/docs/images/slack-mini.png\" width=\"18px\"/\u003e](https://slack.labelstud.io/?source=github-1)\n\n\u003cbr/\u003e\n\n**Transfer learning for NLP models by annotating your textual data without any additional coding.**\n\nThis package provides a ready-to-use container that links together:\n\n- [Label Studio](https://github.com/heartexlabs/label-studio) as annotation frontend\n- [Hugging Face's transformers](https://github.com/huggingface/transformers) as machine learning backend for NLP\n\n\u003cbr/\u003e\n\n[\u003cimg src=\"https://raw.githubusercontent.com/heartexlabs/label-studio-transformers/master/images/codeless.png\" height=\"500\"\u003e](https://github.com/heartexlabs/label-studio-transformers)\n\n### Quick Usage\n\n#### Install Label Studio and other dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n##### Create ML backend with BERT classifier\n```bash\nlabel-studio-ml init my-ml-backend --script models/bert_classifier.py\ncp models/utils.py my-ml-backend/utils.py\n\n# Start ML backend at http://localhost:9090\nlabel-studio-ml start my-ml-backend\n\n# Start Label Studio in the new terminal with the same python environment\nlabel-studio start\n```\n\n1. Create a project with `Choices` and `Text` tags in the labeling config.\n2. Connect the ML backend in the Project settings with `http://localhost:9090`\n\n##### Create ML backend with BERT named entity recognizer\n```bash\nlabel-studio-ml init my-ml-backend --script models/ner.py\ncp models/utils.py my-ml-backend/utils.py\n\n# Start ML backend at http://localhost:9090\nlabel-studio-ml start my-ml-backend\n\n# Start Label Studio in the new terminal with the same python environment\nlabel-studio start\n```\n\n1. Create a project with `Labels` and `Text` tags in the labeling config.\n2. Connect the ML backend in the Project settings with `http://localhost:9090`\n\n#### Training and inference\n\nThe browser opens at `http://localhost:8080`. Upload your data on **Import** page then annotate by selecting **Labeling** page.\nOnce you've annotate sufficient amount of data, go to **Model** page and press **Start Training** button. Once training is finished, model automatically starts serving for inference from Label Studio, and you'll find all model checkpoints inside `my-ml-backend/\u003cml-backend-id\u003e/` directory.\n\n[Click here](https://labelstud.io/guide/ml.html) to read more about how to use Machine Learning backend and build Human-in-the-Loop pipelines with Label Studio\n\n## License\n\nThis software is licensed under the [Apache 2.0 LICENSE](/LICENSE) © [Heartex](https://www.heartex.com/). 2020\n\n\u003cimg src=\"https://github.com/heartexlabs/label-studio/blob/master/images/opossum_looking.png?raw=true\" title=\"Hey everyone!\" height=\"140\" width=\"140\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHumanSignal%2Flabel-studio-transformers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHumanSignal%2Flabel-studio-transformers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHumanSignal%2Flabel-studio-transformers/lists"}