Metadata-Version: 2.1
Name: adapter-transformers
Version: 2.2.0
Summary: A friendly fork of Huggingface's Transformers, adding Adapters to PyTorch language models
Home-page: https://github.com/adapter-hub/adapter-transformers
Author: Jonas Pfeiffer, Andreas Rücklé, Clifton Poth, Hannah Sterz, based on work by Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Sam Shleifer, Patrick von Platen, Sylvain Gugger, Suraj Patil, Stas Bekman, Google AI Language Team Authors, Open AI team Authors, Facebook AI Authors, Carnegie Mellon University Authors
Author-email: pfeiffer@ukp.tu-darmstadt.de
License: Apache
Description: <!---
        Copyright 2020 The AdapterHub Team. All rights reserved.
        
        Licensed under the Apache License, Version 2.0 (the "License");
        you may not use this file except in compliance with the License.
        You may obtain a copy of the License at
        
            http://www.apache.org/licenses/LICENSE-2.0
        
        Unless required by applicable law or agreed to in writing, software
        distributed under the License is distributed on an "AS IS" BASIS,
        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        See the License for the specific language governing permissions and
        limitations under the License.
        -->
        
        <p align="center">
        <img style="vertical-align:middle" src="https://raw.githubusercontent.com/Adapter-Hub/adapter-transformers/master/adapter_docs/logo.png" />
        </p>
        <h1 align="center">
        <span>adapter-transformers</span>
        </h1>
        
        <h3 align="center">
        A friendly fork of HuggingFace's <i>Transformers</i>, adding Adapters to PyTorch language models
        </h3>
        
        ![Tests](https://github.com/Adapter-Hub/adapter-transformers/workflows/Tests/badge.svg)
        [![GitHub](https://img.shields.io/github/license/adapter-hub/adapter-transformers.svg?color=blue)](https://github.com/adapter-hub/adapter-transformers/blob/master/LICENSE)
        [![PyPI](https://img.shields.io/pypi/v/adapter-transformers)](https://pypi.org/project/adapter-transformers/)
        
        `adapter-transformers` is an extension of [HuggingFace's Transformers](https://github.com/huggingface/transformers) library, integrating adapters into state-of-the-art language models by incorporating **[AdapterHub](https://adapterhub.ml)**, a central repository for pre-trained adapter modules.
        
        _💡 Important: This library can be used as a drop-in replacement for HuggingFace Transformers and regularly synchronizes new upstream changes.
        Thus, most files in this repository are direct copies from the HuggingFace Transformers source, modified only with changes required for the adapter implementations._
        
        ## Installation
        
        `adapter-transformers` currently supports **Python 3.6+** and **PyTorch 1.3.1+**.
        After [installing PyTorch](https://pytorch.org/get-started/locally/), you can install `adapter-transformers` from PyPI ...
        
        ```
        pip install -U adapter-transformers
        ```
        
        ... or from source by cloning the repository:
        
        ```
        git clone https://github.com/adapter-hub/adapter-transformers.git
        cd adapter-transformers
        pip install .
        ```
        
        ## Getting Started
        
        HuggingFace's great documentation on getting started with _Transformers_ can be found [here](https://huggingface.co/transformers/index.html). `adapter-transformers` is fully compatible with _Transformers_.
        
        To get started with adapters, refer to these locations:
        
        - **[Colab notebook tutorials](https://github.com/Adapter-Hub/adapter-transformers/tree/master/notebooks)**, a series notebooks providing an introduction to all the main concepts of (adapter-)transformers and AdapterHub
        - **https://docs.adapterhub.ml**, our documentation on training and using adapters with _adapter-transformers_
        - **https://adapterhub.ml** to explore available pre-trained adapter modules and share your own adapters
        - **[Examples folder](https://github.com/Adapter-Hub/adapter-transformers/tree/master/examples)** of this repository containing HuggingFace's example training scripts, many adapted for training adapters
        
        
        ## Citation
        
        If you use this library for your work, please consider citing our paper [AdapterHub: A Framework for Adapting Transformers](https://arxiv.org/abs/2007.07779):
        
        ```
        @inproceedings{pfeiffer2020AdapterHub,
            title={AdapterHub: A Framework for Adapting Transformers},
            author={Pfeiffer, Jonas and
                    R{\"u}ckl{\'e}, Andreas and
                    Poth, Clifton and
                    Kamath, Aishwarya and
                    Vuli{\'c}, Ivan and
                    Ruder, Sebastian and
                    Cho, Kyunghyun and
                    Gurevych, Iryna},
            booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations},
            pages={46--54},
            year={2020}
        }
        ```
        
Keywords: NLP deep learning transformer pytorch BERT adapters
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
Provides-Extra: ja
Provides-Extra: sklearn
Provides-Extra: tf
Provides-Extra: tf-cpu
Provides-Extra: torch
Provides-Extra: retrieval
Provides-Extra: flax
Provides-Extra: tokenizers
Provides-Extra: onnxruntime
Provides-Extra: onnx
Provides-Extra: modelcreation
Provides-Extra: sagemaker
Provides-Extra: deepspeed
Provides-Extra: fairscale
Provides-Extra: optuna
Provides-Extra: ray
Provides-Extra: sigopt
Provides-Extra: integrations
Provides-Extra: serving
Provides-Extra: audio
Provides-Extra: speech
Provides-Extra: torch-speech
Provides-Extra: tf-speech
Provides-Extra: flax-speech
Provides-Extra: vision
Provides-Extra: timm
Provides-Extra: codecarbon
Provides-Extra: sentencepiece
Provides-Extra: testing
Provides-Extra: quality
Provides-Extra: all
Provides-Extra: docs_specific
Provides-Extra: docs
Provides-Extra: dev
Provides-Extra: torchhub
