Simon Willison's Weblog
Annett Goudie heeft deze pagina aangepast 6 maanden geleden


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

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

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

DeepSeek-R1-which "incorporates cold-start data before RL" and "attains performance comparable to OpenAI-o1 throughout mathematics, code, and thinking jobs". That a person is also MIT certified, and is a comparable size.

I don't have the ability to run models larger than about 50GB (I have an M2 with 64GB of RAM), so neither of these two designs are something I can quickly have fun with myself. That's where the brand-new distilled models are available in.

To support the research study neighborhood, we have open-sourced DeepSeek-R1-Zero, DeepSeek-R1, engel-und-waisen.de and 6 thick designs distilled from DeepSeek-R1 based on Llama and Qwen.

This is a fascinating flex! They have models 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 models have an MIT license attached, which I'm uncertain works with the underlying Llama license. Qwen designs are Apache licensed so possibly MIT is OK?

(I also simply discovered the MIT license files state "Copyright (c) 2023 DeepSeek" so they might need to pay a little bit more attention to how they copied those in.)

Licensing aside, these distilled models are remarkable beasts.

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

Quantized versions are currently beginning to appear. So far I've attempted just among those- unsloth/DeepSeek-R 1-Distill-Llama-8B-GGUF released by Unsloth AI-and it's actually enjoyable to have fun with.

I'm running it using 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 model information and begins an interactive chat interface.

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

I installed the plugin and ran it like this:

Each response begins with a ... pseudo-XML tag containing the chain of thought utilized to assist 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 require 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 two characters might communicate in a humorous scenario.

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 usually discovered in colder environments, like icebergs or snowy areas. So, combining these two into a tea room setting is already a funny image.

[...]
It then believed 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 walrus choose to open a quaint little tea room together. The walrus, with its big size, struggles to find comfortable chairs, so it rests on the table by accident, knocking over the teapot. Meanwhile, the pelican, trying to assist, uses its beak to place dishes on the table, triggering a couple of spills.

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

Explanation:

- Setup: Pelican and Walrus run an unlikely tea space. Their sizes result in comedic mayhem.