TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

94 点作者 nitsky超过 3 年前

12 条评论

nitsky超过 3 年前
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!
tdeck超过 3 年前
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 未加载
IAmEveryone超过 3 年前
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 未加载
ujeezy超过 3 年前
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 未加载
tobiasks超过 3 年前
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?
Bostonian超过 3 年前
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 未加载
pavlovskyi超过 3 年前
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!
anigbrowl超过 3 年前
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 未加载
civilized超过 3 年前
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 未加载
surajs超过 3 年前
this is the kind of tools we need not gpt3 or copilot
waterfirezero超过 3 年前
great works! Really impress with your software. However, how to convert tangram model to scikit model and vice versa?
评论 #28241289 未加载
drewcoo超过 3 年前
name collision: <a href="https:&#x2F;&#x2F;mathigon.org&#x2F;tangram" rel="nofollow">https:&#x2F;&#x2F;mathigon.org&#x2F;tangram</a>
评论 #28240471 未加载
评论 #28241609 未加载