https://github.com/adapter-hub/hub

ARCHIVED. Please use https://docs.adapterhub.ml/huggingface_hub.html || 🔌 A central repository collecting pre-trained adapter modules

https://github.com/adapter-hub/hub

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.4%) to scientific vocabulary

Keywords

adapter-hub adapters natural-language-processing nlp
Last synced: 5 months ago · JSON representation

Repository

ARCHIVED. Please use https://docs.adapterhub.ml/huggingface_hub.html || 🔌 A central repository collecting pre-trained adapter modules

Basic Info
Statistics
  • Stars: 68
  • Watchers: 6
  • Forks: 43
  • Open Issues: 0
  • Releases: 0
Archived
Topics
adapter-hub adapters natural-language-processing nlp
Created over 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

IMPORTANT NOTE

Contributing new adapters via this repository is no longer supported. Please upload all new adapters to HuggingFace's Model Hub as described in https://docs.adapterhub.ml/huggingface_hub.html.

This repository will be kept available as an archive of existing contributed adapters.


AdapterHub

Website   •   Documentation   •   Library

You have just found "the Hub", the central GitHub repository collecting all adapter modules available via the AdapterHub platform.

📍 If you're here because you would like to add you own adapter to AdapterHub: Great! This is exactly the place to go! Refer to our documentation on how to get started.

🔎 If you're searching for the code of AdapterHub: Please go to https://github.com/adapter-hub/adapter-transformers.

❓ If you're here but don't know what all of the above is about: No problem! Check out our website at https://adapterhub.ml and our documentation at https://docs.adapterhub.ml to learn about AdapterHub and to get started.

Structure of this Repository

This repository is divided into the following subfolders:

  • TEMPLATES contains templates for all different YAML info cards in this repository. We highly recommend you to use one of the available templates when adding your adapter, architecture, task etc. Auto-generated, do not modify anything here!

  • adapter_types contains info cards for all types of adapters supported by our framework

  • adapters is the place where all adapter info cards should go

  • architectures contains info cards for all available adapter architectures. Add your own architecture here!

  • dist contains generated files for adapters and architectures. Auto-generated, do not modify anything here!

  • scripts contains script for validating the submitted adapters and info cards

  • subtasks contains info cards for all available subtasks

  • tasks contains info cards for all available tasks

How To Contribute

Refer to the step-by-step guides in our documentation on how to contribute your adapters to the Hub.

Our template files are a good way to get started with any contribution to this repo.

AdapterHub CLI

The AdapterHub CLI provides command-line tools to help you contributing to the Hub, such as packaging adapters or validating filled-out yaml files.

To install the CLI from the cloned repository, you can run the following in this folder: pip install -U ./scripts/. Alternatively, you can install the CLI using: pip install -U git+https://github.com/adapter-hub/hub.git#subdirectory=scripts

Now you can use the pack pack command to interactively prepare your adapters for upload and submission to the Hub: adapter-hub-cli pack <folder_with_models_or_adapters>

To validate yaml files, run: adapter-hub-cli check path/to/adapter.yaml

Read more about the AdapterHub CLI in the documentation.

Citation

Please cite our paper when using AdapterHub for your work:

@inproceedings{pfeiffer2020AdapterHub, title={{AdapterHub: A Framework for Adapting Transformers}}, author={Jonas Pfeiffer and Andreas R\"uckl\'{e} and Clifton Poth and Aishwarya Kamath and Ivan Vuli\'{c} and Sebastian Ruder and Kyunghyun Cho and Iryna Gurevych}, booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP 2020): Systems Demonstrations}, year={2020}, address = "Online", publisher = "Association for Computational Linguistics", url = "https://www.aclweb.org/anthology/2020.emnlp-demos.7", pages = "46--54", }

Owner

  • Name: AdapterHub
  • Login: adapter-hub
  • Kind: organization
  • Location: Germany

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 20
  • Total pull requests: 61
  • Average time to close issues: 8 months
  • Average time to close pull requests: 9 days
  • Total issue authors: 8
  • Total pull request authors: 13
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.41
  • Merged pull requests: 56
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Darshan2104 (3)
  • JoelNiklaus (1)
  • whisere (1)
  • kabirahuja2431 (1)
  • bhavitvyamalik (1)
  • NotNANtoN (1)
  • dainis-boumber (1)
  • mbrukman (1)
Pull Request Authors
  • calpt (16)
  • JoPfeiff (8)
  • hSterz (4)
  • arueckle (3)
  • NirantK (2)
  • kabirahuja2431 (2)
  • mapmeld (2)
  • vblagoje (2)
  • davanstrien (1)
  • gregor-ge (1)
  • martiansideofthemoon (1)
  • yifan-h (1)
  • till0r (1)
Top Labels
Issue Labels
Pull Request Labels
area/adapter (25) area/task (20) area/core (3) area/architecture (2)

Dependencies

scripts/requirements.txt pypi
  • jsonschema *
  • torch *
  • twython *
scripts/setup.py pypi
  • PyInquirer *
  • adapter-transformers *
  • colorama *
  • for *
  • jsonschema *
  • ruamel.yaml *
.github/workflows/check_adapter.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • calpt/get-changed-files master composite
.github/workflows/check_format.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • calpt/get-changed-files master composite
.github/workflows/generate.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • peter-evans/repository-dispatch v1 composite
.github/workflows/generate_templates.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/trigger_website_only.yml actions
  • peter-evans/repository-dispatch v1 composite