-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
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
BUG: fix embedding model gte-Qwen2 dimensions #2479
Conversation
fix embedding model gte-Qwen2 dimensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right
I don't know if this PR conforms to the project rules, please point out if there is anything wrong |
i dont know why the python3.11 check fail. it seems like not problems with the code. |
That's OK, can you run This will change many files, you can revert others but the |
BUG: fix embedding model gte-Qwen2 dimensions
I ran the code locally and got an error, so I manually adjusted the contents of the file, not sure if it was appropriate? window pc,The error information is as follows: PS D:\work\code\inference\doc\source> python .\gen_docs.py
Traceback (most recent call last):
File "D:\work\code\inference\doc\source\gen_docs.py", line 284, in <module>
main()
File "D:\work\code\inference\doc\source\gen_docs.py", line 54, in main
models = json.load(model_file)
File "C:\Users\liujincheng\.conda\envs\openaitest\lib\json\__init__.py", line 293, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 7227: illegal multibyte sequence |
Should be OK, let's wait for CI to complete. |
so cool, my first pr is coming soon... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for your contribution!
thank you vary much ! happy 1024 day! @qinxuye |
Fixes #2471
fix embedding model gte-Qwen2 dimensions
base on the right message:
https://huggingface.co/Alibaba-NLP/gte-Qwen1.5-7B-instruct
https://modelscope.cn/models/iic/gte_Qwen1.5-7B-instruct/summary