Qwen 2.5 72B logo

Qwen 2.5 72B

Powerful multilingual model with superior programming and mathematical reasoning

Model Details

A sophisticated language model that delivers exceptional performance in software development, mathematical computation, and following complex instructions. Demonstrates strong capabilities in producing extended content, interpreting tabular information, and creating well-formatted JSON responses. Robust handling of varied prompt styles enables effective deployment in conversational AI and specialized role-based applications.

Parameters

72.7 billion

Context Window

128k tokens

Recommended Use

Ideal for complex reasoning tasks, advanced coding applications, mathematical problems, structured data processing, and long-form content generation.

Supported Languages

Multilingual support for 29+ languages including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more

Usage Examples

Installation:

pip install tinfoil

Inference:

from tinfoil import TinfoilAI

client = TinfoilAI(
    enclave="qwen2-5-72b.model.tinfoil.sh",
    repo="tinfoilsh/confidential-qwen2-5-72b",
    api_key="YOUR_API_KEY",
)

chat_completion = client.chat.completions.create(
    messages=[
        {
            "role": "user",
            "content": "Hello!",
        }
    ],
    model="qwen2-5-72b",
)
print(chat_completion.choices[0].message.content)