Skip to content
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

How can I use Qwen2.5-Coder 32B in Cursor? #159

Open
IamTirion opened this issue Nov 13, 2024 · 2 comments
Open

How can I use Qwen2.5-Coder 32B in Cursor? #159

IamTirion opened this issue Nov 13, 2024 · 2 comments

Comments

@IamTirion
Copy link

https://qwenlm.github.io/zh/blog/qwen2.5-coder-family/#qwen25-coder--cursor

As shown here. May I ask how Qwen2.5-Coder 32B be used in Cursor? I do not see it in the models list.

@cyente
Copy link
Collaborator

cyente commented Nov 13, 2024

Hi, your can deploy Qwen2.5-Coder-32B-instruct in openai api format.

For example, you can try aliyun product, ``dashscope'', check it out here https://help.aliyun.com/zh/model-studio/user-guide/qwen-coder?spm=a2c4g.11186623.0.0.ce3c4823oIqYUF .

step 1: regist aliyun account and activate daschope get the DASHSCOPE_API_KEY;

step2: open the ``Preferences>Cursor Settings''

step3: add model name you want to used such as qwen-coder-plus, qwen2.5-coder-32b-instruct, choose one from here https://help.aliyun.com/zh/model-studio/user-guide/qwen-coder?spm=a2c4g.11186623.0.0.ce3c4823oIqYUF.

step4: Override openai base url with dashscope's compatible mode with openai api, ``https://dashscope.aliyuncs.com/compatible-mode/v1''.

step5: fill your DASHSCOPE_API_KEY in openai api key.

image

@IamTirion
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants