Closed olenmg closed 3 years ago
Thanks for your response. I think it should be a package version problem from huggingface transformers. This codes should work fine with version after 4.3.0.
Thanks again for your careful checking! I think this may help other users to run the codes.
I raised this issue because the Transformers version is 3.0.2 in requirements.txt. Thanks for answering.
Hi, thanks for great codebase!
in
bert_out
method inPTuneForLAMA
class,output
object has no attributes(loss, logits) since it is tupleI think it should be changed like below
I checked this code works fine on my machine. Thank you again.
07.08 add
gpt_out()
also has a same issueIf the huggingface Transformers version is higher, it can be solved by giving the return_dict option
True