lucataco/deepseek-r1-70b 🔢📝 → 📝

▶️ 1.9K runs 📅 Jan 2025 ⚙️ Cog 0.13.6 🔗 GitHub ⚖️ License
code-generation reasoning text-generation

About

DeepSeek's first generation reasoning models with comparable performance to OpenAI-o1

Example Output

Prompt:

"solve the equation x^2 - 3x + 2 = 0"

Output

To solve the quadratic equation \( x^2 - 3x + 2 = 0 \), I'll start by recognizing that it fits the standard quadratic form \( ax^2 + bx + c = 0 \).

Next, I'll use the factoring method to factorize the quadratic expression. I'll look for two numbers that multiply to give 2 (the constant term) and add up to -3 (the coefficient of the x-term). The numbers -1 and -2 satisfy these conditions.

After factoring, the equation becomes ( (x - 1)(x - 2) = 0 ). Setting each factor equal to zero gives the potential solutions for x.

Finally, I'll solve each simple equation to find the roots of the quadratic equation. This will provide the complete solution set.

Solution:

We are given the quadratic equation:
[ x^2 - 3x + 2 = 0 ]

To solve for ( x ), we can factor the quadratic equation.

  1. Factor the Quadratic:

    We look for two numbers that multiply to ( 2 ) (the constant term) and add up to ( -3 ) (the coefficient of the ( x )-term).

    The numbers ( -1 ) and ( -2 ) satisfy these conditions:
    [ (-1) imes (-2) = 2 ]
    [ (-1) + (-2) = -3 ]

    Therefore, the equation can be factored as:
    [ (x - 1)(x - 2) = 0 ]

  2. Find the Roots:

    Set each factor equal to zero:
    [ x - 1 = 0 \quad ext{or} \quad x - 2 = 0 ]
    [ x = 1 \quad ext{or} \quad x = 2 ]

  3. Final Answer:

    The solutions to the equation ( x^2 - 3x + 2 = 0 ) are:
    [
    \boxed{x = 1 \quad ext{and} \quad x = 2}
    ]

Performance Metrics

30.99s Prediction Time
104.75s Total Time
All Input Parameters
{
  "seed": 42,
  "top_p": 1,
  "prompt": "solve the equation x^2 - 3x + 2 = 0",
  "max_tokens": 512,
  "temperature": 1,
  "repeat_penalty": 1
}
Input Parameters
seed Type: integerDefault: 42
0 for Random seed
top_p Type: numberDefault: 1Range: 0 - 1
Controls diversity of the output. Lower values make the output more focused, higher values make it more diverse.
prompt (required) Type: string
Input text for the model
max_tokens Type: integerDefault: 512Range: 1 - 8192
Maximum number of tokens it is allowed to generate
temperature Type: numberDefault: 1Range: 0 - 2
Controls randomness. Lower values make the model more deterministic, higher values make it more random.
repeat_penalty Type: numberDefault: 1Range: 0 - 2
Helps to reduce the repetition of tokens from the input. A higher value makes the model less likely to repeat tokens
Output Schema

Output

Type: arrayItems Type: string

Example Execution Logs
Using seed: 42
Version Details
Version ID
656b5ca19031ecadf6de648f81c7af84cba66eb7a1328fa863d0282a6fa7da7b
Version Created
January 21, 2025
Run on Replicate →