Florin
TikenToken - an Elixir library and CLI tool designed for experimentation and learning by tokenizing text with various Ollama models
Hi there - I’ve just released Tikentoken, an Elixir toy library and CLI tool for experimenting with AI tokenization using Ollama models.
Inspired by GitHub - openai/tiktoken: tiktoken is a fast BPE tokeniser for use with OpenAI's models., and because I wanted to play with Ollama and other open source models. It can tokenize text, compute embeddings, and even chat - with a convenient fallback on a basic mock, when Ollama is offline or not installed/available.
The documentation is much more extensive than the code itself, as I mainly published it to keep my dev notes organized. On
Popular in Announcing
Hello everyone! :waving_hand:
I’m excited to introduce my first Elixir library: YOLO, a library designed to make real-time object detect...
New
Hi Everyone,
I’d like to share my first open-source package and my first Elixir project, GeoMeasure. It enables one to calculate propert...
New
Hello Everyone,
I was working with some HTML-to-Markdown libraries and ran into a few issues when converting a complex markup file to Ma...
New
This is a new extension for the Ash framework that lets you use the Commanded library in a more declarative manner and removes most of th...
New
Hi there! At Moon Design System, we have been working hard for the past six months on the next generation of our LiveView component libra...
New
Here’s a preview:
Here’s the link to download:
GenServer cheatsheet
Tell me what you think!
New
Once is an Ecto type for locally unique 64-bits IDs generated by multiple Elixir nodes. Locally unique IDs make it easier to keep things ...
New
DiskSpace
Hi everyone, I needed this for a project I’ve been working on, and couldn’t find a simple solution that would work. The solutio...
New
Announcing Live Toast: a replacement toast/flash component for Phoenix LiveView, heavily inspired by the look of Sonner (the amazing toas...
New
Peep is a new TelemetryMetrics reporter that supports both StatsD (and Dogstatsd) and Prometheus.
While load testing a new Websocket-bas...
New
Other popular topics
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
can someone please explain to me how Enum.reduce works with maps
New
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
I would like to know what is the best IDE for elixir development?
New
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
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New







