{"id":21614906,"url":"https://github.com/eea/nlp-service","last_synced_at":"2025-04-11T06:53:46.457Z","repository":{"id":37100838,"uuid":"385933131","full_name":"eea/nlp-service","owner":"eea","description":"NLP Service based on FastAPI","archived":false,"fork":false,"pushed_at":"2025-01-20T13:40:00.000Z","size":4834,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T09:19:57.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eea.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}},"created_at":"2021-07-14T12:31:00.000Z","updated_at":"2025-03-21T23:05:49.000Z","dependencies_parsed_at":"2023-02-09T11:47:34.026Z","dependency_job_id":null,"html_url":"https://github.com/eea/nlp-service","commit_stats":null,"previous_names":[],"tags_count":62,"template":false,"template_full_name":"jmeisele/fastapi-ml-scaffolding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Fnlp-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Fnlp-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Fnlp-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Fnlp-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/nlp-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358555,"owners_count":21090402,"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":[],"created_at":"2024-11-24T22:09:59.824Z","updated_at":"2025-04-11T06:53:46.438Z","avatar_url":"https://github.com/eea.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EEA AI NLP Service\n\n## Requirements\n\nPython 3.6+, a GPU-powered server\n\nBy default it would operate the following endpoints (go to\n[local OpenAPI page](http://localhost:8000/docs) for an overview):\n\n- **embedding**: return sentence embedding using Facebook's dual head encoder\n  models used by Haystack for QA.\n- **ner**: a NER model. WIP\n- **similarity**: Compute similarity between sentences\n- **zeroshot-classifier**: Classifiy text according to provided possible\n  categories\n- **qa**: Question and answer model\n- **question-classifier**: Classify phrases in two categories:\n  question/statement\n- **question-generation**: Generate questions and possible answers based on\n  provided text\n- **summarizer**: Automatically summarize text\n\nYou can customize which services to start via an environment variable:\n\n```bash\nexport NLP_SERVICES=\"embedding,ner,summarizer\"\n```\n\n## Instalation\n\n```\n\tconda install mamba -n base -c conda-forge\n\tconda create -n py38 python=3.8\n\tconda init fish\n\tconda activate py38\n\tmamba install pytorch cudatoolkit=10.2 tensorflow tensorflow-hub -c pytorch\n\tpip install -e .\n```\n\nSee [install](./install.md) for installation instructions.\n\n## Copyright and license\n\nThe Initial Owner of the Original Code is European Environment Agency (EEA).\nAll Rights Reserved.\n\nSee [LICENSE](https://github.com/eea/nlp-service/blob/master/LICENSE) for details.\n\n## Funding\n\n[European Environment Agency (EU)](http://eea.europa.eu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Fnlp-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Fnlp-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Fnlp-service/lists"}