Skip to content

Commit e3cd868

Browse files
authored
Create deepseek-r1-distill-llama-8b
1 parent 9ceacc2 commit e3cd868

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
meta:
3+
title: Understanding the DeepSeek-R1-Distill-Llama-8B model
4+
description: Deploy your own secure DeepSeek-R1-Distill-Llama-8B model with Scaleway Managed Inference. Privacy-focused, fully managed.
5+
content:
6+
h1: Understanding the DeepSeek-R1-Distill-Llama-8B model
7+
paragraph: This page provides information on the DeepSeek-R1-Distill-Llama-8B model
8+
tags:
9+
dates:
10+
validation: 2025-02-06
11+
posted: 2025-02-06
12+
categories:
13+
- ai-data
14+
---
15+
16+
## Model overview
17+
18+
| Attribute | Details |
19+
|-----------------|------------------------------------|
20+
| Provider | [Deepseek](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-8B) |
21+
| License | [MIT](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/mit.md) |
22+
| Compatible Instances | L4, H100, H100-2 (FP8, BF16) |
23+
| Context Length | up to 32k tokens |
24+
25+
## Model names
26+
27+
```bash
28+
meta/deepseek-r1-distill-llama-8b:fp8
29+
meta/deepseek-r1-distill-llama-8b:bf16
30+
```
31+
32+
## Compatible Instances
33+
34+
| Instance type | Max context length |
35+
| ------------- |-------------|
36+
| L4 | 32k (FP8, BF16) |
37+
| H100 | 32k (FP8, BF16) |
38+
| H100-2 | 32k (FP8, BF16) |
39+
40+
## Model introduction
41+
42+
Released January 21, 2025, Deepseek’s R1 Distilled Llama 8B is a distilled version of Llama model family based on Deepseek R1.
43+
DeepSeek R1 Distill Llama 8B is designed to improve performance of Llama models on reasoning use case such as mathematics and coding tasks.
44+
45+
## Why is it useful?
46+
47+
It is great to see Deepseek improving open(weight) models, and we are excited to fully support their mission with integration in the Scaleway ecosystem.
48+
49+
- DeepSeek-R1-Distill-Llama was optimized to reach accuracy close to Deepseek-R1 in tasks like mathematics and coding, while keeping inference costs limited and tokens speed efficient.
50+
- DeepSeek-R1-Distill-Llama supports a context window up to 32K tokens and tool calling, keeping interaction with other components possible.
51+
52+
## How to use it
53+
54+
### Sending Managed Inference requests
55+
56+
To perform inference tasks with your DeepSeek R1 Distill Llama deployed at Scaleway, use the following command:
57+
58+
```bash
59+
curl -s \
60+
-H "Authorization: Bearer <IAM API key>" \
61+
-H "Content-Type: application/json" \
62+
--request POST \
63+
--url "https://<Deployment UUID>.ifr.fr-par.scaleway.com/v1/chat/completions" \
64+
--data '{"model":"deepseek/deepseek-r1-distill-llama-8b:fp8", "messages":[{"role": "user","content": "There is a llama in my garden, what should I do?"}], "max_tokens": 500, "temperature": 0.7, "stream": false}'
65+
```
66+
67+
Make sure to replace `<IAM API key>` and `<Deployment UUID>` with your actual [IAM API key](/iam/how-to/create-api-keys/) and the Deployment UUID you are targeting.
68+
69+
<Message type="note">
70+
Ensure that the `messages` array is properly formatted with roles (user, assistant) and content.
71+
</Message>
72+
73+
<Message type="tip">
74+
This model is better used without `system prompt`, as suggested by the model provider.
75+
</Message>
76+
77+
### Receiving Inference responses
78+
79+
Upon sending the HTTP request to the public or private endpoints exposed by the server, you will receive inference responses from the managed Managed Inference server.
80+
Process the output data according to your application's needs. The response will contain the output generated by the LLM model based on the input provided in the request.
81+
82+
<Message type="note">
83+
Despite efforts for accuracy, the possibility of generated text containing inaccuracies or [hallucinations](/managed-inference/concepts/#hallucinations) exists. Always verify the content generated independently.
84+
</Message>

0 commit comments

Comments
 (0)