Model Details
Full Model IDQwen/Qwen2-1.5B-Instruct
Pipeline / Tasktext-generation
Librarytransformers
Downloads (all-time)4.4M
Likes162
Last Modified6/6/2024
Author / OrgQwen
PrivateNo � public
⚡ Quick Usage (Python)
Using the 🤗 Transformers library. Install with pip install transformers
from transformers import pipeline
# Load the model
pipe = pipeline("text-generation", model="Qwen/Qwen2-1.5B-Instruct")
# Run inference
result = pipe("Your input here")
print(result)����� Tags
transformerssafetensorsqwen2text-generationchatconversationalenlicense:apache-2.0text-generation-inferenceendpoints_compatibledeploy:azureregion:us
More Text Generation Models
See all →🚀 Use This Model
Access model files, inference API, and full documentation on Hugging Face.
Open on Hugging Face →Browse Model Files ↗�� Browse All Models���� Task: Text Generation
This model is designed for the Text Generation task. Explore more models for this use case.
All Text Generation Models →📊 Popularity
⬇ Downloads4.4M
����� Community Likes162
🛠�� Requirements
- →Install: pip install transformers
- →Python 3.8+ recommended for Transformers.
- →GPU (CUDA) speeds up inference significantly.
- →Use model.half() for fp16 on limited VRAM.