{"id":15103602,"url":"https://github.com/arnabd64/spacy-ner-hf-space","last_synced_at":"2026-01-20T21:03:26.827Z","repository":{"id":245768776,"uuid":"819158493","full_name":"arnabd64/spacy-ner-hf-space","owner":"arnabd64","description":"A webapp built using Gradio for demonstrating the capabilities of the Spacy NER pipeline.","archived":false,"fork":false,"pushed_at":"2024-09-27T10:04:06.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T14:06:11.521Z","etag":null,"topics":["gradio","huggingface-spaces","named-entity-recognition","nlp","spacy","spacy-pipeline","token-classification"],"latest_commit_sha":null,"homepage":"https://hf.co/spaces/pitangent-ds/spacy-ner","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arnabd64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-24T00:08:01.000Z","updated_at":"2024-09-27T10:04:09.000Z","dependencies_parsed_at":"2024-06-24T02:37:28.300Z","dependency_job_id":"832f0774-bcfd-44e9-8a5f-bc4f1ef04045","html_url":"https://github.com/arnabd64/spacy-ner-hf-space","commit_stats":null,"previous_names":["arnabd64/spacy-ner-hf-space"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arnabd64/spacy-ner-hf-space","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnabd64%2Fspacy-ner-hf-space","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnabd64%2Fspacy-ner-hf-space/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnabd64%2Fspacy-ner-hf-space/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnabd64%2Fspacy-ner-hf-space/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnabd64","download_url":"https://codeload.github.com/arnabd64/spacy-ner-hf-space/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnabd64%2Fspacy-ner-hf-space/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28613671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gradio","huggingface-spaces","named-entity-recognition","nlp","spacy","spacy-pipeline","token-classification"],"created_at":"2024-09-25T19:40:47.799Z","updated_at":"2026-01-20T21:03:26.810Z","avatar_url":"https://github.com/arnabd64.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: Spacy Token Classifier\nemoji: 📈\n# emoji: https://img.stackshare.io/service/7312/7-7zis8f_400x400.png\ncolorFrom: blue\ncolorTo: indigo\npython_version: 3.12\nsdk: gradio\nsdk_version: 4.44.0\napp_file: app.py\npinned: false\nlicense: apache-2.0\nheader: mini\nmodels:\n    - spacy/en_core_web_sm\n    - spacy/en_core_web_trf\ntags:\n    - token-classification\n    - named-entity-recognition\n    - parts-of-speech-tagging\n---\n\n# Spacy NER Pipeline\n\n## Overview\n\nThis gradio based webapp is used to showcase the capabilities of the Spacy NER pipelineline. NER which an abbreviation for Named Entity Recognition is a task of assigning each token or a group of token in a text a predetermined entity tag. These tags can be `PERSON`, `LOCATION`, `EVENT`, `DATE` etc. [Spacy](https://spacy.io) is a production ready python library that offers many natural language processing pipelines and is also one of the most easy to use python libraries out there for NLP.\n\nThe UI for the webapp has been built using [Gradio](https://www.gradio.app/) which is another easy to use python library for building simple webapps. The User Interface gradio provides is simple and responsive. It provides the necessary HTML, CSS and Javascript needed to render the final UI.\n\nThe final application has been deployed on [Huggingface Spaces](https://huggingface.co/spaces). They provide a several deployment templates for several machine learning models and use cases. The free space provides a 16-core vCPU with 16GB of virtual RAM which is more than enough for this project's hardware needs.\n\n## Packages used\n\n```\nspacy==3.7.6\nspacy-transformers==1.3.5\ngradio==4.44\n```\n\nSpacy provides a ton of language models, but we have restricted ouselves to `en_core_web_sm` and `en_core_web_trf` language models. `en_core_web_sm` model is optimized for CPU and low latency but sacrifices accuracy in complex scenarios whereas `en_core_web_trf` uses transformer based models thus is optimized for accuracy and sacrifices speed and low latency.\n\n## Deploy Space in your Hardware\n\n### Duplicate this Huggingface Space to your profile\n\nClick on the vertical three dots located on the top right corner beside the Settings tab then click __Duplicate this Space__ option. Then choose the correct options and finally click on __Duplicate Space__ to deploy the Space onto your own Huggingface profile.\n\n### Deploy using docker\n\nUse the following `docker run` command to deploy the space as a docker container:\n\n```bash\ndocker run -itd --name spacy-ner-space -p 7860:7860 registry.hf.space/pitangent-ds-spacy-ner:latest python app.py\n```\n\n\n\nCheck out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnabd64%2Fspacy-ner-hf-space","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnabd64%2Fspacy-ner-hf-space","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnabd64%2Fspacy-ner-hf-space/lists"}