AstonJ

AstonJ

Thoughts on DeepSeek?

There seems to be a lot of buzz around DeepSeek at the moment, with some saying it’s a ChatGPT killer. The most remarkable thing (if they are to be believed) is that they built it and run it at a fraction of the cost, yet is said to perform better!

Here’s an article about it:

https://www.cnbc.com/2025/01/24/how-chinas-new-ai-model-deepseek-is-threatening-us-dominance.html

Good explanation:

Lots of chatter about it on social media, curious to hear what everyone here thinks - anyone used it for Elixir or Erlang? What’s it like compared to others?

Most Liked

AstonJ

AstonJ

This is probably the best explanation/breakdown I’ve seen so far:

If anyone is interested we’ve just started a DeepSeek portal over on Devtalk. Think it’s going to be a huge topic this year!

TimButterfield

TimButterfield

I have it running on MacOS already (M2 Max/32GB). Along with other models, I use the deepseek-r1:7b model with Ollama. Local deepseek is interesting in that the different versions have different bases. For example, the 7b version has a qwen base, while the 8b version has a llama base. I pulled both, but have not yet done much comparison.

As a test project, I wrote a React.js/Rust/Tauri desktop GUI to allow a SQLite stored chat conversation with the Ollama API (a micro version of ChatGPT run locally). It lets me select and use whichever LLM I have loaded locally and revisit those chat sessions later. I’m now working on a version of the app using Flutter to see if I can point a mobile version at a local Ollama API URL to have similar chats while selecting from the same loaded models. It may be cool to try the same thing with Scenic/Elixir to run as a desktop GUI app. Elixir/Phoenix could do it also, though that forces a web app for a local API; didn’t seem practical. In theory, I could also use Elixir + Tauri, but I haven’t taken the time to wrap my head around that yet.

It will become much more interesting when the AI can begin to ask us the questions we usually ask the clients or product owners, having the AI ask the developer those clarifying questions. “Given the specified set of features, it seems you are going in the direction of blah, blah, blah. Have you considered whether it should do X or Y also?” It should also be capable of verifying the build configurations and build results itself instead of just responding with suggestions to fix our build error prompts. But, I suspect it will need quite a bit larger context capacity than currently available before those type of things become possible. Imagine the context capacity that would be required for it to hold an entire decent sized project to perform that type of analysis to ask those things. But, right now, even a few larger files can exceed that analysis capacity, not to mention the additional complexity of links between those and yet more files, too. From conversations on the ollama discord, I think num_ctx is now only around 2k or 4k. That’s not a lot of space, though it is likely to keep growing over time. (Of course, those are the local context sizes I’m working with, not the larger ones possible on big servers.)

joelpaulkoch

joelpaulkoch

I’ve been thinking for a while that “open” models are going to win at the end and therefore “closed” providers are massively overrated at the moment.

In my mind, it’s like open source databases vs. proprietary databases. Providers of proprietary databases make good money but at the end most stuff is built with open source databases. So, I believe it’s going to be similar for LLMs as building blocks of applications. I’m not sure about the chat apps, although open models should be cheaper.

I think part of the reason is that closed model companies lost their advantage in sitting on huge amounts of data because as far as I know synthetic data is getting more important for training LLMs. And now it looks like they also lost their advantage in having huge amounts of compute available as smaller companies innovate in that area.

For me it feels like these models get more similar to each other anyways. At the end users won’t care if they score 87 or 83 on some benchmark, and they all have kind of the same capabilities, so why not pick the cheapest one.

On the other hand, I don’t know what’s going on inside OpenAI, so there might be a surprising release of something that invalidates everything I just wrote.

TimButterfield

TimButterfield

I’m on DT also. I’m on a lot of things, too many to keep up with. :slight_smile:
I used the same prompt you had used and tested these (results posted in your linked thread):

  • local Ollama API DeepSeek-R1:7b (qwen family)
  • local Ollama API DeepSeek-R1:8b (llama family)
  • Online chat.deepseek.com
  • Online Gemini (Flutter AI Toolkit)
  • ChatGPT-4o
  • ChatGPT-o1
hubertlepicki

hubertlepicki

Listening to Sam Altman speak, I don’t think he has strong beliefs in their models having to be closed-source or open-source. He wants to make money and develop AI. What I think will happen is that they will be prompted to make them open source. More, if they open up development of these models, that may be huge benefit for them, in terms of cost reduction. They can definitely save millions or billions on the DeepSeek optimizations alone.

Where Next?

Popular in Discussions Top

bartblast
StackOverflow Survey results for 2025 have been published: Gleam - 2nd most admired language Elixir - 3rd most admired language Phoenix...
New
AstonJ
Inspired by @dogweather’s thread about Active Record Doctor, have you seen any impressive or cool things in other non-BEAM languages or f...
New
bglusman
I’m curious how others in the community deal with first class enums… especially crossing boundaries like database, code logic, and absin...
New
billylanchantin
If you’re not familiar with this fun bit of math lore, Paul Erdős, the famously eccentric, peripatetic and prolific 20th-century mathem...
New
bartblast
Hey there! :slight_smile: I’m working on updating the Hologram website home page and would love to get your input. Current situation: ...
New
hauleth
With OTP 21 and the creation of logger Elixir Logger application became quite limiting (no structured logging). I would like to discuss w...
New
travisf
In upgrading from Ecto 2 to Ecto 3 I’m dealing with a failing test. If I use ExMachina build(:address) I’ll get an error trying to put_e...
New
michallepicki
Hello! To save some time when switching projects or development machines, I glued together an asdf plugin that uses Erlang precompiled b...
New
bartblast
It’s time to implement JavaScript interop for Hologram! Eventually, there will be Hologram wrappers for most APIs, but sometimes we’ll n...
New
isaacsanders
When I try to run my applications and I haven’t updated the dependencies, the output tells me to run mix deps.get. Why doesn’t the binar...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New

We're in Beta

About us Mission Statement