1 Simon Willison's Weblog
Swen Benny edited this page 2 months ago


That design was trained in part using their unreleased R1 "reasoning" model. Today they've launched R1 itself, along with a whole household of new models obtained from that base.

There's a whole lot of things in the new release.

DeepSeek-R1-Zero seems the base model. It's over 650GB in size and, like the majority of their other releases, is under a tidy MIT license. DeepSeek alert that "DeepSeek-R1-Zero encounters difficulties such as limitless repeating, bad readability, and language blending." ... so they likewise released:

DeepSeek-R1-which "incorporates cold-start information before RL" and "attains performance comparable to OpenAI-o1 throughout mathematics, code, and thinking tasks". That a person is likewise MIT certified, 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 two models are something I can easily have fun with myself. That's where the new distilled designs are available in.

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

This is a fascinating flex! They have designs based upon Qwen 2.5 (14B, 32B, yewiki.org 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 possibly MIT is OK?

(I also just discovered 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 remarkable monsters.

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

Quantized variations are already beginning to show up. Up until now I have actually attempted simply among those- unsloth/DeepSeek-R 1-Distill-Llama-8B-GGUF released by Unsloth AI-and it's truly fun to play with.

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

First I brought and ran the model utilizing Ollama itself:

This downloads around 8.5 GB of design information and begins an interactive chat user interface.

Once the model has actually been brought, LLM can speak with it also. I choose utilizing LLM for experiments due to the fact that it logs whatever to SQLite for later expedition.

I installed the plugin and ran it like this:

Each reaction begins with a ... pseudo-XML tag containing the chain of thought utilized to help produce the reaction. For "a joke about a pelican and a walrus who run a tea space together" that began like this:

Okay, so I need to come up with a joke about a pelican and a walrus running a tea space together. Hmm, that's an intriguing mix. Let me think about how these 2 characters might engage in a funny situation.

First, let's consider their attributes. Pelicans are known for their long beaks and Webbed feet, frequently seen near the beach or water. Walruses have huge teeth, thick fur, and they're normally found in cooler environments, like icebergs or snowy areas. So, integrating these two into a tea space setting is currently an amusing image.

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

The Joke:

A pelican and a to open a quaint little tea space together. The walrus, with its big size, forum.altaycoins.com has a hard time to find comfy chairs, so it sits on the table by accident, knocking over the teapot. Meanwhile, the pelican, attempting to help, uses its beak to position saucers on the table, triggering a couple of spills.

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

Explanation:

- Setup: Pelican and Walrus run an unlikely tea room. Their sizes lead to comedic chaos.