spacy-curated-transformers


Namespacy-curated-transformers JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/explosion/spacy-curated-transformers
SummaryCurated transformer models for spaCy pipelines
upload_time2024-04-19 11:44:22
maintainerNone
docs_urlNone
authorExplosion
requires_python>=3.9
licenseMIT
keywords
VCS
bugtrack_url
requirements curated-transformers curated-tokenizers fsspec spacy thinc srsly torch mypy pytest
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <a href="https://explosion.ai"><img src="https://explosion.ai/assets/img/logo.svg" width="125" height="125" align="right" /></a>

# 💫 🤖 spaCy Curated Transformers

This package provides [spaCy](https://github.com/explosion/spaCy) components and
architectures to use a curated set of transformer models via
[`curated-transformers`](https://github.com/explosion/curated-transformers) in
spaCy.

[![PyPi](https://img.shields.io/pypi/v/spacy-curated-transformers.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.python.org/pypi/spacy-curated-transformers)
[![GitHub](https://img.shields.io/github/release/explosion/spacy-curated-transformers/all.svg?style=flat-square&logo=github)](https://github.com/explosion/spacy-curated-transformers/releases)

## Features

- Use pretrained models based on one of the following architectures to
  power your spaCy pipeline:
  - ALBERT
  - BERT
  - CamemBERT
  - RoBERTa
  - XLM-RoBERTa
- All the nice features supported by [`spacy-transformers`](https://github.com/explosion/spacy-transformers)
  such as support for Hugging Face Hub, **multi-task learning**, the extensible config system and
  out-of-the-box serialization
- Deep integration into spaCy, which lays the groundwork for deployment-focused features
  such as distillation and quantization
- Minimal dependencies

## ⏳ Installation

Installing the package from pip will automatically install all dependencies.

```bash
pip install spacy-curated-transformers
```

## 🚀 Quickstart

An example project is provided in the [`project`](project) directory.

## 📖 Documentation

- 📘
  [Layers and Model Architectures](https://spacy.io/usage/layers-architectures):
  Power spaCy components with custom neural networks
- 📗 [`CuratedTransformer`](https://spacy.io/api/curatedtransformer): Pipeline component API
  reference
- 📗
  [Transformer architectures](https://spacy.io/api/architectures#curated-trf):
  Architectures and registered functions

## Bug reports and other issues

Please use [spaCy's issue tracker](https://github.com/explosion/spaCy/issues) to
report a bug, or open a new thread on the
[discussion board](https://github.com/explosion/spaCy/discussions) for any other
issue.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/explosion/spacy-curated-transformers",
    "name": "spacy-curated-transformers",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Explosion",
    "author_email": "contact@explosion.ai",
    "download_url": "https://files.pythonhosted.org/packages/49/d1/76d39d7adc87ba66016487a82a13fcb60b9d91cd326b0cbe601f535ef976/spacy_curated_transformers-2.0.0.tar.gz",
    "platform": null,
    "description": "<a href=\"https://explosion.ai\"><img src=\"https://explosion.ai/assets/img/logo.svg\" width=\"125\" height=\"125\" align=\"right\" /></a>\n\n# \ud83d\udcab \ud83e\udd16 spaCy Curated Transformers\n\nThis package provides [spaCy](https://github.com/explosion/spaCy) components and\narchitectures to use a curated set of transformer models via\n[`curated-transformers`](https://github.com/explosion/curated-transformers) in\nspaCy.\n\n[![PyPi](https://img.shields.io/pypi/v/spacy-curated-transformers.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.python.org/pypi/spacy-curated-transformers)\n[![GitHub](https://img.shields.io/github/release/explosion/spacy-curated-transformers/all.svg?style=flat-square&logo=github)](https://github.com/explosion/spacy-curated-transformers/releases)\n\n## Features\n\n- Use pretrained models based on one of the following architectures to\n  power your spaCy pipeline:\n  - ALBERT\n  - BERT\n  - CamemBERT\n  - RoBERTa\n  - XLM-RoBERTa\n- All the nice features supported by [`spacy-transformers`](https://github.com/explosion/spacy-transformers)\n  such as support for Hugging Face Hub, **multi-task learning**, the extensible config system and\n  out-of-the-box serialization\n- Deep integration into spaCy, which lays the groundwork for deployment-focused features\n  such as distillation and quantization\n- Minimal dependencies\n\n## \u23f3 Installation\n\nInstalling the package from pip will automatically install all dependencies.\n\n```bash\npip install spacy-curated-transformers\n```\n\n## \ud83d\ude80 Quickstart\n\nAn example project is provided in the [`project`](project) directory.\n\n## \ud83d\udcd6 Documentation\n\n- \ud83d\udcd8\n  [Layers and Model Architectures](https://spacy.io/usage/layers-architectures):\n  Power spaCy components with custom neural networks\n- \ud83d\udcd7 [`CuratedTransformer`](https://spacy.io/api/curatedtransformer): Pipeline component API\n  reference\n- \ud83d\udcd7\n  [Transformer architectures](https://spacy.io/api/architectures#curated-trf):\n  Architectures and registered functions\n\n## Bug reports and other issues\n\nPlease use [spaCy's issue tracker](https://github.com/explosion/spaCy/issues) to\nreport a bug, or open a new thread on the\n[discussion board](https://github.com/explosion/spaCy/discussions) for any other\nissue.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Curated transformer models for spaCy pipelines",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/explosion/spacy-curated-transformers"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86e9248f4fb39b1684acb0a96f27e78d45dea2c7bfae5dd39fc4ff3ee5d1fa0f",
                "md5": "2d6fc8e24249550d1eba76e79d6d66a8",
                "sha256": "abe7d4f2c0dd1a12d3f0c9ef8a54e1e0e91f0d8a77c2960ada6fd06d67bf5892"
            },
            "downloads": -1,
            "filename": "spacy_curated_transformers-2.0.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2d6fc8e24249550d1eba76e79d6d66a8",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.9",
            "size": 240288,
            "upload_time": "2024-04-19T11:44:20",
            "upload_time_iso_8601": "2024-04-19T11:44:20.721668Z",
            "url": "https://files.pythonhosted.org/packages/86/e9/248f4fb39b1684acb0a96f27e78d45dea2c7bfae5dd39fc4ff3ee5d1fa0f/spacy_curated_transformers-2.0.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49d176d39d7adc87ba66016487a82a13fcb60b9d91cd326b0cbe601f535ef976",
                "md5": "76e87fdc3e9232554659854eb84ae959",
                "sha256": "434b1e892da0aeb7e552a835f6f4955ac81218b02809195c6bfcddebe766d687"
            },
            "downloads": -1,
            "filename": "spacy_curated_transformers-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "76e87fdc3e9232554659854eb84ae959",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 220645,
            "upload_time": "2024-04-19T11:44:22",
            "upload_time_iso_8601": "2024-04-19T11:44:22.519886Z",
            "url": "https://files.pythonhosted.org/packages/49/d1/76d39d7adc87ba66016487a82a13fcb60b9d91cd326b0cbe601f535ef976/spacy_curated_transformers-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-19 11:44:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "explosion",
    "github_project": "spacy-curated-transformers",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "curated-transformers",
            "specs": [
                [
                    "<",
                    "3.0.0"
                ],
                [
                    ">=",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "curated-tokenizers",
            "specs": [
                [
                    "<",
                    "3.0.0"
                ],
                [
                    ">=",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "fsspec",
            "specs": [
                [
                    ">=",
                    "2023.5.0"
                ]
            ]
        },
        {
            "name": "spacy",
            "specs": [
                [
                    "<",
                    "5.0.0"
                ],
                [
                    ">=",
                    "4.0.0.dev2"
                ]
            ]
        },
        {
            "name": "thinc",
            "specs": [
                [
                    ">=",
                    "9.0.0.dev4"
                ],
                [
                    "<",
                    "9.1.0"
                ]
            ]
        },
        {
            "name": "srsly",
            "specs": []
        },
        {
            "name": "torch",
            "specs": [
                [
                    ">=",
                    "1.12.0"
                ]
            ]
        },
        {
            "name": "mypy",
            "specs": [
                [
                    ">=",
                    "1.5.0"
                ],
                [
                    "<",
                    "1.6.0"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": []
        }
    ],
    "lcname": "spacy-curated-transformers"
}
        
Elapsed time: 0.27104s