Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
johnymontana committed Jan 27, 2025
1 parent 048ae4b commit 0c01fa1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions modus/deepseek-model.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ coding. Benefits of DeepSeek include:
- **Performance**: `DeepSeek-R1` achieves comparable results to OpenAI's o1
model on several benchmarks.
- **Efficiency**: The model uses significantly fewer parameters and therefore
operates at a lower costs relative to competing frontier models.
operates at a lower cost relative to competing frontier models.
- **Open Source**: The open source license allows both commercial and
non-commercial usage of the model weights and associated code.
- **Novel training approach**: The research team developed DeepSeek-R1 through a
multi-stage approach that combines reinforcement learning, fine-tuning, and
data distillation. distillation.
data distillation.
- **Distilled versions**: The DeepSeek team released smaller, distilled models
based on DeepSeek-R1 that offer high reasoning capabilities with fewer
parameters.
Expand All @@ -26,14 +26,14 @@ In this guide we review how to use the `DeepSeek-R1` model in your Modus app.

## Options for using DeepSeek with Modus

There are two options for invoking `DeepSeek-R1` in your Modus app:
There are two options for using `DeepSeek-R1` in your Modus app:

1. [Use the distilled `DeepSeek-R1` model hosted by Hypermode](#using-the-distilled-deepseek-model-hosted-by-hypermode)
Hypermode hosts and makes available the distilled DeepSeek model based on
`Llama-3.1-8B` enabling Modus apps to use it in both local development
environments and deployed applications.

2. [Use the DeepSeek API with your Modus app](#using-the-deepseek-platform-api-with-modus)
2. [Use the DeepSeek Platform API with your Modus app](#using-the-deepseek-platform-api-with-modus)
Access DeepSeek models hosted on the DeepSeek platform by configuring a
DeepSeek connection in your Modus app and using your DeepSeek API key

Expand All @@ -44,9 +44,9 @@ Hypermode as a [shared model](/hosted-models#shared-models). This means that we
can invoke this model in a Modus app in both a local development environment and
also in an app deployed on Hypermode.

The `DeepSeek-R1-Distill-Llama-8B` is a distilled version of the DeepSeek-R1
model which has been fine-tuned using the `Llama-3.1-8B` model as a base model,
using samples generated by DeepSeek-R1.
The `DeepSeek-R1-Distill-Llama-8B` model is a distilled version of the
DeepSeek-R1 model which has been fine-tuned using the `Llama-3.1-8B` model as a
base model, using samples generated by DeepSeek-R1.

Distilled models offer similar high reasoning capabilities with fewer
parameters.
Expand Down Expand Up @@ -234,8 +234,8 @@ This example demonstrated how to use the DeepSeek-R1 Distilled Model hosted by
Hypermode in a Modus app to create an endpoint that returns text generated by
the DeepSeek model. More advanced use cases for leveraging the DeepSeek
reasoning models in your Modus app include workflows like tool use / function
calling, generated structured outputs, problem solving, code generation, and
much more. [Let us know](mailto:hello@hypermode?subject=DeepSeek+Modus) how
calling, generating structured outputs, problem solving, code generation, and
much more. [Let us know](mailto:hello@hypermode.com?subject=DeepSeek+Modus) how
you're leveraging DeepSeek with Modus.

## Using the DeepSeek platform API with Modus
Expand All @@ -245,8 +245,8 @@ your Modus app. You'll need to create an account with DeepSeek Platform and pay
for your model usage.

<Steps>
<Step title="Create a DeepSeek API token">
Create an account with [DeepSeek Platform](https://platform.deepseek.com/usage).
<Step title="Create a DeepSeek API key">
Create an account with [DeepSeek Platform](https://platform.deepseek.com).

Once you've signed in select the "API keys" tab and "Create new API token" to
generate your DeepSeek Platform API token.
Expand Down Expand Up @@ -442,9 +442,9 @@ select "Run" to invoke the DeepSeek model.
This example demonstrated how to use the DeepSeek Platform API in a Modus app to
create an endpoint that returns text generated by the DeepSeek-R1 model. More
advanced use cases for leveraging the DeepSeek reasoning models in your Modus
app include workflows like tool use / function calling, generated structured
app include workflows like tool use / function calling, generating structured
outputs, problem solving, code generation, and much more.
[Let us know](mailto:hello@hypermode?subject=DeepSeek+Modus) how you're
[Let us know](mailto:hello@hypermode.com?subject=DeepSeek+Modus) how you're
leveraging DeepSeek with Modus.

## Resources
Expand Down

0 comments on commit 0c01fa1

Please sign in to comment.