When I tried your command for wikiQA t5 prefix, I got the following error:
File "/home/pouramini/UnifiedSKG/models/unified/prefixtuning.py", line 8, in <module>
from ..prompt.modeling_auto import AutoModelForSeq2SeqLM
File "/home/pouramini/UnifiedSKG/models/prompt/modeling_auto.py", line 34, in <module>
from .modeling_bart import (
File "/home/pouramini/UnifiedSKG/models/prompt/modeling_bart.py", line 1162, in <module>
class BartModel(BartPretrainedModel):
File "/home/pouramini/UnifiedSKG/models/prompt/modeling_bart.py", line 1189, in BartModel
@add_code_sample_docstrings(
TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class
The transformers library removed this doc string in newer versions. You can 1) use the transformers version as specified in our yml file or 2) manually remove the doc string.
When I tried your command for wikiQA t5 prefix, I got the following error: