1
0
Simon Willison's Weblog
Ada Male энэ хуудсыг 7 сар өмнө засварлав


That design was trained in part utilizing their unreleased R1 "thinking" model. Today they have actually released R1 itself, together with an entire household of new models obtained from that base.

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

DeepSeek-R1-Zero appears to be the . 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 comes across difficulties such as endless repeating, poor readability, and language blending." ... so they likewise released:

DeepSeek-R1-which "incorporates cold-start data before RL" and "attains efficiency similar to OpenAI-o1 across mathematics, code, and reasoning jobs". That a person is also MIT licensed, 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 2 designs are something I can easily have fun with myself. That's where the new distilled models are available in.

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

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

(I also just saw 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 fascinating beasts.

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

Quantized versions are already beginning to appear. So far I've tried simply one of 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 utilizing the mix of Ollama, LLM and the llm-ollama plugin.

First I fetched and ran the design using Ollama itself:

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

Once the design has actually been brought, LLM can speak to it as well. I choose utilizing LLM for experiments since it logs everything to SQLite for later expedition.

I set up the plugin and ran it like this:

Each reaction starts 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 require to come up with a joke about a pelican and a walrus running a tea space together. Hmm, that's an interesting combination. Let me consider how these 2 characters might connect in a humorous scenario.

First, let's consider their qualities. Pelicans are understood for their long beaks and Webbed feet, frequently seen near the beach or water. Walruses have huge teeth, photorum.eclat-mauve.fr thick fur, and they're generally found in colder climates, like icebergs or snowy locations. So, integrating these two into a tea space setting is already 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 choose to open a quaint little tea room together. The walrus, with its big size, has a hard time to discover comfortable chairs, so it sits on the table by accident, overturning the teapot. Meanwhile, the pelican, attempting to assist, utilizes its beak to position saucers on the table, triggering a couple of spills.

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

Explanation:

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