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


That design was trained in part using their unreleased R1 "thinking" model. Today they've launched R1 itself, together with an entire family of new designs obtained from that base.

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

DeepSeek-R1-Zero appears to be the base model. It's over 650GB in size and, like most of their other releases, is under a clean MIT license. DeepSeek caution that "DeepSeek-R1-Zero experiences obstacles such as limitless repetition, bad readability, and language mixing." ... so they also launched:

DeepSeek-R1-which "includes cold-start information before RL" and "attains efficiency equivalent to OpenAI-o1 across math, code, and thinking jobs". That a person is likewise MIT licensed, and is a similar 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 quickly play with myself. That's where the brand-new distilled models are available in.

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

This is a fascinating flex! They have actually 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 connected, higgledy-piggledy.xyz which I'm uncertain works with the underlying Llama license. Qwen designs are Apache certified so possibly MIT is OK?

(I likewise just noticed the MIT license files state "Copyright (c) 2023 DeepSeek" so they may need 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 variations are currently beginning to reveal up. So far I've attempted 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, LLM and the llm-ollama plugin.

First I brought and ran the model using Ollama itself:

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

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

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 help 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 require to come up with a joke about a pelican and a walrus running a tea space together. Hmm, that's a fascinating mix. Let me think of how these 2 characters may communicate in an amusing circumstance.

First, let's consider their attributes. Pelicans are understood 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 colder climates, like icebergs or snowy locations. So, combining these two into a tea space setting is already a funny image.

[...]
It then thought for 20 paragraphs before the joke! Here's the complete 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 space together. The walrus, with its big size, has a hard time to discover comfy chairs, so it sits on the table by accident, overturning the teapot. Meanwhile, the pelican, attempting to assist, utilizes its beak to put saucers on the table, triggering a few spills.

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

Explanation:

- Setup: Pelican and Walrus run a not likely tea room. Their sizes cause comedic mayhem.