We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adapter-transformers
Model I am using (Bert, XLNet ...): T5
Language I am using the model on (English, Chinese ...): English
Adapter setup I am using (if any): prefix-tuning
The problem arises when using:
The tasks I am working on is:
Steps to reproduce the behavior:
This is the prefix_config.json
{ "architecture": "prefix_tuning", "encoder_prefix": true, "cross_prefix": true, "leave_out": [], "flat": false, "prefix_length": 30, "bottleneck_size": 512, "non_linearity": "tanh", "dropout": 0.0 }
This line (https://github.com/adapter-hub/adapter-transformers/blob/master/src/transformers/adapters/prefix_tuning.py#L49) does not work for data parallel. We need to update it to be something similar to (https://github.com/huggingface/transformers/blob/1c220ced8ecc5f12bc979239aa648747411f9fc4/src/transformers/modeling_utils.py#L121).
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Environment info
adapter-transformers
version: 3.0.1Information
Model I am using (Bert, XLNet ...): T5
Language I am using the model on (English, Chinese ...): English
Adapter setup I am using (if any): prefix-tuning
The problem arises when using:
The tasks I am working on is:
To reproduce
Steps to reproduce the behavior:
This is the prefix_config.json
This line (https://github.com/adapter-hub/adapter-transformers/blob/master/src/transformers/adapters/prefix_tuning.py#L49) does not work for data parallel. We need to update it to be something similar to (https://github.com/huggingface/transformers/blob/1c220ced8ecc5f12bc979239aa648747411f9fc4/src/transformers/modeling_utils.py#L121).
The text was updated successfully, but these errors were encountered: