Simon Willison's Weblog
That design was trained in part using their unreleased R1 "thinking" design. Today they have actually launched R1 itself, along with a whole household of new models obtained from that base.
There's an entire lot of stuff in the brand-new release.
DeepSeek-R1-Zero seems 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 encounters obstacles such as unlimited repeating, bad readability, and language mixing." ... so they also released:
DeepSeek-R1-which "integrates cold-start information before RL" and "attains efficiency comparable to OpenAI-o1 across math, code, and thinking jobs". That one is likewise MIT certified, and is a comparable size.
I don't have the ability to run designs bigger than about 50GB (I have an M2 with 64GB of RAM), so neither of these 2 designs are something I can easily play with myself. That's where the new distilled models are available in.
To support the research study community, 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 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 designs are Apache certified so possibly MIT is OK?
(I also simply observed the MIT license files state "Copyright (c) 2023 DeepSeek" so they might require to pay a bit more attention to how they copied those in.)
Licensing aside, these distilled designs are remarkable monsters.
Running DeepSeek-R1-Distill-Llama-8B-GGUF
Quantized versions are already starting to reveal up. So far I've tried simply one of those- unsloth/DeepSeek-R 1-Distill-Llama-8B-GGUF released by Unsloth AI-and it's truly fun to have fun with.
I'm running it utilizing the combination of Ollama, king-wifi.win LLM and the llm-ollama plugin.
First I brought and ran the model utilizing Ollama itself:
This downloads around 8.5 GB of design data and begins an interactive chat interface.
Once the model has been fetched, LLM can talk with it too. I choose using LLM for experiments since it logs everything to SQLite for later exploration.
I installed the plugin and ran it like this:
Each action starts with a ... pseudo-XML tag containing the chain of thought utilized to help generate the reaction. For "a joke about a pelican and a walrus who run a tea room 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 a fascinating mix. Let me believe about how these 2 characters might engage in a humorous circumstance.
First, it-viking.ch let's consider their characteristics. Pelicans are known for their long beaks and Webbed feet, typically seen near the beach or accc.rcec.sinica.edu.tw water. Walruses have big teeth, thick fur, and they're normally found in chillier environments, 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 transcript and here's the output at the end, after the tag:
The Joke:
A pelican and a to open a quaint little tea room together. The walrus, with its huge size, has a hard time to find comfy chairs, so it rests on the table by accident, knocking over the teapot. Meanwhile, the pelican, attempting to assist, utilizes its beak to position dishes on the table, causing a couple of spills.
After a series of comical incidents, the walrus looks up and says with a smile, "This isn't so fishy any longer." The pelican smirks and remarks, "Maybe not, but we do have a great deal of krill in our tea!"
Explanation:
- Setup: Pelican and Walrus run a not likely tea space. Their sizes result in comedic turmoil.
- Punchline: "This isn't so fishy anymore" is a pun on the scenario becoming less absurd. The follow-up joke presents "krill," a play on words that connects into both marine life ("fish") and tea, making it funny while fitting the theme.
So yeah, biolink.palcurr.com the joke is terrible. But the process of arriving was such an intriguing insight into how these brand-new models work.
This was a fairly small 8B design. I'm eagerly anticipating trying out the Llama 70B version, which isn't yet available in a GGUF I can keep up Ollama. Given the strength of Llama 3.3 70B-currently my favourite GPT-4 class model that I've run on my own machine-I have high expectations.
Update 21st January 2025: I got this quantized version of that Llama 3.3 70B R1 distilled model working like this-a 34GB download:
Can it draw a pelican?
I attempted my classic Generate an SVG of a pelican riding a bike prompt too. It did refrain from doing very well:
It aimed to me like it got the order of the components wrong, morphomics.science so I followed up with:
the background ended up covering the remainder of the image
It thought some more and offered me this:
As with the earlier joke, the chain of believed in the transcript was much more fascinating than completion result.
Other methods to try DeepSeek-R1
If you desire to attempt the design out without installing anything at all you can do so utilizing chat.deepseek.com-you'll need to produce an account (check in with Google, use an email address or supply a Chinese +86 contact number) and then pick the "DeepThink" option below the prompt input box.
DeepSeek provide the model through their API, using an OpenAI-imitating endpoint. You can access that via LLM by dropping this into your extra-openai-models. yaml setup file:
Then run llm secrets set deepseek and paste in your API key, then use llm -m deepseek-reasoner 'prompt' to run prompts.
This won't reveal you the thinking tokens, regretfully. Those are served up by the API (example here) but LLM doesn't yet have a method to show them.