HN user

mrintellectual

956 karma

Director of Operations & ML Architect at Zilliz (https://zilliz.com). I love chess, deadlifting, and Elden Ring.

Website: https://frankzliu.com

Github: https://github.com/fzliu

Twitter: @frankzliu

Posts52
Comments68
View on HN
www.wired.com 4y ago

The ‘Shamanification’ of the Tech CEO

mrintellectual
2pts0
docs.github.com 4y ago

Writing Mathematical Expressions in Markdown

mrintellectual
5pts0
panteracapital.com 4y ago

The Fed's Twin Policy Errors

mrintellectual
2pts1
ocw.mit.edu 4y ago

Poker Theory and Analytics

mrintellectual
2pts0
www.npr.org 4y ago

Inflation is raising prices on almost everything, except rotisserie chicken

mrintellectual
9pts3
www.coindesk.com 4y ago

US Regulators Investigating Binance’s BNB Token: Report

mrintellectual
1pts0
www.bloomberg.com 4y ago

Terra Is Back from Bankruptcy

mrintellectual
1pts0
www.eetimes.com 4y ago

Supercharging Hyperscale and HPC with Superchips

mrintellectual
1pts0
www.seattletimes.com 4y ago

A deadly earthquake positively will ravage Seattle at some point

mrintellectual
14pts3
www.dexerto.com 4y ago

Faze karrigan’s PGL Major Antwerp win was a journey six years in the making

mrintellectual
1pts0
github.com 4y ago

SSD-Based Vector Indices

mrintellectual
2pts0
www.eetimes.com 4y ago

More Than Moore

mrintellectual
1pts0
www.fxstreet.com 4y ago

Is Do Kwon going to get arrested after Terra's LUNA price collapse?

mrintellectual
2pts1
entrepreneurshandbook.co 4y ago

Luna Brothers, Inc

mrintellectual
1pts0
www.businessoffashion.com 4y ago

The Strategy Behind Balenciaga’s Destroyed Sneaker Stunt

mrintellectual
1pts0
www.nytimes.com 4y ago

Cigar Smoking World Championship (2019)

mrintellectual
1pts0
frankzliu.com 4y ago

Understanding Neural Network Embeddings

mrintellectual
3pts0
erikbern.com 4y ago

Σ-driven project management: when is the optimal time to give up?

mrintellectual
2pts0
www.atlasobscura.com 4y ago

The Interstate Highways That Don’t Follow the Rules (2015)

mrintellectual
4pts0
google-research.github.io 4y ago

Lit: Zero-Shot Transfer with Locked-Image Tuning

mrintellectual
1pts0
www.eetimes.com 4y ago

TSMC Expects $44B in Capex Despite Slowdown Concerns

mrintellectual
1pts0
education.ti.com 4y ago

TI-84 Plus CE-T Python Edition graphing calculator

mrintellectual
3pts1
www.gosunoob.com 4y ago

Elden Ring Zip Glitch Explained

mrintellectual
1pts0
frankzliu.com 4y ago

Making Machine Learning More Accessible for Application Developers

mrintellectual
1pts0
www.youtube.com 4y ago

China's Vaccine Diplomacy (2021) [video]

mrintellectual
1pts0
frankzliu.com 4y ago

Pandemic Stories from China

mrintellectual
8pts0
www.popsci.com 4y ago

Stanford engineers made a tiny LED display that stretches like a rubber band

mrintellectual
3pts0
medium.com 4y ago

What it’s like working at TikTok: The Opportunities (Part 2)

mrintellectual
3pts1
www.eetimes.com 4y ago

Putting the Smart in Smartwatch

mrintellectual
2pts0
frankzliu.com 4y ago

Evading Bureaucracy: Making a PDF Look Hand-Signed and Scanned

mrintellectual
8pts1

Good catch on the disclosure, I edited my original comment to reflect this fact.

On the topic of vector search, Milvus is another great vector database - it's open source and we provide single-line startup scripts via `docker-compose` in addition to installation via apt & yum (https://milvus.io/docs/install_standalone-docker.md). There are also no restrictions on the number of vectors that users can store. Internally, we've successfully scaled Milvus to handle billion+ vectors, while many of our users have stored hundreds of millions of vectors in a production environments as well.

Great article. We used something very similar to help implement simlarity search at Yahoo a couple years back (https://yahooresearch.tumblr.com/post/158115871236/introduci...). We were using a indexing strategy called Locally Optimized Product Quantization, which worked great in terms of query times but required a training procedure which made successive inserts fairly inefficient.

Thankfully, we have a much wider variety of indexing options these days (https://milvus.io/docs/index.md) in addition to powerful vector databases (https://zilliz.com/learn/what-is-vector-database). I'm glad to see the barrier to entry for semantic image retrieval becoming lower and lower as ML infrastructure matures.

[EDIT] Disclosure: I work at Zilliz.

The crux of the problem is not Luna itself, but the Anchor Protocol (19.5% yield), which enticed users to burn Luna by investing in UST through a, for lack of a better phrase, Ponzi scheme. I get it - people like decentralization. But without some form of regulation, either by the broader crypto community itself or by governments around the world, situations like the LUNA/UST collapse will keep happening.

There are also rumors of a Terra fork: https://agora.terra.money/t/terra-ecosystem-revival-plan/870.... Thanks, but no thanks.

It just seems unlikely that the algorithm would be open-sourced right after a deal for Twitter is agreed upon (but before it actually goes through). I've never seen a buyout of this scale done by an individual, but I imagine the SEC and several other parties will need to be involved.

At the minimum, I would make a private Github repo first, add all relevant commits, and then make it public once there's actually content.

Even as an ML-focused graphics-less GPU, this is great. If this can be prototyped on an FPGA, it would be even better. Using block RAM for shared memory and built-in PCIe and DDR IP blocks should help speed things up considerably.

It unfortunately wouldn't be very cost-effective for training ML models, but it would take things a step closer to actual tape-out (if some organization has the $$$ for it).

I haven't tried SimCLR, but I did try face embedding models trained with contrastive and triplet loss. For applications where precision is the key metric, I do agree that these loss functions are much better overall.

If discovery or recall is what you're after, a generic image classification model trained with binary cross-entropy might be better. For example, performing reverse image search on a photo of a German Shepherd should always return images of GSheps in the first N pages, but showing other dog breeds in later pages and possibly even cats after that would be a desirable feature for many search/retrieval solutions. An embedding model trained with contrastive loss might have this behavior to a certain extent, but a model based on BCE should be better.

kNN combined with embeddings from pre-trained deep learning models can be very useful for information retrieval

Indeed! We've been able to build simple reverse image search apps and other solutions using the power of embeddings from pre-trained ML models: https://gist.github.com/fzliu/c9380a7f9ba411adeff0b727cdba15....

One quick note: k-d trees are great for indexing low-dimensional data, but for high-dimensional embeddings they tend to be a poor indexing choice since you'll end up visiting more nodes in the tree than you'd like. I found [1] to be a great overview of different indexing types for high-dimensional vectors and the advantages of each.

[1] https://milvus.io/docs/index.md

ViT models are outperforming CNNs in terms of computational efficiency and accuracy, achieving highly competitive performance in tasks like image classification, object detection, and semantic image segmentation.

Since then, this has been show to be untrue. Using more modern training techniques along with depthwise convolutions (https://arxiv.org/abs/2201.03545) results in equal if not better performance on vision tasks. Improved training methodologies have also been shown to boost the accuracy of ResNet50 - an 6-year-old pure convolutional architecture - on ImageNet-1k by over 5% (https://arxiv.org/abs/2110.00476).

Pure ViTs are also more difficult to train when compared with traditional convnets, although this has since then been somewhat remedied by Swin (https://arxiv.org/abs/2103.14030).

Hikaru's win in the Grand Prix was great, but the Candidates is far different. For example, Alireza Firouzja - another member of the upcoming Candidates cycle - has been MIA for a while, likely due to the insane amount of time he is putting into Candidates prep.

Since Hikaru has far fewer recent classical matches than the other upcoming Candidates participants (with the exception of current world #2 Ding Liren, who still needs to finish 30 games before May), he'll have an edge when it comes to preparation. However, unless he prepares like a madman, he'll be at most a wildcard candidate, perhaps beating a favorite or two but unlikely to win it all.

I'll personally be rooting for Ding and Fabi. I like Hikaru as well, but I unfortunately just don't see him beating Magnus in a World Chess Championship.

That said, Hacker News readers shouldn't be surprised that people use jargon to demonstrate membership of an in-group or keep away outsiders.

To say that HN readers use specific keywords or acronyms is inaccurate, given the diversity of topics that make it to the front page. However, the discussions I see take place here are definitely of much higher overall quality than the average comments thread on other sites.

Verilog Is Weird 4 years ago

A concise but not-completely-accurate way I explain it to a lot of pure software folks is that every line of HDL code executes "simultaneously". This can sometimes help them wrap their heads around Verilog/VHDL a bit better.

It seriously irritates me when these articles like these conveniently ignore a certain portion of the population. Where's non-Latina white women in the bar chart?

I did some rough-and-dirty calculations based on US census data (https://www.census.gov/quickfacts/fact/table/US/RHI725219) and the 83-cent statistic in the article. Turns out non-Latina white women actually earn _more_: about $1.03 for every $1.00 earned by non-Latino white men.

A lack of transparency will do more to hurt gender and racial equality in the long run. It's better to leave the statistic in and explain why the numbers are as they are instead of turning a blind eye.

Part of this is leftover tech culture from Facebook's early focus on Growth, Growth, and more Growth. Allowing for easy deletion of accounts was fundamentally at odds with user growth.

It's refreshing to see that tech is now heading in a more socially responsible direction, but the industry still has a long way to go.

I can sympathize with your situation. I was in an office building in Shanghai last November when it got locked down for 48 hours - nobody in or out. Everybody ended up ordering takeout, and the entire building had to be tested for COVID a total of four times. The most insane part is that they don't even let you take pictures of the lockdown (I almost got my phone confiscated by the police for taking pictures).

Also, sleeping in an office chair is a lot harder than it looks.

I like Colab for the most part since I'm biased towards Python, but being centered around Jupyter notebooks does have its shortcomings. Also, despite being a service offered by Google, I prefer PyTorch over Tensorflow.

For smaller projects, I generally find a Towhee pipeline (https://towhee.io/pipelines) that I then fine-tune on my 3080.