Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think many people know how amazing Elixir has become at machine learning. If you want to learn more I can't recommend Seam Moriarity's book Machine Learning in Elixir enough. Concepts are explained in extremely straight forward language and there's loads of examples!

https://pragprog.com/titles/smelixir/machine-learning-in-eli...



Does Elixir ML ecosystem libs (Nx, Axon) provide some sort of interop with Python ecosystem?

For example can I load or fine tune a model pre-trained in pytorch/JAX in Axon? Or does everything need to be written from ground up in Elixir?


Despite some limitations, you will probably find Bumblebee (https://github.com/elixir-nx/bumblebee) interesting.

"Bumblebee provides pre-trained Neural Network models on top of Axon. It includes integration with HuggingFace Models, allowing anyone to download and perform Machine Learning tasks with few lines of code"


Ortex exists to run ONNX models: https://github.com/elixir-nx/ortex


Not directly but it supports the ONNX Runtime and has support for many of the models you might want through Bumblebee and Hugging Face

https://github.com/elixir-nx/bumblebee


(sorry for the double post!)


Yes, this is getting quite exciting. There is cross-pollinisation of concepts going on (e.g. https://www.youtube.com/watch?v=RABXu7zqnT0 which shows a port of Python's Instructor library to https://github.com/thmsmlr/instructor_ex, https://hexdocs.pm/scholar/Scholar.html etc!).

That coupled with LiveView + (quite easy scaling in general) results into interesting opportunities.


The scaling story in Elixir is so nice, I just implemented eventual consistency for calculating average ratings on a Class/Instructor level and it was 20 lines of code in a GenServer that can be tested and is super clear how it works. I'm not even sure how you'd do something like this in Javascript or Python but it would probably involve extra infrastructure that is another moving piece to deploy, manage and can be a cause of potential failures. The same is true with rate limiting and something like Hammer (https://github.com/ExHammer/hammer).


I'm guessing you mean that you would recommend it. You say you can't.


It says the book is in beta. How complete/finished is it?


Hey, I'm the author! All of the chapters are done, but there are still some minor updates as APIs change. It should be going to production soon


Nice. Just placed an order.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: