Simon Willison's Weblog
jadarosenthal6 upravil tuto stránku před 2 měsíci


That design was trained in part utilizing their unreleased R1 "thinking" model. Today they've launched R1 itself, in addition to a whole household of brand-new designs obtained from that base.

There's a lot of things 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 tidy MIT license. DeepSeek caution that "DeepSeek-R1-Zero encounters challenges such as unlimited repetition, poor readability, and language blending." ... so they likewise released:

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

I do not have the capability to run designs bigger than about 50GB (I have an M2 with 64GB of RAM), so neither of these 2 models 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 community, addsub.wiki we have open-sourced DeepSeek-R1-Zero, DeepSeek-R1, and six thick models distilled from DeepSeek-R1 based on Llama and Qwen.

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

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

(I also simply observed the MIT license files say "Copyright (c) 2023 DeepSeek" so they may need to pay a 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 variations are currently beginning to show up. Up until now I have actually tried simply one of those- unsloth/DeepSeek-R 1-Distill-Llama-8B-GGUF launched by Unsloth AI-and it's actually fun to have fun with.

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

First I brought and ran the design using Ollama itself:

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

Once the design has been brought, LLM can talk with it also. I choose using LLM for experiments due to the fact that it logs whatever to SQLite for later exploration.

I installed the plugin and ran it like this:

Each response starts with a ... pseudo-XML tag containing the chain of idea utilized to assist produce the action. For "a joke about a pelican and a walrus who run a tea space 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 a fascinating mix. Let me consider how these two characters might engage in a funny scenario.

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 big teeth, thick fur, and they're typically discovered in chillier environments, like icebergs or snowy locations. So, combining these 2 into a tea space setting is already a funny image.

[...]
It then thought 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 decide to open a quaint little tea space together. The walrus, with its big size, has a hard time to find comfortable chairs, so it sits on the table by mishap, overturning the teapot. Meanwhile, the pelican, trying to help, uses its beak to put dishes on the table, triggering a few 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 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 comedic mayhem.