--- tags: - adapterhub:af/cc100 - adapters - xmod language: - af license: "mit" --- # Adapter `AdapterHub/xmod-base-af_ZA` for xmod_output An [adapter](https://adapterhub.ml) for the `xmod_output` model that was trained on the [af/cc100](https://adapterhub.ml/explore/af/cc100/) dataset. This adapter was created for usage with the **[Adapters](https://github.com/Adapter-Hub/adapters)** library. ## Usage First, install `adapters`: ``` pip install -U adapters ``` Now, the adapter can be loaded and activated like this: ```python from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("xmod_output") adapter_name = model.load_adapter("AdapterHub/xmod-base-af_ZA", source="hf", set_active=True) ``` ## Architecture & Training ## Evaluation results ## Citation @inproceedings{pfeiffer-etal-2022-lifting, title = "Lifting the Curse of Multilinguality by Pre-training Modular Transformers", author = "Pfeiffer, Jonas and Goyal, Naman and Lin, Xi and Li, Xian and Cross, James and Riedel, Sebastian and Artetxe, Mikel", booktitle = "Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies", month = jul, year = "2022", address = "Seattle, United States", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2022.naacl-main.255", doi = "10.18653/v1/2022.naacl-main.255", pages = "3479--3495" }