Fix bug for transformer version

#1

The same error occurred with the Qwen-2 model. I referenced the discussion at https://huggingface.co/infly/inf-retriever-v1-1.5b/discussions/2 and fixed the bug. The model now works successfully locally.

fishmingyu changed pull request status to open
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment