Better HN
topnewbestaskshowjobs
Log inSign up

kossisoroyce

83 karma · joined Jul 25, 2022 (4y ago) · 13 submissions

Machine Learning Researcher
Submissions

1.

Show HN: 10k harmonized time-series datasets of African data(huggingface.co ↗)

2 points · by kossisoroyce · 5mo ago · discuss

comment 9mo ago · link · parent

TBVH I didn't think about naming it too much. I defaulted to Ollama because of the perceive simplicity and I wanted that same perceived simplicity to help adoption.

comment 9mo ago · link · parent

I'll check this out as soon as I am at my desk.

comment 9mo ago · link · parent

Exactly. The objective is to abstract away completely. Shared libraries just add too much overhead.

comment 9mo ago · link · parent

I owe you a beer!

comment 9mo ago · link · parent

You're welcome!

comment 9mo ago · link · parent

The motivation was edge and latency-critical use cases on a product I consulted on. Feature vectors arrived pre-formed and a Python runtime in the hot path wass a non-starter. You're right that for most pipelines the transformation step is the bottleneck, not inference, and Timber doesn't solve that (though the Pipeline Fusion pass compiles sklearn scalers away entirely if your preprocessing is that simple). Timber is explicitly a tool for deployments where you've already solved the data plumbing and the model call itself is what's left to optimize.

comment 9mo ago · link · parent

Fair point in general, but the risk profile here is actually quite low. The generated C is purely computational, with no heap allocation, no pointer arithmetic, no user-controlled memory, no IO. It's essentially a deeply nested if/else tree over a fixed-size float array. The "unsafe" surface in C is largely a non-issue when the code is statically shaped at compile time from a deterministic compiler pass.

Rust/Zig/Nim would add toolchain complexity with minimal safety gain for this specific output shape. Those were my considerations.

comment 9mo ago · link · parent

Glad you got it just in time!

10.

Show HN: Timber – Ollama for classical ML models, 336x faster than Python(github.com ↗)

207 points · by kossisoroyce · 9mo ago · 33 comments