| | --- |
| | tags: |
| | - distilbert |
| | - adapter-transformers |
| | datasets: |
| | - Sp1786 |
| | --- |
| | |
| | # Adapter `Kevinwzwu/my-compacter` for distilbert-base-uncased |
| |
|
| | An [adapter](https://adapterhub.ml) for the `distilbert-base-uncased` model that was trained on the [Sp1786](https://huggingface.co/datasets/Sp1786/) dataset and includes a prediction head for classification. |
| |
|
| | 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("distilbert-base-uncased") |
| | adapter_name = model.load_adapter("Kevinwzwu/my-compacter", source="hf", set_active=True) |
| | ``` |
| |
|
| | ## Architecture & Training |
| |
|
| | <!-- Add some description here --> |
| |
|
| | ## Evaluation results |
| |
|
| | <!-- Add some description here --> |
| |
|
| | ## Citation |
| |
|
| | <!-- Add some description here --> |