TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Tangram – Train a model from a CSV file on the command line

94 pointsby nitskyalmost 4 years ago

12 comments

nitskyalmost 4 years ago
Hi HN! We are Isabella and David, and we&#x27;re excited to share Tangram, our attempt to make ML easy for programmers who are not experts. With Tangram, you train a model from a CSV file on the command line, use your model from one of many languages (so far we have libraries for Elixir, Go, JavaScript, Python, Ruby, and Rust), and learn about your models and monitor them in production from a web app. There&#x27;s a video on our homepage (<a href="https:&#x2F;&#x2F;www.tangram.dev" rel="nofollow">https:&#x2F;&#x2F;www.tangram.dev</a>) and we&#x27;re on GitHub at <a href="https:&#x2F;&#x2F;github.com&#x2F;tangramdotdev&#x2F;tangram" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tangramdotdev&#x2F;tangram</a>.<p>Over the past few months we have been working with a handful of early users. A team at a small company had a TensorFlow model deployed as a Flask service consumed by their Elixir app. They replaced it with a Tangram model because they didn&#x27;t want to maintain a server separate from their monolith. A team of front end engineers at a large company was looking for a way to to train and deploy models on their own, without the overhead of involving their data scientists, machine learning engineers, or backend engineers. They trained a model on their own and embedded it directly in their React front-end with the Tangram JavaScript library that makes predictions with WebAssembly.<p>Tangram is written entirely in Rust, from the core machine learning algorithms, to the bindings for each language, to the front and back end of the web application. We have benefited from Rust&#x27;s fast performance, strong typing, convenient tooling, and high quality libraries (serde, tokio, hyper, sqlx, and more).<p>We hope to make Tangram a sustainable business with the open core business model. The CLI and language libraries are MIT licensed, while the web application is source available, free to use for testing, but requires a paid license to use in production.<p>We would love to hear your feedback. Give it a try and let us know what you think!
tdeckalmost 4 years ago
Reminds me of vowpal-wabbit, which also has a command line. Their website looks very corporate now but it&#x27;s a free tool: <a href="https:&#x2F;&#x2F;vowpalwabbit.org&#x2F;tutorials&#x2F;cmd_first_steps.html" rel="nofollow">https:&#x2F;&#x2F;vowpalwabbit.org&#x2F;tutorials&#x2F;cmd_first_steps.html</a><p>Not sure how its modeling techniques have kept up with the state of the art.
评论 #28240719 未加载
IAmEveryonealmost 4 years ago
Really like the initial impression. I’ve been playing around with Apple’s CreateML tool, which seems to be similar in capability, maybe(?), but is a GUI app that forces me into a process where I need to use switch from ruby to GUIs to XCode and Swift to the cLI…<p>The reference in the name &amp; the monospaced font work well to establish a sense of being a developer‘s company, but not just anyone but someone with a background in math(?). Perfect marketing to get me, although I‘m not a lucrative prospect. Is it possible that you’d catch bigger fish by going corporate? Possible, yes. But it’s my impression this has and still is shifting drastically.<p>One meta-issue for now: somehow, I always read the imprint when I am checking out some software or service. I can’t really make a case why it’s helpful, and you are obviously free to maintain an air of mystery. But if it’s just an oversight or you haven’t gotten around to it, just naming a city &amp; country goes a long way to convincing me that you exist. Short bios are also useful, or links to your Twitter accounts, although J found those with only minimal stalking.(This preference may just be a result from my home country of Germany requiring such data and making it possible to get into the habit).
评论 #28241235 未加载
ujeezyalmost 4 years ago
I love the simplicity - this tickles my brain in the same way that Firebase did when I first saw it :) Well done! Looking forward to playing with it.
评论 #28239476 未加载
tobiasksalmost 4 years ago
This is very nice and I really like the CLI aspect. I would have one feature request: Serve the model via GrPC.<p>Im running ML in production for the last 4 years in the field of biology and need &gt; million predictions per hour. Load-balacing on multiple servers (and staying with http request based predictions) is not an options as the latency would kill the application.<p>Am I in such niche? Or other question: are there many more people that run fine-tuned TF servings&#x2F;TensorRT servers to keep up with the production need?
Bostonianalmost 4 years ago
You could give the user an option to specify that the CSV file represents equally-spaced time series data, in which case you fit a time series model to predict the target column.
评论 #28241139 未加载
pavlovskyialmost 4 years ago
Really like the simplicity! At my actual workplace we are dealing with curse of model monitoring for a long time, because there was always a issue with intepretability and ease of adding new features (indicators, etc). And also, expectation of use of monitoring tools are much higher that its usability in real case scenarios. Great work!
anigbrowlalmost 4 years ago
This is very cool, finally the blue sky science of 30 years ago has descended to my humble command line.<p>Like the website design too.
评论 #28241673 未加载
评论 #28241615 未加载
civilizedalmost 4 years ago
Why would it be desirable to train a model from a CSV on the command line? Is opening RStudio or IPython and running a couple commands the hard part of data science?<p>Writing a data science pipeline with command line tools really just means writing a data science pipeline in your terminal&#x27;s shell programming language. If that sounds like a good idea to you, I&#x27;d be curious to hear why.
评论 #28242196 未加载
评论 #28241820 未加载
评论 #28241310 未加载
评论 #28242542 未加载
surajsalmost 4 years ago
this is the kind of tools we need not gpt3 or copilot
waterfirezeroalmost 4 years ago
great works! Really impress with your software. However, how to convert tangram model to scikit model and vice versa?
评论 #28241289 未加载
drewcooalmost 4 years ago
name collision: <a href="https:&#x2F;&#x2F;mathigon.org&#x2F;tangram" rel="nofollow">https:&#x2F;&#x2F;mathigon.org&#x2F;tangram</a>
评论 #28240471 未加载
评论 #28241609 未加载