lucataco / deepseek-r1-70b

DeepSeek's first generation reasoning models with comparable performance to OpenAI-o1 (Updated 4 months, 4 weeks ago)

  • Public
  • 1.9K runs
  • GitHub
  • Weights
  • License
Iterate in playground

Input

*string
Shift + Return to add a new line

Input text for the model

integer
(minimum: 1, maximum: 8192)

Maximum number of tokens it is allowed to generate

Default: 512

integer

0 for Random seed

Default: 42

Including top_p and 2 more...

Output

<think> 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. </think> **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) \times (-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 \text{or} \quad x - 2 = 0 \] \[ x = 1 \quad \text{or} \quad x = 2 \] 3. **Final Answer:** The solutions to the equation \( x^2 - 3x + 2 = 0 \) are: \[ \boxed{x = 1 \quad \text{and} \quad x = 2} \]
Generated in

Run time and cost

This model costs approximately $0.041 to run on Replicate, or 24 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 43 seconds. The predict time for this model varies significantly based on the inputs.

Readme

About

This is a Cog implementation of Ollama’s deepseek-r1 70b model using the default Q4_K_M weights

Description:

DeepSeek’s first-generation reasoning models, achieving performance comparable to OpenAI-o1 across math, code, and reasoning tasks.