1 Simon Willison's Weblog
Abbey Imlay edited this page 1 month ago


That model was trained in part their unreleased R1 "reasoning" model. Today they've released R1 itself, together with an entire family of new designs obtained from that base.

There's an entire lot of things in the new release.

DeepSeek-R1-Zero appears to be the base model. It's over 650GB in size and, like most of their other releases, is under a tidy MIT license. DeepSeek alert that "DeepSeek-R1-Zero comes across challenges such as endless repeating, poor readability, and language blending." ... so they also launched:

DeepSeek-R1-which "includes cold-start information before RL" and "attains performance comparable to OpenAI-o1 throughout math, code, and reasoning jobs". That one is also MIT accredited, and is a comparable size.

I don't have the capability to run designs bigger than about 50GB (I have an M2 with 64GB of RAM), so neither of these 2 models are something I can easily have fun with myself. That's where the new distilled designs are available in.

To support the research neighborhood, we have open-sourced DeepSeek-R1-Zero, DeepSeek-R1, and 6 dense models distilled from DeepSeek-R1 based upon Llama and Qwen.

This is an interesting flex! They have actually models based upon Qwen 2.5 (14B, photorum.eclat-mauve.fr 32B, Math 1.5 B and Math 7B) and Llama 3 (Llama-3.1 8B and Llama 3.3 70B Instruct).

Weirdly those Llama models have an MIT license attached, which I'm uncertain is suitable with the underlying Llama license. Qwen designs are Apache licensed so maybe MIT is OK?

(I likewise just saw the MIT license files state "Copyright (c) 2023 DeepSeek" so they might require to pay a little bit more attention to how they copied those in.)

Licensing aside, these distilled models are interesting beasts.

Running DeepSeek-R1-Distill-Llama-8B-GGUF

Quantized variations are already starting to appear. So far I have actually tried just among those- unsloth/DeepSeek-R 1-Distill-Llama-8B-GGUF released by Unsloth AI-and it's truly enjoyable to have fun with.

I'm running it using the combination of Ollama, LLM and the llm-ollama plugin.

First I brought and ran the model using Ollama itself:

This downloads around 8.5 GB of design data and wiki.vst.hs-furtwangen.de starts an interactive chat user interface.

Once the model has been brought, LLM can speak to it as well. I choose using LLM for experiments since it logs everything to SQLite for later exploration.

I set up the plugin and ran it like this:

Each response begins with a ... pseudo-XML tag containing the chain of thought used to assist generate the action. For "a joke about a pelican and a walrus who run a tea room together" that started like this:

Okay, so I require to come up with a joke about a pelican and a walrus running a tea room together. Hmm, that's an interesting combination. Let me think about how these 2 characters might interact in a humorous scenario.

First, let's consider their qualities. Pelicans are understood for their long beaks and Webbed feet, typically seen near the beach or water. Walruses have huge teeth, thick fur, and they're usually found in chillier climates, like icebergs or qoocle.com snowy areas. So, combining these two into a tea space setting is already an amusing image.

[...]
It then thought for 20 paragraphs before outputting the joke! Here's the complete transcript and here's the output at the end, after the tag:

The Joke:

A pelican and a walrus choose to open a quaint little tea room together. The walrus, with its big size, struggles to discover comfy chairs, so it sits on the table by accident, overturning the teapot. Meanwhile, the pelican, trying to help, uses its beak to put dishes on the table, triggering a few spills.

After a series of funny mishaps, the walrus looks up and states with a smile, "This isn't so fishy any longer." The pelican smirks and remarks, "Maybe not, but we do have a lot of krill in our tea!"

Explanation:

- Setup: Pelican and Walrus run a not likely tea space. Their sizes result in comedic chaos.