Build Open-Source NLP Tools: Weak Supervision, LLM Heuristics & Enterprise ML Product Strategy

Episode 9 61 min

Johannes Hötter Data scientist

Episode 9 · Build Open-Source NLP Tools: Weak Supervision, LLM Heuristics & Enterprise ML Product Strategy

61 min

What we talked about

Johannes is a co-founder and CEO of Kern, a company that helps data science teams label and manage text data. He studied business, computer science and data engineering at the Hasso Plattner Institute in Potsdam, and his first AI project was a style transfer web app. Kern began as a consultancy that kept seeing the same data problems, and Alexey invites him to explain how that consultancy became an open source product company.

Johannes describes the company's open source tools. Refinery is a labeling and data exploration tool for engineers, built around weak supervision, where several noisy heuristics label data automatically and their combined output becomes training data. Bricks is a library of reusable heuristics for tasks such as sentiment analysis, which can be implemented with a Python package or a GPT prompt. Alexey compares this to ensemble methods, and Johannes says a set of weak classifiers can outperform any single one. He sees ChatGPT as one ingredient, which works best alongside active learning and crowd labels. Their first product, a no-code model builder for business users, failed because the training data was poor and business teams did not want to build AI themselves. They shifted to engineers, who need control over their training data.

The team open sourced Refinery after conversations with a co-founder of another developer tool, and Johannes says open source changed the business model. Small teams often use the free version, which costs revenue, but the open source community gives feedback and attracts enterprise clients. Enterprise deals are sold to business units with workshops and tailored solutions, often for niche documents such as invoices. Finding clients takes trial and error, and in Germany networks and meetups matter. Johannes describes sales as education for developers, and says the team has 11 full-time people working in product, developer relations and go-to-market roles. The company raised 2.7 million, and Alexey says investors contacted him after the Open Source Spotlight demo. Johannes recommends Prediction Machines.

Chapters

  1. 1:01 Podcast Introduction 1 min
  2. 1:36 Background & early AI curiosity 3 min
  3. 4:33 Open-source demos overview: Refinery and Bricks 2 min
  4. 6:33 Refinery features: weak supervision & labeling workflows 2 min
  5. 9:00 Jupyter widgets gap and NLP tooling needs 1 min
  6. 10:14 NLP challenges: text metadata and messy labels 3 min
  7. 13:22 ChatGPT as a labeling heuristic 3 min
  8. 15:58 Combining heuristics: GPT, active learning, crowd labels 2 min
  9. 17:34 Foundations: Hugging Face, embeddings, and data management 1 min
  10. 18:33 Bricks: heuristic library, recipes, and ensemble methods 1 min
  11. 19:48 Weak supervision analogy: heuristics as ensemble workers 1 min
  12. 20:22 Productization: consultancy to Kern and product pivot 4 min
  13. 24:00 Targeting engineers: control over training data 2 min
  14. 26:22 Choosing open source: motivations and concerns 2 min
  15. 28:11 Open-source trade-offs: distribution versus revenue 2 min
  16. 29:59 Open-source adoption: free users vs paying customers 2 min
  17. 31:47 Business model: open-core, multi-user SaaS, and services 2 min
  18. 34:03 Enterprise engagements: workshops, customization, and domain expertise 2 min
  19. 36:00 Community support: Discord, workarounds, and feedback loops 2 min
  20. 38:23 Enterprise outreach: networking and segment strategies 2 min
  21. 40:21 Developer-focused sales: DevRel, education, and trust-building 3 min
  22. 43:12 Team structure: development, developer relations, go-to-market 4 min
  23. 47:20 Founder role evolution: prototyping, GTM, and coding balance 3 min
  24. 49:51 Co-founder division: complementary strengths and responsibilities 3 min
  25. 52:40 Niche use cases: PDF and document NLP challenges 3 min
  26. 56:03 Open source as trust-builder with developer teams 1 min
  27. 57:02 Fundraising recap: 2.7M raise and investor interest in open source ML 3 min
  28. 59:58 Recommended reading: Prediction Machines (applied AI economics) 1 min
  29. 1:01:15 Podcast Outro and closing remarks <1 min

Johannes Hötter Data scientist

Johannes Hötter is a data scientist, engineer, and co-founder of kern, where he builds open-source tooling that helps data scientists with their most time-consuming tasks: labeling and managing data efficiently at scale. He works on weak supervision, GPT-based labeling heuristics, and active learning that make high-quality NLP datasets faster and cheaper to build.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

NLP

Natural language processing across language data, annotation, LLMs, speech, search, and production systems.

Data Strategy

Data strategy as the link between business goals, operating models, governance, platforms, adoption, and tool choices.

Entrepreneurship

Data and AI entrepreneurship as a business-building path across startups, solopreneurship, freelance consulting, open-source products, and founder transitions.

Founder

How founders choose problems, validate demand, sell, hire, fund, bootstrap, and take responsibility for early product decisions.

Machine Learning

Machine learning as applied modeling, evaluation, production design, monitoring, roles, and business tradeoffs.

Annotation Quality Workflows

Annotation quality as an NLP workflow with guidebooks, human baselines, agreement checks, model assistance, privacy controls, and feedback loops.

Embeddings

Embeddings as representations for semantic search, RAG, recommendations, multimodal retrieval, and language systems.

Open Source

Open source as public data and ML software, including stewardship, governance, licensing, contribution surfaces, ecosystems, and company distribution.

Open Source DevRel

The bridge between open-source stewardship and DevRel: docs, demos, contributor onboarding, maintainer trust, and adoption feedback.

Related books

Mastering spaCy

17 questions answered

Build end-to-end industrial-strength NLP models using advanced morphological and syntactic features in spaCy to create real-world applications with ease.

Duygu Altinok

Natural Language Processing with Transformers

23 questions answered

Since their introduction in 2017, transformers have quickly become the dominant architecture for achieving state-of-the-art results on a variety of natural language processing tasks. If you're a data scientist or coder, this practical book shows you how to train and scale these large models using Hugging Face Transformers, a Python-based deep learning library.

Leandro von Werra Lewis Tunstall Thomas Wolf

Transformers for Natural Language Processing

20 questions answered

The transformer architecture has proved to be revolutionary in outperforming the classical RNN and CNN models in use today. With an apply-as-you-learn approach, Transformers for Natural Language Processing investigates in vast detail the deep learning for machine translations, speech-to-text, text-to-speech, language modeling, question answering, and many more NLP domains with transformers.

Denis Rothman

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club