HackerTrans
TopNewTrendsCommentsPastAskShowJobs

aazo11

no profile record

Submissions

The Accuracy of On-Device LLMs

medium.com
2 points·by aazo11·tahun lalu·2 comments

AI's Version of Moore's Law

metr.org
2 points·by aazo11·tahun lalu·1 comments

Local LLM inference – impressive but too hard to work with

medium.com
84 points·by aazo11·tahun lalu·58 comments

Show HN: GitHub-assistant – Natural language questions from your GitHub data

github.com
49 points·by aazo11·2 tahun yang lalu·16 comments

Show HN: We open sourced our entire text-to-SQL product

github.com
464 points·by aazo11·2 tahun yang lalu·144 comments

Did the "modern data stack" not deliver?

benn.substack.com
8 points·by aazo11·2 tahun yang lalu·1 comments

Text-to-SQL that asks the LLM to predict the result set

arxiv.org
2 points·by aazo11·2 tahun yang lalu·1 comments

comments

aazo11
·tahun lalu·discuss
I tested on-device LMs (Gemma, DeepSeek) across prompt cleanup, PII redaction, math, and general knowledge on my M2 Max laptop using LM Studio + DSPy.

Some observations

- Gemma-3 is the best model for on-device inference - 1B models look fine at first but break under benchmarking - 4B can handle simple rewriting and PII redaction. It also did math reasoning surprisingly well. - General knowledge Q&A does not work with a local model. This might work with a RAG pipeline or additional tools

I plan on training and fine-tuning 1B models to see if I can build high accuracy task specific models under 1GB in the future.
aazo11
·tahun lalu·discuss
The trend is that the length of tasks AI can do is doubling every 7 months.

Accompanying YT video https://www.youtube.com/watch?v=evSFeqTZdqs
aazo11
·tahun lalu·discuss
This is a huge unlock for on-device inference. The download time of larger models makes local inference unusable for non-technical users.
aazo11
·tahun lalu·discuss
A better solution would train/finetune the smaller model from the responses of the larger model and only push to the inference to the edge if the smaller model is performant and the hardware specs can handle the workload?
aazo11
·tahun lalu·discuss
Thanks for calling that out. It was 32GB. I updated the post as well.
aazo11
·tahun lalu·discuss
Very interesting. I had not thought about gaming at all but that makes a lot of sense.

I also agree the goal should not be to replace ChatGPT. I think ChatGPT is way overkill for a lot of the workloads it is handling. A good solution should probably use the cloud LLM outputs to train a smaller model to deploy in the background.
aazo11
·tahun lalu·discuss
They look awesome. Will try it out.
aazo11
·tahun lalu·discuss
Exactly. Why does this not exist yet?
aazo11
·tahun lalu·discuss
By "too hard" I do not mean getting started with them to run inference on a prompt. Ollama especially makes that quite easy. But as an application developer, I feel these platforms are too hard to build around. The main issues being: getting the correct small enough task specific model and how long it takes to download these models for the end user.
aazo11
·tahun lalu·discuss
I spent a couple of weeks trying out local inference solutions for a project. Wrote up my thoughts with some performance benchmarks in a blog.

TLDR -- What these frameworks can do on off the shelf laptops is astounding. However, it is very difficult to find and deploy a task specific model and the models themselves (even with quantization) are so large the download would kill UX for most applications.
aazo11
·2 tahun yang lalu·discuss
Great question! The purpose of github-assistant is to showcase the technologies that make it easy to build a tool/feature like this, not necessarily for it to be a stand-alone service. With dlt/Relta/LangGraph/assistant-ui we spin this up in about 10 days. For example:

- The GitHub graphql API limits to 100 items to be queried at a time and has pretty opaque secondary rate limits. Building this with cURL would take effort. dlt handles all this complexity to set up a robust pipeline by providing a connector to the GitHub API. - Creating semantic layers manually from a relational dataset and leveraging it in a text-to-sql pipeline to prevent hallucinations (similar to those we highlighted in our Medium post) would take lots of manual effort, which Relta streamlines. - Creating a chat front-end with charts was made easy by assistant-ui

Hope this makes sense.
aazo11
·2 tahun yang lalu·discuss
Yes in the future. We share the source code in both commercial and non-commercial engagements already. Drop me a line at amir [at] relta.dev if interested.
aazo11
·2 tahun yang lalu·discuss
There will new data from the graphql API added over time. Would love your feedback on which data you like to see added https://docs.github.com/en/graphql
aazo11
·2 tahun yang lalu·discuss
No this currently only answers questions from the GitHub graphql API.
aazo11
·2 tahun yang lalu·discuss
We pull data from the GitHub API which includes data that that is not available from GitHub.com pages. Currently only PR, Issues, Commit and Star data is being loaded. You can also read more here https://medium.com/relta/github-assistant-49ae388ad758
aazo11
·2 tahun yang lalu·discuss
Was able to reproduce and pushed an update. Thanks for calling this out.
aazo11
·2 tahun yang lalu·discuss
Hi -- strange that didn't work. Overall, the semantic layer is designed to provide very tight guardrails and not hallucinate. You can see the agent suggest changes to the semantic layer if you give the produced answer a thumbs down.

The idea is for the system to provide answers that have close to 100% accuracy, but make it a single click for developers to to improve the semantic layer.
aazo11
·2 tahun yang lalu·discuss
Right now the supported Vector stores are Chroma (which you can self-host), Pinecone and Astra. Adding a new vector store is quite easy: you just need to extend the VectorStore class (https://github.com/Dataherald/dataherald/tree/main/services/...) and set it as the Vector store module to be used in the environment variable https://github.com/Dataherald/dataherald/blob/main/services/...
aazo11
·2 tahun yang lalu·discuss
There are organizations using Dataherald in production right now.

The latency is ~20-30s and it takes some set up, so as long as those are not blockers it can be used in prod.
aazo11
·2 tahun yang lalu·discuss
Yes when you connect Dataherald to a DB it scans it and you can do exploratory queries.