Open velocityCavalry opened 1 year ago
im getting the same problem for XGen, I'm thinking it might be a dependency on transformers and tiktoken previous versions
UPDATE: Soved it, looks like something is not working with transformers so we need to specify the version pip install transformers==4.33.2
Correct, there was a breaking change in transformers that changed the order of variable declarations within PretrainedTokenizer. On it.
im getting the same problem for XGen, I'm thinking it might be a dependency on transformers and tiktoken previous versions
UPDATE: Soved it, looks like something is not working with transformers so we need to specify the version pip install transformers==4.33.2
Hi, I meet the same error, only this one version work?
Hi! I am using transformers 4.34 and tiktoken 0.4.0. I am trying to download the tokenizer for CodeGen 2.5, but when I run the command in the tutorial
I tried to delete the cache but it doesn't seem to be working.. Running
tokenizer = AutoTokenizer.from_pretrained("Salesforce/codegen25-7b-mono")
givesValueError: Tokenizer class CodeGen25Tokenizer does not exist or is not currently imported.
So I wonder whether anyone else has encountered this issue, and if yes, how can I solve it, thank you so much!