DeepSeek-R1-Distill-Qwen-1_5B

DeepSeek-R1-Distill-Qwen-1_5B is a 1.5B-parameter dense model distilled from DeepSeek-R1 based on Qwen-1.5B.

Input

Prompt

Press Ctrl + Enter to submit

Output

Submit a prompt for a response.

Notes

DeepSeek-R1-Distill-Qwen-1_5B

Model Source

DeepSeek-R1-Distill-Qwen-1_5B is a 1.5B-parameter dense model distilled from DeepSeek-R1 based on Qwen-1.5B.

Export your PAT as an environment variable. Then, import and initialize the API Client.

Find your PAT in your security settings.

export CLARIFAI_PAT={your personal access token}

Running the API with Clarifai's Python SDK

# Please run `pip install -U clarifai` before running this script
from clarifai.client import Model
from clarifai_grpc.grpc.api.status import status_code_pb2


model = Model(url="https://clarifai.com/deepseek-ai/deepseek-chat/models/DeepSeek-R1-Distill-Qwen-1_5B")
prompt = "What’s the future of AI?"

results = model.generate_by_bytes(prompt.encode("utf-8"), "text")

for res in results:
  if res.status.code == status_code_pb2.SUCCESS:
    print(res.outputs[0].data.text.raw, end='', flush=True)

  • ID
  • Model Type ID
    Text To Text
  • Input Type
    text
  • Output Type
    text
  • Description
    DeepSeek-R1-Distill-Qwen-1_5B is a 1.5B-parameter dense model distilled from DeepSeek-R1 based on Qwen-1.5B.
  • Last Updated
    Jan 29, 2025
  • Privacy
    PUBLIC
  • Use Case
  • Toolkit
  • License
  • Share
  • Badge
    DeepSeek-R1-Distill-Qwen-1_5B