Better HN
topnewbestaskshowjobs
Log inSign up

thecalebf

239 karma · joined Jul 1, 2022 (4y ago) · 42 submissions

Submissions

1.

Show HN: WebLLM Playground – Run LLMs in the Browser on WebGPU(cfahlgren1-webllm-playground.static.hf.space ↗)

3 points · by thecalebf · 2y ago · discuss

comment 2y ago · link · parent

the graphics in it make it so much better

3.

Valve New Employee Handbook (2012) [pdf](steamcdn-a.akamaihd.net ↗)

108 points · by thecalebf · 2y ago · 112 comments

4.

Show HN: SmolCopilot – 360M LLM writing assistant in the browser(github.com ↗)

11 points · by thecalebf · 2y ago · discuss

comment 2y ago · link · parent

The Chrome Extension is open source and is powered by DuckDB WASM which loads the parquet conversion of the datasets as views so you can query them with SQL.

Here's the repo: https://github.com/cfahlgren1/hf-data-explorer

6.

Show HN: I Made a Chrome Extension to Query Hugging Face Datasets with SQL(chromewebstore.google.com ↗)

2 points · by thecalebf · 2y ago · 1 comment

comment 2y ago · link · parent

Yes please do! Looks awesome, would love to help any way I can as well.

comment 2y ago · link · parent

Sorry, it seems complicated. Since it is a finetune of Deepseek-Coder, I had to include their license.

Deepseek is pretty open, just says not to use it for: - military purposes - exploiting vulnerabilities etc.

Just trying to include as much information as possible from the initial base model.

comment 2y ago · link · parent

Yes it is designed for users without SQL knowledge, however, it can still perform fairly well with questions on the difficult side (for non technical users) with queries having multiple joins, aggregations, ratios, and subqueries.

Next step is fine tuning and leveraging larger models that can handle very complex questions, reasoning, and data schemas since this is only a 7B.

comment 2y ago · link · parent

Currently Postgres yes, already working on a dataset with more DDLs like MySQL, DuckDB, MSSQL, etc for a second iteration.

comment 2y ago · link · parent

Neat, would you ever use a local model for that if it could work with ORMs?

comment 2y ago · link · parent

That is really interesting. I took note of this. That would be really cool!

comment 2y ago · link · parent

Great call out. Will definitely focus on that in the next iteration!

comment 2y ago · link · parent

No, those are benchmark, evaluation questions. The fine tune dataset was a custom, synthetically generated dataset of ~20k PostgreSQL Text to SQL pairs covering different SQL categories and question types.

I mention a little more about it here https://x.com/calebfahlgren/status/1754247740291207198?s=20

comment 2y ago · link · parent

Updated the title since it may have been confusing, appreciate the feedback!

comment 2y ago · link · parent

Not yet, planning to build an open source, local, CLI tool that utilizes natural-sql though!

comment 2y ago · link · parent

Sure, there is a blog post with some other examples of the first model iteration with more complex, multipart questions. https://www.chatdb.ai/post/naturalsql-vs-sqlcoder-for-text-t...

I will update that to be a more truly difficult question. Appreciate the feedback!

comment 2y ago · link · parent

Thanks! Yes, that was an earlier iteration. The v1 is here https://huggingface.co/chatdb/natural-sql-7b. Plan to push to Ollama soon and build an open source free tool around it.

Would love to hear about what you are building!

19.

Show HN: Natural-SQL-7B, a strong text-to-SQL model(github.com ↗)

362 points · by thecalebf · 2y ago · 168 comments

comment 2y ago · link · parent

Very neat! I am building something very similar, called ChatDB.ai

21.

Show HN: Query CSV files in the browser with SQL(chatdb.ai ↗)

3 points · by thecalebf · 3y ago · discuss

comment 4y ago · link · parent

Hey, interesting. Make sure you have a home opened and it should populate with the charts. If that doesn't work feel free to send me an email at caleb at homescope.io and I can help you out :)

comment 4y ago · link · parent

Thank you. Let me know if it meets your needs :)
12