1. X
  2. Alexander Hirner
Log inSign up
Alexander Hirner
4,019 posts
Image
user avatar
Alexander Hirner
@cybertreiber
CTO dishtracker.io 🤩 Smart People, Smart Machines, CV Data Wrangling and 🦀
Vienna, Austria
Joined January 2013
439
Following
367
Followers
RepliesRepliesMediaMedia
  • Pinned
    user avatar
    Alexander Hirner
    @cybertreiber
    Jun 14, 2021
    Check out some of our learnings and how workflows progressed when it comes to computer vision in the wild! Podcast with @Trust_in_soda
    Image
    Computer Vision in Production — Podcast
    From link.medium.com
  • user avatar
    Alexander Hirner
    @cybertreiber
    Dec 22, 2023
    Typical problems of rust devs: * ext4 driver is only twice as fast, what to do? * ES2.0 implementation passes all conformance tests - how to remove last two .clone()? * Found undefined behavior in the DNS spec after modelling it with TypeStates
  • user avatar
    Alexander Hirner
    @cybertreiber
    Nov 14, 2023
  • user avatar
    Alexander Hirner
    @cybertreiber
    Oct 10, 2023
    I'd be very interested in hearing @ezyang opinion on the best serialization steps without wielding python for candle: github.com/huggingface/ca… (and candle in general) 🔥
    github.com
    Falcon bugfixes. by LaurentMazare · Pull Request #97 · huggingface/candle
  • user avatar
    Alexander Hirner
    @cybertreiber
    Jul 13, 2023
    A good tokenizer is all you need.
    user avatar
    Riley Goodside
    @goodside
    Jul 13, 2023
    this is wild — kNN using a gzip-based distance metric outperforms BERT and other neural methods for OOD sentence classification intuition: 2 texts similar if cat-ing one to the other barely increases gzip size no training, no tuning, no params — this is the entire algorithm:
    for (x1, _) in test_set:
  Cx1 = len(gzip.compress(x1.encode()))
  distance_from_x1 = []
  for (x2, _) in training_set:
    Cx2 = len(gzip.compress(x2. encode())
    x1x2 = " ".join([x1, x2])
    Cx1x2 = len(gzip.compress(x1x2. encode())
    ncd = (Cx1x2 - min(Cx1,Cx2)) / max(Cx1, Cx2)
    distance_from_x1.append(ncd)
  sorted_idx = np.argsort(np.array(distance_from_x1))
  top_k_class = training_set[sorted_idx[:k], 1]
  predict_class = max(set(top_k_class), key=top_k_class.count)

Log in or sign up for X

See what’s happening and join the conversation

Continue with phone
or
Log in with username or email
Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Advertisement
Advertisement