1 Simon Willison's Weblog
staceyhandcock edited this page 2025-02-11 10:31:25 +00:00


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

There's a whole lot of stuff in the brand-new release.

DeepSeek-R1-Zero seems the base model. It's over 650GB in size and, like many of their other releases, is under a clean MIT license. DeepSeek caution that "DeepSeek-R1-Zero experiences obstacles such as limitless repetition, bad readability, and language blending." ... so they likewise launched:

DeepSeek-R1-which "integrates cold-start information before RL" and "attains efficiency similar to OpenAI-o1 across mathematics, code, and reasoning tasks". That one is also MIT accredited, and is a comparable size.

I don't have the ability to run designs larger than about 50GB (I have an M2 with 64GB of RAM), so neither of these two designs are something I can easily play 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 6 thick designs distilled from DeepSeek-R1 based upon Llama and Qwen.

This is a remarkable flex! They have actually designs based upon Qwen 2.5 (14B, 32B, Math 1.5 B and Math 7B) and Llama 3 (Llama-3.1 8B and Llama 3.3 70B Instruct).

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

(I likewise simply noticed 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 designs are fascinating monsters.

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

are already beginning to appear. Up until now I've tried just among those- unsloth/DeepSeek-R 1-Distill-Llama-8B-GGUF launched by Unsloth AI-and it's really fun to play with.

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

First I fetched and ran the design utilizing Ollama itself:

This downloads around 8.5 GB of model information and starts an interactive chat interface.

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

I set up the plugin and ran it like this:

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

Okay, so I need to come up with a joke about a pelican and a walrus running a tea room together. Hmm, that's an intriguing combination. Let me believe about how these two characters may interact in a humorous situation.

First, let's consider their attributes. 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 typically found in cooler environments, like icebergs or snowy locations. So, integrating these 2 into a tea room setting is currently a funny image.

[...]
It then believed for 20 paragraphs before outputting the joke! Here's the complete records 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 huge size, struggles to find comfortable chairs, so it rests on the table by accident, overturning the teapot. Meanwhile, the pelican, attempting to help, utilizes its beak to put saucers on the table, causing a couple of spills.

After a series of funny incidents, the walrus searches for and says with a smile, "This isn't so fishy any longer." The pelican smirks and remarks, "Maybe not, however we do have a great deal of krill in our tea!"

Explanation:

- Setup: Pelican and Walrus run an unlikely tea room. Their sizes cause comical chaos.