Skip to main content
Groq retired the source’s Qwen-2.5-32b model in April 2025. Replace it with qwen/qwen3.6-27b. See Groq deprecations.
demo_qwen_2_5_32B.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run PgVector

5

Replace Qwen 2.5 32B

Replace Qwen-2.5-32b with qwen/qwen3.6-27b in the saved file.
6

Run the example

Save the code above as demo_qwen_2_5_32B.py, then run:
Full source: cookbook/90_models/groq/reasoning/demo_qwen_2_5_32B.py