1 Simon Willison's Weblog
fnklincoln988 edited this page 2025-02-10 00:01:13 +08:00


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

There's a great deal of stuff in the brand-new release.

DeepSeek-R1-Zero seems the base model. It's over 650GB in size and, like most of their other releases, is under a tidy MIT license. DeepSeek warn that "DeepSeek-R1-Zero comes across obstacles such as unlimited repetition, bad readability, and language mixing." ... so they also released:

DeepSeek-R1-which "integrates cold-start data before RL" and "attains efficiency equivalent to OpenAI-o1 across mathematics, code, and thinking tasks". That one is likewise MIT accredited, and is a similar size.

I do not have the capability to run models larger than about 50GB (I have an M2 with 64GB of RAM), so neither of these 2 designs are something I can easily have fun with myself. That's where the brand-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 on Llama and Qwen.

This is an interesting flex! They have models based on 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 models have an MIT license attached, which I'm uncertain is compatible with the underlying Llama license. Qwen models are Apache accredited so possibly MIT is OK?

(I also just noticed the MIT license files state "Copyright (c) 2023 DeepSeek" so they may 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 versions are already starting to appear. Up until now I've attempted just one of those- unsloth/DeepSeek-R 1-Distill-Llama-8B-GGUF released by Unsloth AI-and it's actually fun to play with.

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

First I fetched and ran the model utilizing Ollama itself:

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

Once the design has been fetched, wiki.rolandradio.net LLM can speak to it too. I prefer utilizing LLM for experiments since it logs whatever to SQLite for later expedition.

I set up the plugin and ran it like this:

Each action starts with a ... pseudo-XML tag containing the chain of thought utilized to help generate the response. 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 room together. Hmm, that's a fascinating combination. Let me believe about how these 2 characters may connect in a funny situation.

First, let's consider their attributes. Pelicans are known for their long beaks and Webbed feet, often seen near the beach or water. Walruses have big teeth, thick fur, and wiki.dulovic.tech they're normally discovered in cooler climates, like icebergs or snowy locations. So, integrating these 2 into a tea room setting is currently an amusing image.

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

The Joke:

A pelican and a walrus decide to open a quaint little tea room together. The walrus, with its big size, struggles to find comfortable chairs, so it sits on the table by accident, knocking over the teapot. Meanwhile, the pelican, trying to assist, utilizes its beak to put dishes on the table, causing a few spills.

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

Explanation:

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