Home / Companies / Baseten / Blog / Post Details
Content Deep Dive

Sub-3 millisecond named entity recognition (NER) inference

Blog post from Baseten

Post Details
Company
Date Published
Author
Michael Feil 1 other
Word Count
1,572
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

Baseten Embeddings Inference (BEI) aims to enhance the speed of encoder inference, particularly for named entity recognition (NER) tasks, by achieving sub-3 millisecond client-side and 1 millisecond server-side inference times in realistic production settings. This is accomplished through various optimizations, including using a Rust-based web server to minimize overhead and employing HTTP/2 connection pooling to reduce latency. Unlike traditional embedding models, NER models provide token-level predictions, requiring unique approaches to minimize latency, such as optimizing the serving stack layers, configuring Nginx to avoid bottlenecks, and co-locating NER pipelines within the same datacenter to reduce network delays. BEI's efficient implementation is significantly faster than traditional PyTorch models, offering ~7.7x speed improvements, and supports deploying BERT-family NER models with ease, allowing existing NER pipelines to upgrade without altering application logic.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 6 1,739 413 146 -27%
Serverless 2 678 211 91 -7%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.