**QwQ-32B-Preview** is an experimental research model developed by the Qwen Team, focused on advancing AI reasoning capabilities. As a preview release, it demonstrates promising analytical abilities while having several important limitations:
Apps Using This
Get started with code samples in your preferred language
Basic example of chat with the selected model
1curl https://api.targon.com/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer YOUR_API_KEY" \
4 -N \
5 -d '{
6 "model": "Qwen/QwQ-32B-Preview",
7 "stream": true,
8 "messages": [
9 {"role": "system", "content": "You are a helpful programming assistant."},
10 {"role": "user", "content": "Write a bubble sort implementation in Python with comments explaining how it works"}
11 ],
12 "temperature": 0.7,
13 "max_tokens": 256,
14 "top_p": 0.1,
15 "frequency_penalty": 0,
16 "presence_penalty": 0
17 }'
Basic example of completions with the selected model
1curl https://api.targon.com/v1/completions \
2 -H "Content-Type: application/json" \
3 -H "Authorization: Bearer YOUR_API_KEY" \
4 -N \
5 -d '{
6 "model": "Qwen/QwQ-32B-Preview",
7 "stream": true,
8 "prompt": "The x y problem is",
9 "temperature": 0.7,
10 "max_tokens": 256,
11 "top_p": 0.1,
12 "frequency_penalty": 0,
13 "presence_penalty": 0
14 }'