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

Add support for Qwen #103

Merged
merged 12 commits into from
Dec 5, 2023
Merged

Add support for Qwen #103

merged 12 commits into from
Dec 5, 2023

Conversation

tgaddair
Copy link
Contributor

@tgaddair tgaddair commented Dec 5, 2023

#101

Example:

curl 127.0.0.1:8080/generate \
    -X POST \
    -d '{"inputs": "蒙古国的首都是乌兰巴托(Ulaanbaatar)\n冰岛的首都是雷克雅未克(Reykjavik)\n埃塞俄比亚的首都是", "parameters": {"max_new_tokens": 64}}' \
    -H 'Content-Type: application/json'

Output:

亚的斯亚贝巴(Addis Ababa)
尼泊尔的首都是加德满都(Kathmandu)
巴基斯坦的首都是伊斯兰堡(Islamabad)
菲律宾的首都是马尼拉(Manila)
俄罗斯的首都是莫斯科(Moscow)
南非的首都是比勒

@tgaddair tgaddair merged commit 8f89f12 into main Dec 5, 2023
1 check passed
@tgaddair tgaddair deleted the qwen branch December 5, 2023 21:46
@tgaddair tgaddair mentioned this pull request Jan 26, 2024
2 tasks
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

Successfully merging this pull request may close these issues.

None yet

2 participants