Simon Willison's Weblog
bhrbarry291333 редагує цю сторінку 6 місяців тому


That model was trained in part utilizing their unreleased R1 "reasoning" design. Today they have actually launched R1 itself, together with a whole household of brand-new models obtained from that base.

There's a great deal of things in the brand-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 clean MIT license. DeepSeek warn that "DeepSeek-R1-Zero experiences challenges such as unlimited repeating, bad readability, and language mixing." ... so they also launched:

DeepSeek-R1-which "includes cold-start information before RL" and "attains efficiency comparable to OpenAI-o1 across mathematics, code, and reasoning jobs". That a person is likewise MIT certified, and is a comparable size.

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

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

This is an interesting 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 works with the underlying Llama license. Qwen models are Apache certified so possibly MIT is OK?

(I also just saw the MIT license files state "Copyright (c) 2023 DeepSeek" so they may require 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 already beginning to reveal up. Up until now I've tried simply among 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 mix of Ollama, LLM and the llm-ollama plugin.

First I brought and ran the design utilizing Ollama itself:

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

Once the design has been brought, LLM can speak to it as well. I prefer utilizing LLM for experiments since it logs whatever to SQLite for valetinowiki.racing later exploration.

I set up the plugin and ran it like this:

Each response begins with a ... pseudo-XML tag containing the chain of idea used to assist produce the reaction. 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 room together. Hmm, that's a fascinating mix. Let me think of how these two characters may connect in a humorous scenario.

First, let's consider their qualities. Pelicans are known for their long beaks and Webbed feet, frequently seen near the beach or bytes-the-dust.com water. Walruses have huge teeth, thick fur, and they're generally discovered in chillier environments, like icebergs or snowy locations. So, integrating these two into a tea space setting is currently an image.

[...]
It then thought 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 decide to open a quaint little tea room together. The walrus, with its big size, struggles to discover comfy chairs, so it rests on the table by accident, knocking over the teapot. Meanwhile, the pelican, attempting to help, uses its beak to position saucers on the table, triggering a few spills.

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

Explanation:

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