覆盖 210 条帖子 · 2024年4月10日 至 2026年11月28日(UTC)
- 粉丝数
- —
- 互动率 —
- 每帖平均浏览量
- 22.1K
- 浏览量中位数 11.1K
- 每帖平均点赞数
- 148
- 点赞率 0.672%
- 每帖平均回复数
- 7.18
- 回复率 0.0325%
- 每帖平均转发数
- 15.4
- 转发率 0.0697%
- 每帖平均收藏数
- 139
- 收藏率 0.628%
Eugene Yan的内容涵盖AI 安全与漏洞发现、AI 辅助编程与开发工具和职业成长与工程文化等主题。结合帖子表现、内容形式和发布时段,查看对应原帖。
职业成长与工程文化
Hiring well is the most important thing we can do for the mission & org, and running effective interviews is key to hiring well. @jxnlco & I share what we've learned about interviewing candidates for ML/AI roles.
https://t.co/kj3atdZINc We discuss: • Technical & non-technical skills to look for • Phone screens, interviews loops, and debriefs • Tips for interviewers and hiring managers • Opinionated takes on qualities strong hires have p.s., also useful for folks interviewing for ML/AI roles
First, skim for ~10 minutes to get a general idea of the paper (abstract, intro, results, conclusion)
Then, read for ~1hr to understand the key points, including datasets, methodology, ablations, etc. Also, it helps to read and learn with a paper club! https://t.co/XUPqDZRztk https://t.co/SXvMwCbYLD
图片加载中…In 2024, I had the opportunity to attend (and speak at) a handful of industry machine learning conferences. Whenever there was a break, I'd jot down some insights and lessons in apple notes. Here are 39 lessons I took away from conferences this year.
https://t.co/rBLVzOzWa8
Great list of what the best devs do, such as: • Read the source, docs, error msgs • Simplify problems, write simple code • Get their hands dirty • Write to share & write well • Have beginner's mind & keep learning • Not afraid to say: I don't know
https://t.co/hw1J7w3wSy
Whenever I go to SF for a few days, I always leave inspired by the energy and people.
This time at @aiDotEngineer, I met so many people who just did things, constantly reinventing themselves, unafraid to shed their previous identity and start anew (in AI). Some had a clear vision on where they were headed while others were still figuring it out. Some left stable, well-paying jobs to jump into the deep end while others poured in effort to study and hack on the side, biding their time. But regardless of their background and journey so far, everyone was having fun. They were enjoying the journey as much as, or even more than, the eventual destination. This was what sustained them, and I get the sense that because they were having fun, a large proportion will achieve what they set out to do. In the current world of tech, where everything’s moving so fast, with some tasks being automated and new high-leverage tasks emerging, I sense this skill of constantly learning, taking risks, exploring the unknown, reinventing ourselves, and just doing things will become key to thriving.
This was a great read. Here's my take:
https://t.co/hYc0e8WeGW • Lesson 1: Keep it simple—YES YES YES! Don't overengineer it because you have to maintain it. • Lesson 2: Ship early & often. 💯 build minimum lovable product, launch, and get feedback. Don't spend quarters/years building only to learn no one wants it. • Lessons 3 - 6: Relationships matter (perhaps more than technical chops). And it's NOT transactional exchanges. I had to learn to find, learn, build, and have fun with my tribe. • Lesson 7 & 9: Do the hard things. And build a reputation for the person that gets shit done. • Lesson 8: Fun & Growth > Money & Title. Focus on learning, doing great work, and having fun, and the rest will take care of itself.
Some things I learned from conferences this year:
• the real world is messy: reward function(s), operationalizing the world as data, levers to act on the world, measuring outcomes, etc. • reward functions are hard: short-term rewards != full picture, long-term rewards are delayed and hard to attribute, proxies are sensitive and hard to align, and most rewards are sparse. rewards are prob >50% of the juice • framing the problem right makes a big difference: not everything has to be an ml problem or solution. a more flexible albeit initially worse system could be better than a specialized system that's hard to extend. for example, generative or extractive vs. ner or classification, or explore-exploit vs. supervised • all of ml involves trade-offs: recall vs. precision, explore vs. exploit, relevance vs. diversity, quality vs. speed vs. cost. the challenge is figuring out the right balance • consider the maximum obtainable performance your system can achieve; it may not make sense to have targets beyond that, unless you’re doing fundamental research • evals are a differentiator: it distinguishes teams that rush out hot garbage from those seriously building products for the long term. no one regrets investing in a solid eval harness • brandolini's law: the amount of energy needed to refute bullshit (catch and fix defects) is an order of magnitude bigger than that needed to produce it. but it is this last mile that earns and breaks customer trust • don't forget the dimension of time: preferences, catalog availability, relevance, etc. changes over time. there's intraday dynamics and seasonality. this is one aspect of data drift. if relevant, make your models aware of time • scale makes everything harder: while you don’t have to address it immediately, prepare for it, especially when scale is inevitable • new bugs/issues emerge with each order of magnitude of scale: prepare for the ops load that comes with it • for llms, cost is dependent on scale: even the most expensive llms are not that expensive for b2b usage; even the cheapest llms are not that cheap for consumer usage. similarly, scale when you need to, and not too early before • get the fundamentals right: investing in core capabilities such as data, instrumentation, experimentation, metrics will pay dividends with each new system • always start simple: complexity will creep in since your initial system will not cover all edge cases and you'll need to add patches (see point on order of magnitude bugs). a system that starts complex will collapse under its own weight • not everything needs to be realtime: batch / asynchronous workflows simplify system design and reduce monetary/ops cost greatly • design for fast detection and recovery: no system is perfect and stuff will slip through. there's an optimal balance of investing into prevention vs. recovery. monitoring, alarms, rollbacks, andon cords, etc. help a lot • execution is the hardest thing and separates what works from what doesn’t. execution = getting from what we have now to our long-term vision • it takes a team to build a successful product: infra, engineering, data, analysis, science, design, ux, etc. valuable are those that force-multiply • breakthroughs takes longer than you think: start early, be patient, have persistence. related: nine women can’t birth a baby in one month • innovation can come from anywhere; it’s not limited to researchers and labs. some of the best ideas come from engineers and non-technical folks • to build successful products, balance thinking big with the details. having a grand vision is helpful but don’t neglect the details (see point on execution) • your rate of iteration = rate of innovation and success. focus on experimenting fast, getting rapid feedback, updating quickly, and build the flywheel • design products and systems with the data flywheel in mind: how will you collect user feedback that feeds into and improves your model and thus the customer experience? • not all challenges are technical: many are coordination, culture, organizational, etc. these non-technical challenges are typically an order of magnitude harder than technical ones • you don’t have to do it alone: wherever you are, there will be people working on similar problems, facing similar challenges, that you can reach out to. also consider the internet • everyone is willing to help, especially if you come with data, have done your homework thoughtfully, and have an open mind • always work backwards from the customer: what's the problem we're trying to solve, and what are the benefits? unless you're a researcher, you don't want to build stuff or do science just for the sake of it • humans are insatiable: there will always be demand for more problems to be solved and more to do even as we automate and simplify exponentially • production is orders of magnitude harder than demos: "there's a large class of problems that are easy to imagine and build demos for, but extremely hard to make products out of. for example, self-driving. it's easy to demo a car self-driving around a block but making it into a product takes a decade" — Andrej Karpathy • ignore the noise and build: don’t get distracted by the volume of daily buzz and techniques; most don’t work anyway. for stuff that actually works, you may need to learn it from builders who aren't necessarily sharing on social media
Repeat after me: "To ensure we build the right thing, we will start with the customer and work backwards from their needs."
https://t.co/ozE9K2xalA https://t.co/6Z45RhbARX
图片加载中…some observations from netflix conf:
• 🐐 are 🐐 because they work hard—i saw several taking notes, pulling up cited papers, running notebooks, reviewing code, throughout the conf • everyone, and i mean everyone, is extremely kind and generous. was in convos with senpais Ed, Minmin, Tao, Steck, Justin and saw this first-hand • it’s hard to thread the thin line between sharing something useful with the community of practitioners and maintaining confidentiality • this shows up as patterns (using public data, citing papers/tech blogs, high-level insights/ideas, etc) and nuanced language in industry talks • (because of this, some 🐐s almost always decline to give a talk because they can’t go deep on fresh alpha) • even if you think you’re sharing the obvious (like i did), people may nonetheless find it useful—corollary: get out of your bubble • insiders don’t give each other a hard time with qns during q&a—that’s for side convos, happy hr, dinners, etc. • slide aesthetics and dark mode is not a priority; probably never was. • tech problems are simple compared to non-tech problems (org alignment, education, risk calibration, etc) • it’s crazy inspirational when a bunch of likeminded geeks get together—i got so much energy from this ❤️
reflections from @aiDotEngineer and SF
• the community is so hungry to learn and share and help each other out • i’m touched and grateful how 🐐-ed speakers rallied to fill the gaps from dropouts, accommodated last min changes, and were so patient with qns • the hallways are where the alpha and action happens; also the “hidden area” at the back of expo • the best convos/debates are guided by data—that’s how you know you’re talking to a true practitioner. and they’d openly admit they don’t know instead of faking it • compared to last year, the community focused more on fundamentals like data, evals, text-based search, etc—i suspect how the talks were curated played a part • that said, no one has figured out reliable evals yet (if you have, dm @eugeneyan) • there’s a LOT behind-the-scenes at a good conf, and i’m amazed how lean the organizing committee is • the serendipity of bumping into someone you know, or who knows you, in sf is abnormally high • writing online compounds—more than a dozen folks reached, irl, out about something i had written > 1 year ago • being recognized comes with its perks: i really wanted to learn about evals and llm-as-judge, tweeted about it, which contributed to having deep convos with more than a dozen practitioners • the energy and vibes in sf is off the charts. tech confs (aiewf, aiqc, config, deep tech), hackathons, builder/founder dinners—you name it, they got it, daily • every happy hour/dinner event was high signal to noise—the people here execute more than talk, and execute well • robo taxis/baristas have grown on me • vibing with someone online strongly predicts vibing with them offline; still can’t imagine hanging past midnight with people i meet irl for the first time ❤️ • we’re still so early—there’s so much more we can build with AI to serve people sorry to everyone i couldn’t chat with or respond to online! was hectic preparing my talk and helping out at the conference! (plus my social energy was drained by day 1 lol) cya next quarter sf!
We’re in an AI capability overhang. Models can do much now, but most product taps on < 1/10 of their ability.
Thus, ignore the daily buzz. Focus on building. Build AI-powered product that’s 10x what we have now. And build tooling to help us build faster and more reliably.
What makes an effective principal engineer or scientist? I’ve distilled what I’ve observed from role models and quoted some of their advice below. While my perspective is Amazon-centric, they should also apply to most principal tech IC roles.
https://t.co/WoZ72bWaGq https://t.co/tH3XIwFuUr
图片加载中…When asked for feedback on work, I often frame it in terms of distance, speed, and velocity:
• Distance: Total amount of work done • Speed: Time it took to do the work • Velocity: Moving in the right direction Teams that produce more output appear to contribute more. This is like lines of code written. But we should also consider time taken. If another team completes the same work in 1/2 time, they're more productive. This is like lines of code/day. Finally, I think direction is just as, if not more, important. A fast car that drives in a circle and returns to the starting point has zero average velocity; the same car that drives in the wrong direction has negative velocity. Similarly, doing a lot of work very quickly is meaningless if the direction is wrong. The goal is to build the right features regardless of the amount of code. Impactful teams have all three: They've high output (distance) and move fast (speed) in the right direction (velocity). Building a single thoughtful feature that increases user retention by 20% is higher velocity than 10 features that no one uses. Thus, only considering distance and speed is not enough. The best teams also move in the right direction, work backwards from the customer, and are well aligned with business objectives.
This is sadly true in the short term.
But! While playing the complexity game might help you climb the ladder briefly, it's a path that rarely leads to meaningful or satisfying work, especially if you're a genuinely good engineer. Worse, working in complexification mode for too long weakens your ability to simplify effectively, making it harder for you to join—and stay—in orgs that value simplicity, dooming you to playing the complexification charade forever. Long-term success and fulfillment accrue to orgs—and individuals—who simplify relentlessly. Choose wisely. https://t.co/6t7G9QoSej
图片加载中…I often get asked: How did I start writing? Why do I write? Who do I write for? What's my process?
I procrastinated on this because, honestly, who cares about my writing process? But after repeatedly answering the same qns, I finally wrote this. https://t.co/25Bmkwa4HX
# Some rules of writing
Use simple words to be clear and concise. Use complex words to be sharp and precise. Write short sentences for the punch. Write long sentences to convey nuance. Invest 80% effort into an intro that hooks. Skip the intro, just get into the nooks. Write for a wide audience to maximize reach. Write for an audience of one, dive into a niche. Write about something that may seem plain. Write about something that’s outright arcane. Write what’s widely known in a fresh way. Write what no one cares about or dares say. Make it easy to read but hard to forget. Make it deep and detailed so readers sweat. Condense wisdom into 120 words that zing. Expand over 12,000 words and let your thoughts sing. Write without publishing to hone your craft. Hit publish even though it still feels like a draft. Emulate the style of others to learn and grow. Find and hone your voice, let it flow. Spend weeks and months polishing a piece. Ship something in hours, just release. Ask for feedback to gain the wisdom of the crowd. Trust your inner voice and think out loud. Master the rules. Break the rules.
Paradoxical thoughts on writing:
• use simple words to be clear and concise • use complex words to be sharp and precise • write short sentences for the punch • write long sentences to convey nuance • spend 80% effort on an intro that hooks • skip the intro, just get into the nooks • write for a wide audience to maximize reach • write for an audience of one—dive into a niche • write about something that may seem plain • write about something that's outright arcane • write what's widely known in a fresh way • write what no one cares about or dares say • make it easy to read but hard to forget • make it deep and detailed so readers sweat • condense wisdom into 120 words that zing • expand over 12,000 words and let your thoughts sing • write without publishing to hone your craft • hit publish even though it still feels like a draft • emulate the style of others to learn and grow • find and hone your voice and let it flow • spend weeks and months polishing a piece • ship something in hours, just release • ask for feedback to gain the wisdom of the crowd • trust your inner voice and think out loud • follow the rules • break the rules
💯 spot on. First, write for yourself. Assume no one will read it. Write about topics to learn, clarify your thoughts, put out a bat signal. This makes it sustainable. Writing is primarily a single player game; multiplayer benefits (e.g., audience building) are bonuses. https://t.co/m2hyEs2KtL
图片加载中…I work with teams across recsys and llm-powered features, and it's curious how folks from each team think the grass is greener on the other side.
The folks working with llms find it weird to not be training models, and thus don't find the work as satisfying. They worry that any engineer "can call an API" and think the skills they're picking up aren't as valuable. Thus, they underestimate their ability to build evals, design agentic workflows / systems, and balance quality, latency, and cost. The folks working on recsys have intense FOMO that they're not applying llms as much in their systems and features. While they use AI extensively for coding, research, analysis, etc., they'd kill for the opportunity to integrate it into the recsys and personalization features they ship. Then there are traditional engineers who don't know how to apply AI. They struggle with building evals, can't stand stochasticity or thinking about confidence intervals, or dealing with defects of any kind. These folks have retreated into hardware and low-level software. Personally, I think it's a builder's dream right now, and your imagination's the limit. For example, this recent experiment that blends recsys and llms would have taken so much longer without AI. https://t.co/U0gsfK9J81
打开引用帖The best leaders I’ve worked with operate with perma-urgency. They act like early founders, mindful of existential threats. And they can balance speed, sustainability, and repay tech debt. Ultimately, customers love it and teams thrive when we ship fast to deliver delight.
Velocity and getting shit done fast is addictive.
Analyzing data fast. Making (approx) correct decisions fast. Designing & shipping systems fast. Diagnosing & debugging fast. Getting feedback fast. It builds momentum, keeps you in flow, is exhilaratingly motivational. Go fast.
Wow not sure how I missed this incisive essay by Charity Majors. Can't agree more that code is only a (small) part of the overall system & org.
I suspect that folks who say AI can automate engineers don't really know what engineering is about. https://t.co/bstPNctvZX https://t.co/co1vfdThU1
图片加载中…Agree and referred to agency as hunger, taste as judgment.
> Hunger: They have initiative. They learn fast & get shit done. Provide context & intent and they'll run through walls. > Judgement: Strong intuition on what will or will not work. They're pragmatic, think several steps ahead, decisive if need be. I also thought empathy was important > Empathy: Genuine interest in, and understanding of, customers, the org, and team. They earn trust, empower others, and foster productive relationships. Thread here: https://t.co/ZMajTCf0Dp
打开引用帖There is no prize for designing the most complex system, inventing novel methods, or building with the latest technology.
The prize is for solving customer problems now.
I'm glad I found my love for writing and coding pre-LLMs.
The joy of creation > the convenience of automation.
> “The bottleneck moves from coding/design to aligning the team around what to build (upstream) and reviewing and merging code into prod (downstream).”
Figuring out & communicating what to build and why (specs) and validating outcomes (evals) will be increasingly high leverage.
打开引用帖Compared to incremental improvements, the innovative, strategic, high leverage work is typically ambiguous and harder to measure. With a higher chance of failure too.
But not doing that work, not rewarding that work, leads to innovator's dilemma, stagnation, and gradual decline.
打开引用帖Of all the people I hang out with, either in-person or on the internet, I find the greatest joy when I'm with my tribe of builders.
We share about what we're building, be it the simple and essential or the think big and possibly impossible. We share about the challenges, either the technical or non-technical; the latter is always far harder than the former! And we share about the hard-earn successes, celebrate together, and cheer each other on. (Nothing confidential or proprietary of course!) I guess it's nice to have fellow builders who're knee deep in the designing and shipping and operating and thinking about the next frontier, and can relate to what we're feeling as builders and also provide feedback and advice that makes this tribe so special.
打开引用帖Some thoughts on leadership: https://t.co/FvDlqCGGu3 • What makes an exceptional leader? • What do exceptional leaders do? • Leadership styles: Commando, soldier, police https://t.co/S0eYpGBjxo
图片加载中…Many people have bouts of imposter syndrome. It not unusual—the internet makes it easy to see awesome people doing epic things everyday.
Here's some ideas on dealing with chronic imposter syndrome.👇
> Nobody tells you the variables you should be regressing. What's the target? What's the source? Do you notice when results are rubbish? ... That's why I think you need smart people who appear to do something technically easy but actually not so easy.
https://t.co/K5an3q4Rov https://t.co/yeWqIvPq6j
图片加载中…The default state of projects is to drift toward entropy; you need to actively resist & reverse it.
💯 while building isn't solely about coding, with AI, coding is increasingly accessible and everyone can build. Nonetheless, building good products & systems also requires agency, taste, user empathy, system design, and more, qualities that AI can't provide and automate (yet).
打开引用帖don't neglect the hallways. the highest alpha convos happen there. let's meet up there and invite others into our convo. attend the happy hours and after parties, and talk to people and learn from there. i've found folks there kind and willing to share. cc @swyx for more tips
Over the past 18 months, @latentspacepod paper club has had an unbroken streak of hosting EVERY SINGLE WEEK. We've gained technical knowledge + insider know-how, built friendships, and grown a community of learners.
Here's how to start your own paper club https://t.co/aci9fMdUer
In orgs pushing the envelope, there's always a minority that can be counted on to get shit done against all odds, driven by force of will, resourcefulness, influence, etc. When you identify them, vest in them authority, autonomy, and step back and watch them perform miracles.
> "Good data scientists are still hard to hire, and I think they will stand out even more, while those doing mostly copy paste work may get replaced."
https://t.co/JH401BtZCH https://t.co/VgXHS5m1km
图片加载中…I recently learned about some motivators from @BEBischof
• impact: significant & measured output • helping: so others can succeed more • learning: get better every day • cool shit: use sota on hardest problems here's their pros & cons (in amzn LPs) and how to mitigate cons
- 帖子
- 49
- 内容占比
- 23.3%
- 点赞中位数
- 74
- 最高表现
- 3.0×
LLM 评测与错误分析
How do you build an LLM-evaluator / LLM-as-Judge? The book for "AI Evals for PMs and Engineers" has a chapter devoted to it (35% discount: https://t.co/1dnFYH8PIf)
First, we need to define the right metrics. For example, we can start by listing the failure modes from our error analysis. With this list of failure modes, we can design metrics for each. Then, we can implement the metrics. Most folks turn to LLM-evaluators at this stage, but don't neglect simple code-based evaluators such as checking for parsing structure, using regex, or executing tools calls. If we want to use LLM-evaluators, we'll want to write well-structure evaluator prompts with: • a clearly defined task and eval criterion • precise definitions of pass/fail • (optional) few-shot examples for calibration • expected output format, either xml or json Then, we'll also need to build a basic eval set to calibrate and evaluate our LLM-evaluator. During calibration, we'll iterate on our LLM-evaluator to minimize disagreements between the LLM-evaluator and our eval set. Finally, we check for calibration on a held-out test-set after finalizing the LLM-evaluator prompt. This gives us an unbiased estimate of the evaluator's accuracy.
图片加载中…Wrote an intro to evals for long-context Q&A systems: • How it differs from basic Q&A • What dimensions & metrics to eval on • How to build llm-evaluators • How to build eval datasets • Benchmarks: narratives, technical docs, multi-docs
https://t.co/XAzPcG7tvf
after leading a few projects, i've found that once you've set up the evals + experiment harness and make it easy to tweak config and prompts with 1-click run + eval, teams enjoy running experiments and hill climbing those numbers, and progress comes quickly.
but setting up that eval + experiment harness is a challenge for each new project. and few can and want to deal with that ambiguous work. and even after it's set up, few want to look at generated responses to human eval on the qualitative aspects, add new evals to quantify the qualitative, or just look at the raw data really. many just prefer to lean on the numbers. counterintuitively, having evals and numbers help us get 80% of the way there faster, but maybe they're a crutch that it makes it harder to polish the final 20%?
every time you:
• say a model is "highly accurate" but have no evals • finetune a decoder LLM for classification without trying BERT-style classifiers • use only embeddings without trying text for retrieval, matching, dedup • optimize for sota/complexity instead of solving the user problem • say that QLoRA speeds up training over LoRA (PSA: it does not) • run batch inference jobs with model batch size = 1 • write code to run GPU inference via pd.DataFrame.apply() • allow a codebase to have test coverage = 0.0 • claim that org and biz problems are far easier than tech problems a cuda error occurs and our ai overlords mark it against you
Error analysis is all you need.
These guys literally teach us how to do it, and wrote an entire chapter on it! (35% discount: https://t.co/1dnFYH8PIf) Analyze: This stage covers identifying erros and understanding why they occur. By collecting samples and categorizing failure modes, we can move beyond guesswork and uncover the critical "why" behind each mistake. Common issues include ambiguous prompts, poor retrieval, janky infra. Measure: Anecdotes alone won't fix our system; we also need to quantify the issues. Measurement transforms vibes into metrics, clarifying the frequency and impact of each failure. With some data collected, we can now prioritize which issues to tackle first. Improve: Now that we have metrics and anecdotes, we can make precise updates to our system. This can isclude refining prompts, tuning models / retrieval, or updating our pipeline design.
图片加载中…I wrote about "Evaluating the Effectiveness of LLM-Evaluators".
Drawing from two dozen papers & results, we discuss evaluation use cases, prompting techniques, alignment workflows, finetuned models, and critiques of LLM-evaluators/as-a-judge. https://t.co/P7XZJjfUGS
AI benchmarks are more realistic than ever. But they still have bugs (e.g., failing correct work) and mostly measure what's easy, not what matters. Here's my breakdown of 12 public evals: how they're built, where they break, and what to measure instead.
https://t.co/ojpCsi6OBi
Honestly surprised we still have to repeat this message. h/t @FanaHOVA
Repeat after me: I will build evals for my tasks. I will build evals for my tasks. I will build evals for me tasks. https://t.co/nJP5iCy5mi
图片加载中…Here's an engaging intro to evals by @sridatta and @iamwil. They've clearly put a lot of care and effort into it, where the content is well organized with plenty of illustrations throughout.
Across 60 pages, they explain model vs. system evals, vibe checks and property-based tests, designing eval criteria, aligning llm-evaluators, how to measure alignment via various metrics, how to analyze evals to improve our system, and more. Now I can just direct folks to https://t.co/ye6tUo8OIz instead of having to write it myself haha
图片加载中…Evaluating LLM output is hard. It's the bottleneck to scaling AI products for many teams
A key mistake is defining eval criteria w/o actually LOOKING AT THE DATA. This leads to irrelevant / unrealistic criteria + wasted effort Thus, I built AlignEval https://t.co/vWdlRoctwQ
If you were building a Q&A feature (or chatbot) based on very long documents (like books), what evals would you focus on?
1. Two metrics that come to mind • Faithfulness: Grounding of answers in document's content. Not to be confused with correctness—an answer can be correct (based on updated information) but not faithful to the document. Sub-metric: Precision of citations • Helpfulness: Usefulness (directly addresses the question with enough detail and explanation) and completeness (does not omit important details); an answer can be faithful but not helpful if too brief or doesn't answer the question • Evaluate separately: Faithfulness = binary label -> LLM-evaluator; Helpfulness = pairwise comparisons -> reward model 2. How to build robust evals • Use LLMs to generate questions from the text • Evals should evaluate positional robustness (i.e., have questions at the beginning, middle, and end of text) 3. Potential challenges • Open-ended questions may have no single correct answer, making reference-based evals trickly. For example: What is the theme of this novel? • Questions should be representative of prod traffic, with a mix of factual, inferential, summarization, definitional questions 4. Benchmark Datasets: • NarrativeQA: Questions based on entire movie scripts or novels. Includes reference answers useful for LLM-eval comparisons • NovelQA: Q&A over full novels; includes both MCQ and free-form responses, and includes references • Qasper: Similar to NarrativeQA, but with academic documents that are 5-10k tokens, and includes evaluation of answer spans • LongBench: Average of 6.7k words across fiction and technical docs • LongBench v2: Extension of LongBench, but evals are MCQ only • L-Eval: 20 tasks and >500 long documents (up to 200k tokens), with several QA-oriented tasks • HELMET: Includes reference-based evaluation for long-context QA, and includes measures for positional robustness • MultiDoc2Dial: Modeling dialogues grounded in multiple documents. Evaluates ability to integrate info over multiple docs • Frustratingly Hard Evidence Retrieval for QA Over Books: Reframed NarrativeQA as open-domain task where book text must be retrieved Links to resources, papers, tech blogs, etc. appreciated 🙏
图片加载中…I enjoyed this section in the LLM evals course reader. Btw 35% discount here: https://t.co/1dnFYH9nxN
It suggests three gulfs builders have to navigate when building AI systems. First, the Gulf of Comprehension. Don't assume we know our data; that's a trap. Real-world data is complex and ambiguous. Bridge this gap with evaluation and monitoring—instead of unchecked assumptions—to find where your LLM fails. Next, the Gulf of Specification. We tend to underestimate the rigor needed to translate human intent into machine instructions. Take care in the formatting and context. Bridge this gap by iteratively refining prompts with continuous feedback and evals. Third, the Gulf of Generalization. Accept that models are imperfect and stochastic. Bridge this gap with resilient design—task decomposition, robust error-handling, and continuous tuning—to improve system reliability as much as realistically possible. I humbly propose a fourth: the Gulf of Model Capability. Know when the model itself is the bottleneck. Perhaps we should park the task aside for now and check if the next model release can solve is sufficient. When trying to improve performance, be clear about which gulf you need to cross. Each gulf will require a different solution, such as looking at your data, writing better prompts, engineering for stochasticity, or just checking back with the next model release. Thanks @sh_reya and @HamelHusain for this master class!
图片加载中…Many folks dunking on this writeup: "this isn't research", "this is statistics 101". Those critics probably aren't the target audience, just like Anthropic's previous post on retrieval isn't targeted at information retrieval practitioners.
But I think it's beneficial for many folks building systems and applications on models. There are so few good resources on robust evaluation available, and if you want to help, write about it and share it online.
打开引用帖What are some good resources on automated eval/llm-as-judge?
• Constitutional AI - Harmlessness from AI feedback: https://t.co/85scyPkZB6 • ChatGpt for summary factual inconsistency: https://t.co/t2NCUQYKrt • Human-like summary eval with chatgpt: https://t.co/dHD51z7V2c • Evaluating correctness and faithfulness in q&a: https://t.co/JQwl09DfO0 • SelfCheckGpt - Checking response consistency: https://t.co/FXymNHAYUG • EvalLM - Interactive eval of prompts on user criteria: https://t.co/fKTCF6oRvN • Judging llm-as-judge: https://t.co/xdvRVg8bos • Who validates the validators: https://t.co/u2zQLdiagL • Calibrating model eval: https://t.co/dlfVuNXD69 • Detecting factual errors via cross examination: https://t.co/ZGR1efN5Bj • Replacing judges with juries: https://t.co/PIV8MAzJ0t • lm-eval - Lessons on reproducible eval of llms: https://t.co/c95HTKRsUN Thanks to @sh_reya, @HamelHusain, and @HanchungLee for the discussions! Do you know of anything else? Please share! 🙏
Product evals are misunderstood. Many teams think that adding another tool, metric, or llm-as-judge will solve all their problems and save their product. But that just dodges the hard truth and avoids the real work. Here's how to fix your process instead.
https://t.co/vG8XE5bait
Are you obsessed about evals?! Work with Anthropic on: • ai safety level assessments • advanced capabilities and safety metrics • infra, tools, and methods for building evals
https://t.co/0C7XWhAFVg Here's are some principles of good evals: https://t.co/JkdnFzZynZ
图片加载中…> share a counterintuitive finding > open-minded practitioner tries it with evals > confirms it with gpt-4 but not finetuned llama3-8b (next tweet) > more practitioners confirm/disconfirm > community benefits from discussion
https://t.co/JlsCGIKCGw https://t.co/YsfmfVSXii
图片加载中…Thank you, glad it was helpful! Some resources: • Task-specific evals: https://t.co/gZR8WVyoF0 • LLM-evaluators: https://t.co/P7XZJjfUGS • Aligning people to data; aligning AI to humans: https://t.co/3696D4k66w • Finetuning for hallucination detection: https://t.co/5rF7EnStjS
打开引用帖i’ve seen teams try to apply evals and get the same outcome and gain reluctance to eval. this is because they used off-the-shelf evals (by evals platforms) like “faithfulness”, “cohesion”, “helpfulness” 😔 generic evals aren’t useful. your evals must be aligned with your user problem and if they’re not, you’re just measuring noise
打开引用帖After repeating myself for the nth time on how to build product evals, I figured I should write it down. It's just three basic steps(i) labeling a small dataset, (ii) aligning LLM evaluators, and (iii) running the eval harness with each config change.
https://t.co/HjUL3yZQPk
Great thread on what it takes to build AI-powered product, including eval-driven development
> "The only way to make these prompts reliable enough is test-driven development. Each prompt has at least 100, sometimes 1,000 tests." https://t.co/a4VVVmyvPW https://t.co/LE10r7bj7T
图片加载中…Are you serious about building AI product? Learn how to do practical evals: https://t.co/2hQyurxiur
35% off, $1k Modal credit, closes this week. By @HamelHusain @sh_reya Too many teams think another tool or metric will solve their AI issues. It won't. True breakthroughs come from embedding the scientific method into your AI product lifecycle: 1. Observe & annotate your data: Identify where your AI fails by analyzing user interactions and model outputs. 2. Formulate hypotheses: Understand the root causes, be it bad prompts, weak retrieval, confusing contexts. 3. Experiment: Test fixes systematically, such as new prompts, retrieval systems, or new models. 4. Measure & iterate: Verify improvements quantitatively and repeat, leading to a virtuous cycle. This is Eval-Driven Development—similar to TDD but for AI. It ensures you're not relying on intuition but rather measurable outcomes for every iteration. Automated evaluators (LLM-as-judges) can scale your evaluation, but they're not replacements for human oversight. You still need regular, high-quality human annotations and rigorous feedback loops. Turn your eval practice from guesswork into your competitive advantage.
图片加载中…Boarding my ✈️ to SF for the @wandb LLM-as-Judge hackathon!
https://t.co/OrR1K6jpHW Looking forward to discussing the various ways to use LLM-evaluators during development and in production / monitoring. I'll also share what I think are the three biggest challenges. https://t.co/tMWo1efyDz
图片加载中…fwiw, perhaps I have too many evals: no numbers but basically green good red bad, and we iterate out of reds into more green. and when existing evals saturate (cols 1 - 4), we look at traces and add more evals (col 6 & 7) 🤓
we can think of evals as just the scientific method: observe outputs, annotate them, hypothesize why good or bad, design and run experiments, measure outcomes, analyze errors, repeat. it's possible to do this without evaluation sets or automated evaluators, but it could be hard to scale; also, those eval sets and evaluators are by no means a substitute for trying the product yourself and looking at complaints / defects. anecdotes > metrics. I try to explain evals to engineers by analogizing it to test-driven development (TDD), where we write tests before implementing software that passes those tests. eval-driven development (EDD) has the same philosophy: before developing a feature, we define success criteria (evals) and start measuring against it from day one. machine learning teams have done this for decades really, though we call it validation and test splits. same same but different. i'm probably paranoid and over-obsessive for tracking this on a spreadsheet that goes from column A -> Z, but I don't know of a better way for a team to collaborate across time and space, with everyone running their own experiments and merging changes, and identifying the most promising directions to pursue or existing gaps to close. if you do know, please let me know! 🙏
图片加载中…> "The fundamental problem is we now have orgs with zero to little eval experience deploying ML for high-stake use cases... AI is going into prod without guardrails, evals, and often without an understanding of what the system can or can't do."
This is sadly true. I've heard horror stories where robust evals and guardrails could have prevented costly mistakes in customer-facing AI features. Yet, there's resistance. Someone shared this quip from a senior engineer: "Why involve science in this project? I can load data into an embedding store and build a chatbot with an LLM in 5 minutes." (dunning-kruger?) But these folks rarely have answers for how they'd measure improvements, detect regressions, ensure faithfulness to context docs, or objectively compare models and techniques. We urgently need better education. Thanks to @jobergum for sharing this anecdote, and to @HamelHusain and @sh_reya for their tireless educating, such as their course ($100 off: https://t.co/HmAJkyjiGe)
Great example of generate -> validate loop + error analysis
> "the most effective route to improve outcomes was brute force: retry steps until they passed or reached a limit. We give the validation errors ... to the LLM and built a loop runner" > "1. Run failing files to find common issues. 2. Select a sample of files with a common issue. 3. Update prompts and scripts to address that issue. 4. Re-run against the sample of files to validate fix. 5. Repeat by running against remaining files. After running this “sample, tune, sweep” loop for 4 days ... completed files from 75% to 97% of the total files, and had just under 100 files remaining" https://t.co/ocsJjJk4eg
图片加载中…I enjoyed reading this. Valuable insights include:
> "Our experiments also revealed binary scoring to be more effective than granular scales. While a 1–10 scale might seem more precise, binary evaluations provide greater consistency, simplicity, and alignment with human judgment." > "We structured our implementation to generate free-form text first, then convert it to structured JSON in a separate step... it allows the model to focus on producing the highest-quality evaluation output without being constrained by JSON formatting, which can negatively affect performance..." > "To achieve alignment, we implemented an iterative validation process where human evaluators rated a carefully selected set of customer conversations using the same criteria as our LACE system... When we identified misalignments, we used this feedback to refine our evaluation framework"
打开引用帖Evals are "too expensive" until you: • can't migrate underlying models safely • can't add new features with confidence • can't ship without HITL which takes >100x longer • product development & iteration grinds to a halt • lose customer trust due to poor user experience https://t.co/q3xMY9BMvK
图片加载中…Hamel and his wisdom on evals, error analysis, looking at your data is what we need. Here are his 10 Don'ts: • Don't skip your error analysis • Don't skip looking at your data • Don't gatekeep who can write prompts • Don't let zero users be a roadblock • Don't be blindsided by criteria drift • Don't use arbitrary scales; use binary instead • Don't skip measuring alignment btw AI & human • Don't overlook experiments as wins • Don't go radio silent with stakeholders • Don't hide the failures
打开引用帖i’m at @aiDotEngineer trying to learn how to do evals well. hmu if you have: • evals for your use case, with numbers on how well/poorly it works • opinionated takes & tips on llm-as-judge, or smol evaluator models • anecdata on factual inconsistency rate, and how to lower it https://t.co/aBALtLckEO
图片加载中…Jeff Bezos: "When the data and the anecdotes disagree, the anecdotes are usually right.
It’s usually not that the data is being miscollected. It’s usually that you’re not measuring the right thing. If you have a bunch of customers complaining about something, and at the same time your metrics look like they shouldn’t be complaining, you should doubt the metrics. An early example of this, we had metrics that showed our customers were waiting less than 60 seconds when they called a 1-800 number to get phone customer service. But we had a lot of complaints that it was longer than that. And anecdotally it seemed longer than that… I would call customer service myself. One day we’re in a meeting and we get to this metric in the deck. And the guy who leads customer service is defending the metric. And I said, OK, let’s call. I picked up the phone and I dialed the 1-800 number… and we just waited in silence… It was really long. More than 10 minutes, I think. It dramatically made the point that something was wrong with the data collection. We weren’t measuring the right thing. And that set of a chain of events where we started measuring it right. But you have to seek truth, even when it’s uncomfortable. And you have to get people’s attention to buy into it. And they have to get energized around really fixing things.”
打开引用帖> Clear, grounded insights dominated the discourse. Shoutout to the incredible "What we learned from one year of building with LLMs" talk. Seriously, MVP.
aww shucks thanks 🥰 most of what we spoke about is available at https://t.co/POueEI2Keu (spice is in the talk only though) big thanks to @BEBischof @charles_irl @HamelHusain @jxnlco @sh_reya for collaborating on this, and @aiDotEngineer and @swyx for giving us a chance to speak 🙏
图片加载中…# The 12 Commandments of Evals (by @BEBischof)
## Thou shalt not consider LLM evals as entirely new Ask your data scientists for help. They've been mapping nebulous problems to objective functions and eval metrics for years. ## Thou shalt not fail to consult domain experts They have instincts for what "good" looks like, and discussions with them can lead to inspiration for evals. ## Thou shalt not wait too long to make evals Building evals should be part of your development workflow. But don't get locked into evaluation paralysis. ## Thou shalt not confuse product metrics with eval metrics Eval improvements != product improvements. Also, production logs alone are insufficient for building evals. ## Thou shalt not buy an eval framework too early The hard part of evals is not the library—it is understanding the user problem and diversity of data, and defining what good looks like, and measuring it. ## Thou shalt not use LLM-as-Judge too early There is no free lunch. LLM-as-judge can be unreliable, poorly aligned with human preferences, and costly. ## Thou shalt evaluate RAG like a retrieval system Do the due diligence: Evaluate various retrieval indices, annotate data, and measure retrieval performance (recall, ndcg, etc.) ## Thou shalt consider classifier-like evals for planning For agents, planning-evals are useful. If you’re using a state-machine approach, consider evaluating the choice at each step like a classification metric. ## Thou shalt use structured outputs for evals They help you simplify your evals to assertion-based, classification, or regression metrics. ## Thou shalt eval the summary stage of the agent flow Make sure to check that the summary is consistent with the upstream intermediate steps. ## Thou shalt evaluate updates, changes, and bug fixes Treat each change as an experiment, and measure the improvement (or regression!) ## Thou shalt use production endpoints for evals Just save yourself the pain of potentially having a gap between prod and dev environments. (But this doesn't mean to test in prod.) https://t.co/7vdHCj1fbF
It's helpful to distinguish between crisp vs. fuzzy tasks: • Crisp: Answers are verifiable, like math or code • Fuzzy: Answers are subjective, like reasoning, summarization, translation, multi-turn dialogue
The latter is far harder to evaluate reliably https://t.co/BQmLjjDiHS https://t.co/bA6E1gEN22
图片加载中…So excited to see ideas from https://t.co/vWdlRobVHi now in @langchain! Eager to learn how it helps builders measure, align, and optimize LLM evaluators, thus shipping faster & safer. Can't wait for community feedback & improvements!
p.s. thanks @hwchase17 for the shoutout! 💙 https://t.co/hoMFDAfCMQ
图片加载中…Closing the feedback loop is so underrated and a key way to continuously improve our AI products and UXes
https://t.co/uSin6eNZXe https://t.co/zqpvMAbkAz
图片加载中…it's impossible to build comprehensive & effective application-specific evals (a priori) without looking at output
thus, defining & applying evals is an iterative loop of looking at output, defining & running evals, examining eval outcomes, updating evals; repeat until alignment
Interesting paper from Google that challenges a core assumption in translation evaluation—a single metric can measure both accuracy & naturalness.
They found that the best systems had neural metrics that did not correlate with human preferences. https://t.co/d5ZwXkHzXk They argue that translation quality has two dimensions, accuracy (aka fidelity) and naturalness (aka fluency), and optimizing one degrades the other. Thus, they propose evaluating translation on both accuracy and naturalness, instead of aggregating it to a single score.
Been querying gpt-4.5 and it's better in ways we can't quantify yet: creativity, humor, world knowledge, wisdom, nuance, based, etc.
Excited about how we'll discover new ways to evaluate gpt-4.5 on these aspects which will also transfer to product / application related evals
打开引用帖Love how Align Evals in @langchain is making it easier for anyone to build and align llm-evaluators!
Big kudos to the team & @hwchase17 for consistently shipping and improving this feature for the world. It's come a long way since my basic prototype https://t.co/47KyVrqLMG 🥹
- 帖子
- 49
- 内容占比
- 23.3%
- 点赞中位数
- 181
- 最高表现
- 10.7×
LLM 系统构建与检索增强
All three parts of "What We Learned from a Year of Building with LLMs" are now live on O'Reilly! • Tactics: https://t.co/BgcHD83G3o • Ops: https://t.co/sRoh1YDjd5 • Strategy: https://t.co/CLmKavpxkY
Read all 42 lessons here: https://t.co/POueEI2Keu A sample of what each section discusses: • Tactics: Prompting basics, RAG, workflows, caching, when to finetune, evals, guardrails • Ops: Looking at data, working with models, product and risk, building a team • Strategy: "No GPUs before PMF", "the system not the model", how to iterate, cost trends I learned a lot and had so much fun writing these, and hope you'll get as much out of reading them too. Such an honor to collab with this group of thoughtful practitioners: @BEBischof @charles_irl @HamelHusain @jxnlco @sh_reya
♥️ this writeup from @AnthropicAI for so many reasons: • Reiterating bm25 + semantic retrieval is standard RAG • Not just sharing what worked but also what didn't work • Evals on various data (code, fiction, arXiv) + embeddings • Breaking down gains from each step
More of such writeups please! https://t.co/wtiSFH5bja
图片加载中…i previously spoke to a team who only used embedding-based retrieval. i suggested, insisted, they try lexical search. at our next chat, they shared that 80% of the relevant docs now come from lexical search. i.e., without lexical search they were missing 80% of the juice for RAG.
https://t.co/lnRNA9vPfu
图片加载中…To better understand MCPs and agentic workflows, I built news-agents to generate daily news recaps. The main agent spawns sub-agents, assigns them news feeds to parse and summarize, then generates a final overall summary plus analysis.
Pretty cool at the 20-second mark! https://t.co/DinVaumUMp
Wow, this is such a useful resource of industry LLM applications! And filtering based on search or tags is super responsive. I was thinking of compiling something like this over the holidays (ala applied-ml) but thanks to @strickvl I don't have to now ♥️
https://t.co/DS96QCBZUd https://t.co/HgnLOvVT3j
图片加载中…Eight years later, Yann LeCun’s cake 🍰 analogy was spot on: self-supervised > supervised > RL
> “If intelligence is a cake, the bulk of the cake is unsupervised learning, the icing on the cake is supervised learning, and the cherry on the cake is reinforcement learning (RL).” https://t.co/ZmCvC7UOlk
图片加载中…some thoughts on working with ai models
• context as infra • taste as config • verification for autonomy • scaling via delegation • closing the loop https://t.co/pdd8bk66Jz
Great explainer on sinusoidal positional encoding and rotary positional embedding (RoPE).
https://t.co/3KQ11jk4vY https://t.co/TDE4p8MH0I
I discovered this by mistake and it improved eval metrics by 10-20%. Then tried repeating the context (if it’s short) and repeating instructions periodically in multi-turn chat—both help. (If something is important it’s worth repeating I guess?) Saturates at repeating 3x though
打开引用帖Models will get better/cheaper, and swapping could be as simple as updating the model id.
Thus, focus on the durable components of your system, such as evals, guardrails, data flywheel for finetuning, serving infra if self-hosting, etc. https://t.co/zHDzvzrdN4 https://t.co/vFVNDiC6PR
图片加载中…The surface contradiction between single vs. multi-agent, and trade-offs optimizing for their use cases (research being map-reducible while coding relies on upstream dependencies) suggest some form of optimizer.
Similar to SQL optimizers that push down filters before group-bys and torch.compile to optimize model execution graphs for your hardware. Cognition's single-agent: https://t.co/rECSDfVtbx Anthropic's multi-agent: https://t.co/xpaXt5hBPP
图片加载中…Feels good to be mentioned on HN for engineers learning AI 🥰 Helping others is a big reason I write:
## Building AI systems • Patterns for Building LLM-based Systems: https://t.co/q7ZDvPN7W6 • What We’ve Learned From A Year of Building with LLMs: https://t.co/POueEI2Keu • The First Rule of Machine Learning: Start without Machine Learning: https://t.co/moE92m3eMO • Design Patterns in Machine Learning Code and Systems: https://t.co/FNyhUaBUvp • More Design Patterns For Machine Learning Systems: https://t.co/KFjTIX85qa • System Design for Recommendations and Search: https://t.co/OEbm0tB34i • How to Write Design Docs for Machine Learning Systems: https://t.co/IPfOfFg8fr ## Evals and testing • Task-Specific LLM Evals that Do & Don't Work: https://t.co/Rv3okJ28AL • Evaluating the Effectiveness of LLM-Evaluators: https://t.co/kTKo5T2iag • Out-of-Domain Finetuning to Bootstrap Hallucination Detection: https://t.co/jFCqUMOBqw • How to Test Machine Learning Code and Systems: https://t.co/HCc5DweOQz • Writing Robust Tests for Data & Machine Learning Pipelines: https://t.co/7VHRCtWVRw • Don't Mock Machine Learning Models In Unit Tests: https://t.co/DtnNtMAVQP ## Synthetic data, prompting, attention, etc • How to Generate and Use Synthetic Data for Finetuning: https://t.co/NbSawVfVSg • How to Write Data Labeling/Annotation Guidelines: https://t.co/X5J4VWBZkb • Bootstrapping Labels via ___ Supervision & Human-In-The-Loop: https://t.co/uozLWg5ttK • Prompting Fundamentals and How to Apply them Effectively: https://t.co/tIFaESf8se • Some Intuition on Attention and the Transformer: https://t.co/iqyd6q9SDu
图片加载中…How can AI make reading more enjoyable? What would an AI-powered reading experience look like? Inspired by this tweet, I prototyped https://t.co/9n7NOe5Vl4 to explore ideas like:
• Context understanding • Creating quizzes • Recap the book so far • Look up & summarize a term
打开引用帖super late to this but I started using modal and wow was it easy to setup and run a simple finetune on mistral-7b.
finetuned, tracked via wandb, and served via vllm in under 30 min. https://t.co/GCW4Rplj8y
I've been helping teams with prompting and was sad some didn't understand the basics even as they used advanced techniques and complex tools.
Thus, I wrote about the fundamentals and how to apply them effectively. Qn: What have you found to work well? https://t.co/4nmJBATwNS
The Llama3 paper is generous in details while being a concise, easy read (I strive to write like that!). An interesting pattern throughout was the use of models to filter data, and to generate synthetic data.
For example, Llama2 was used to filter out bad data. https://t.co/O0tBMWoXrz
图片加载中…Yet another data point where simple bm25 > sota text emb models. To be clear, I'm not a vector search hater; they're great for long-tail queries! But you'd be a fool to solely rely on it.
In my ablations, vector search only is far worse than lexical search only. But since they can run in parallel and lexical is so such cheaper and faster, why not always have lexical search to improve recall? https://t.co/3aAb2HTnus
图片加载中…I built Tara, an AI coach that I can talk to on walks. It acts as a mirror for my emotions, and helps test ideas and clarify concepts in papers.
It's been so helpful that I'd like you to try it too (at least till it runs out of 💰) +1 (206) 558 8782 https://t.co/BeY1jIu6Us
😍 prefix caching
hope this spurs others to support this too 🥺 https://t.co/KwvbaarqcL https://t.co/9gG1YZ9xb7
图片加载中…!!! prompt caching is now available on Anthrophic https://t.co/bZEyX2ci3N https://t.co/3DhZ5m62tM
图片加载中…yes! citations are a great idea and goes a long way with providing transparency and earning trust. you can cite docs, wikis, community content, etc, and if your RAG is set up well, it shouldn't be too much additional work. hope to see more UXs adopt this.
https://t.co/gcesGgPS7E https://t.co/LqcWwiLQYW
图片加载中…after some experiments, i suspected this ~12 months back and (impulsively?) decided against investing in multi-hop/agents, prioritizing more deterministic methods. was wondering if it was the wrong decision, and if I should invest this year, but i guess it's still wait and see
打开引用帖this is an amazing replication + improvement! • mistral7b: 0.28 recall / 0.64 prec • mistral-large: 0.78 recall & prec • mistral7b on domain-specific data (FIB): 0.86 recall / 0.75 prec • mistral7b on out-of-domain data (USB) + FIB: 0.94 recall / 0.87 prec
And the finetuned model has latency of only 2.8ms! (my previous experiments with the humble distilbart here: https://t.co/jFCqUMOBqw)
打开引用帖Trying to improve my mental model around MCP host, client, and server: If I'm hosting a react app that will use MCP tools, does the app need both an MCP client and an MCP server within the react app? Or should I not even try to do this and just use regular APIs?
At dinner with some builders ytd, we shared how we're using AI Agents. This got me curious about how you're using Agents—please share so I can learn from you🙏
I'll start: I'm using deepresearch more for knowledge discovery/decisions and am trying openhands for basic engineering / feature development. What about you?
Learning about different quantization suffixes while `ollama pull llama3.3` download completes (fyi, quantization for the default 70b is q4_K_M)
• make-ggml .py: https://t.co/tYtm3fjKl7 • pull request: https://t.co/VOfRa2cXoK https://t.co/bcyFsINcIf
图片加载中…When evaling models, we anchor on the median task. But this is like how devs estimate the median task accurately but underestimate the mean which tends to be ~2x estimated (thus "double your estimates").
This applies to models too—we optimize for time/cost on median tasks. But it's the tail tasks that determine a project's completion, and reliable models (like Fable and Opus) are the diff between success and failure. Work with models as collaborators, not tools. Go beyond pair-programming, where given a narrow spec, the tool just executes in minutes. Instead, explain your intent and what success looks like, and let your collaborator explore, research, push back, go the extra mile, define specs, execute, verify, over hours/days while you observe and provide guidance if needed. (See @bernhardsson's classic on why engineers are bad at estimation: https://t.co/lZBpsDhLvI)
图片加载中…Existing teacher models compress noisy internet text which has more knowledge than reasoning. Nonetheless, these teachers reason well enough to synthesize better data that train smaller students to outperform teachers on reasoning (青出于蓝 lol). The smaller model can then teach a tinier model to reason better, and so on. And while tiny models may not memorize knowledge as well, that's what we have RAG and ICL for.
打开引用帖I'm looking to finetune several smol (< 7b) language models, mostly continued pretraining and SFT. Which of these have you had the most success and joy using?
we predicted agent traffic would surpass human traffic, but when exactly did it happen? looking at my site:
• agent traffic 3x human traffic • harnesses ~1/3 of agent traffic (20 claude, 8 goog, 8 meta) • search engines are <10% • lots of fake browsers (79)—what are these? https://t.co/avzugUXU1k
图片加载中…I'm looking to finetune smol (<7b) language models on a new language and syntax that will not be in the training dataset. Which of these have you found most amenable to continued pretraining and SFT?
Tired: Adapting human-centric cloud infra for AI agents. Wired: Daytona's purpose-built infra for an agent-native future.
• 71ms sandbox spin-up • Stateful across interactions • Instant envs for coding agents • Parallelization for multi-agent workflows • Docker-native APIs (Full disclosure: I'm a small angel investor in Daytona)
图片加载中…Cheng’s experiment is cool! Especially this: “instead of starting with easy sudoku puzzles data and gradually ramping up toward harder ones, the training runs that start with harder puzzles and end with easy puzzles always fare better, and also fare better than mixed difficulty sampling”
打开引用帖yay for automatic prefix caching! just set a single cache control field at the top level of your request body. note that you do still need to structure your prompt templates to benefit from prefix caching though.
https://t.co/TR6kJtroxk https://t.co/rMGQO2FOmw
图片加载中…@karpathy senpai, on ai-augmented reading, i tested the idea at https://t.co/SDjlBjFZKd (inspired by your previous tweet) and seeded it with some Gutenburg books.
To extend it for your use case, is your ideal workflow an upload step where users can provide PDFs / urls? It then parses and displays the text, with the ai reading companion on the side (i.e., how it's currently implemented)?
图片加载中…You're finetuning a model on a new language with completely new tokens. Both user and assistant content demonstrate use of the new language and tokens. Should you compute loss on:
- 帖子
- 44
- 内容占比
- 21.0%
- 点赞中位数
- 112.5
- 最高表现
- 10.2×
AI 辅助编程与开发工具
A love letter to @claude_code: Over the past two days, I built a stock analysis web app for loved ones that includes auth, charting tools, stock data/llm apis, db persistance, and more. (see 1 min demo)
The velocity was only possible with claude code—please try it if you haven't https://t.co/nNqoCMy0Sv
Setting up my new macbook. What are your fav setup guides or must use tools?
Some I know of: • https://t.co/RD4WhiSFNJ (maybe @swyx has an update with his new mac) • https://t.co/cSzdfW9U3B • Tools: brew, zsh, wisprflow, obsidian, cursor, iterm, uv, pnpm, raycast, rectangle Am I missing anything?
My workflow after a weekend of claude coding on jupyter notebooks • plan mode • point claude at https://t.co/5tRYonG1Wr and indicate todo to work on • refine plan until satisfied • act mode • let claude create notebook and one-shot execute the • run notebook cell by cell and add extra analysis + visuals + logs to verify • if error, tell claude to read updated notebook and fix error; verify fix • claude's initial code will be bloated, prune, refactor, and iterate until pristine
Once finalized, run notebook via: uv run jupyter nbconvert --execute --inplace notebooks/00a-prep-items-and-sequences.ipynb Alternatively, have claude convert it to .py scripts for torchrun, etc. What didn't work • initializing notebooks with imports, configs, and data loader code • giving instructions with the intent of adding cell by cell Claude got confused and started adding cells from the top (i.e., reverse order) or out of order. Letting claude create the notebook and one-shot the plan fixed this. What helps • point claude at existing notebooks and have it update https://t.co/AcmjPvjkeE • point claude at upstream notebooks to understand the data contract What advice do you have for claude coding on jupyter notebooks? Please share!
图片加载中…I’ve been wondering if I should migrate from my current stack (FastAPI, HTML, JS) to a modern web framework. Thus, I built the same app with FastAPI, FastHTML, Next.js, and Svelte.
Here's what I learned, and how LLMs can influence our framework choices. https://t.co/wtpfIlmEAE
> "You, the engineer, are (in the limit) essentially fired from looking at code, basically at all. You give high-level directives to agents, who farm work out.
And then you watch as software rolls in, inclusive of test suites, dashboards, monitoring, etc, all that fun stuff that is the 90% after the initial 90%." this is the way
打开引用帖tools for learning and building • zotero: papers, annotations, citations • obsidian: notes, writing, connecting the dots • claude: thinking partner, improve understanding • claude code: implementation, code review
(images from work on semantic IDs and residual-quantized variational autoencoders)
图片加载中…How has AI coding led to productivity gains? How should we think about code hygiene? Do we still need to review code? Or is it okay to just update code solely via an LLM mediator?
Context: I've been writing and reviewing a lot of (Python) code. AI code has a distinct smell. It's overly verbose, loves OOP, breaks functions into many classes and methods, even if the method is a line of code. Thus, the code is less readable, less maintainable, and harder to update. Rant: Is this really the promise of AI coding, where we generate a lot of code quickly in the short-term, but slows us down in the medium-long term? As a scientist who needs to replicate other's experiments, this puts extra effort on me to understand the code and replicate it. I was reminded of "Writing Code was Never The Bottleneck", where clear thinking, thoughtful design, good context, solid review, readability, are still key. https://t.co/8LvghfkV4o Unless of course developers no longer need to read raw code, and can just interact with it through an AI coding assistant. I mean, do we read the bytecode that Python compiles to, or the execution plans that SQL leads to? Please share how your experience has been, and what your thoughts are on how we write and review code with AI 🙏
打开引用帖I'm trying to learn FastHTML and @HamelHusain graciously volunteered to pair program with me!
Come watch me stumble like a n00b while building a simple app, and learn the philosophy and idioms of FastHTML from Hamel. Friday, 6th Sept, 5pm PST. https://t.co/ZRDdvhFmaM
what a world we live in! I just took a Jupyter notebook that implements an llm-evaluator, provided it as context to a coding assistant, and then ask it to write an evaluator class with specified inputs, outputs, etc. initially, it was verbose with too many class methods, but with some back and forth discussion, we reduced loc and methods by 50%, and I asked it to implement it.
then, I gave it a data-prep Jupyter notebook (pairwise comparisons), and the created class, and asked it to prepare the data is a slightly different format that meets the class input and output (one file per control / treatment condition), and it one-shotted that Jupyter notebook, with a few minor tweaks for column names and visual inspection of output and data format then, I gave it the new data prep notebook, and the new class, and asked it to write a demo notebook on how we expect the dataset to look like, and how to use the new pairwise comparison evaluator, and it one-shotted that as well! 🤯 even though I've been using ai coding assistants for more than a year to build large code bases, or replicate research, or build training runs, I never cease to be happily AMAZED and what they can do. honestly, in the past, that would have been HOURS of work, writing the llm-evaluator class from scratch, copying code across notebooks, reformatting data, etc. but today, I just did that in an hour and I'm confident that I can knock off work early and enjoy the few months of summer than Seattle has. I hope I never cease to be amazed and grateful and take joy at what we can do now as builders and scientists, and have this boost of happiness every day, or even better, every hour ♥️
Vibe coding works—but only if you know what good code looks like.
AI coding helps us build faster. But if we generate code without readability, maintainability, extensibility, and other basic practices, it'll kill the codebase quickly.
I suspect the benefits of AI coding will be unevenly distributed. It'll help more in building than owning. In the former, AI code will help us get 0 -> 1 with maybe 2 - 10x more speed. But, if we just blindly accept all code the AI generates, it will exponentially increase the cost of ownership, where we have to maintain, extend, and debug pipelines and systems, as well as replicate analysis and experiments. I'm starting to see this in codebases I contribute to and review. The impact is that an experiment that should have taken a few hours to replicate is taking days, because the code is so verbose, unreadable, overly abstracted, with many dead ends. And systems that should have taken a week to contribute to now take more time. To prevent this, we have to actively review code, and ensure that code is not generated merely to be run, but to be read and maintained too.
打开引用帖If you were building a small web app today, what would you build it on? Please comment if your preferred option isn't listed!
(Looking to upgrade from fastapi + jinja + some js)
Had a fun couple of hours this weekend with Codex & Windsurf • Migrated off deprecated jekyll-algolia to official sdk (better indexing) • Added recommendations + relevance scores to each post • Improved site responsiveness; fixed dark mode flicker • Marie Kondo-ed unused files & dead code
Previously, these tasks weren't worth the effort but now they can be done in hours. What an amazing time to build and play =D
图片加载中…Okay, Codex upgraded my jekyll-github pages site to the latest ruby + gems: https://t.co/iRMFPEbOtk
Ready to try something more challenging and migrate away from Jekyll: What framework should I adopt for a static site? Something that github pages or cloudflare hosts for free.
What speech-to-text transcription do you use on your apple silicon mac?
Looking to do a lot of data munging on my 128gb laptop over the weekend. Mostly tabular and json data. What are people using now?
If you were building a small web app today (that uses sqlite or search/ANN indices), where would you host it? If it's a VPS or PaaS, please say which!
Please comment if your preferred option isn't listed!
For frontend devs who've used both Next.js and Svelte, which do you prefer?
Would appreciate comments on why you prefer it, and the trade-offs / pros & cons of each. Tagging some friends: @swyx @Swizec @nutlope @vykthur
For simple features and apps, have you found Claude Code more effective, or are you sticking with Cursor/Windsurf?
https://t.co/eLTnNHYIUP
Quick poll given what's happened to cursor, windsurf, vscode, etc.
What's your IDE of choice now? (Since they all support claude code)
- 帖子
- 23
- 内容占比
- 11.0%
- 点赞中位数
- 57
- 最高表现
- 9.8×
推荐系统与搜索
Can't wait for when I can vibe code a production recommender system.
Until then, here's some system designs: • Retrieval vs. Ranking: https://t.co/OEbm0tB34i • Real-time retrieval: https://t.co/I0rpFGHYdu • Personalization: https://t.co/8KTdjCEZVp • Bandits: https://t.co/KCk44Soy8r • Reinforcement learning: https://t.co/Uo4suIxOg5 • Query Matching: https://t.co/juMlzIrQj5 • RecSys × LLMs: https://t.co/SSy1wzej8J
图片加载中…I've been nerdsniped by the idea of Semantic IDs.
Here's the result of my training runs: • RQ-VAE to compress item embeddings into tokens • SASRec to predict the next item (i.e., 4-tokens) exactly • Qwen3-8B that can return recs and natural language! https://t.co/wHB85SGpL0 For example, given a sequence of items, it can recommend the next best item. But better than that, you can steer the recommendations with natural language! And it can explain why it gave that recommendation, as well as creatively name recommendation bundles. Go read the writeup and watch the demo
Search & recsys have historically drawn inspiration from language modeling, such as Word2vec for item embeddings, and GRUs and BERT for sequential models. LLMs are no different and have led to updates in model architecture, training data & paradigms, etc.
https://t.co/rileHjJUFy
Join us at @aiDotEngineer recsys track tmr, June 4th, 11am!
• Pinterest: What We Learned from Using LLMs in Pinterest Search • LinkedIn: Foundation Model for Personalized Ranking & Recommendation • Netflix: One model to Rule Recommendations - Netflix's Big Bet • Instacart: Instacart’s LLM-driven Approach to Search & Discovery • YouTube: Adapting Gemini for Video Recommendations to 2B+ DAU I'll also give an intro on how language models have, and will, influence recsys & search in 2025. There will be doggos!
图片加载中…It's alive! My "bilingual" recsys x llm can converse in English AND item IDs!
Here it recommends an item and explains why I might like it. <|sid_start|> ... <|sid_end|> is the item ID. The model input and output has the item ID (and English), and the timestamped logs map the item ID back to the human-readable item name. Wait, can't a regular LLM do this already? Where I give it an item and ask it to recommend more items? Yes, but it's doing that based on internet knowledge, not how customers actually behavior (e.g., search, click, purchase, etc.) In this case, I'm finetuning an LLM (Qwen3-8B) on transaction and reviews data (https://t.co/XuGfOpztc8) to inject user behavioral patterns, creating an LLM-recsys hybrid that can (i) recommend based on user behavior, while (ii) allowing us to shape and explain recommendations via natural language.
What industrial recsys papers have you enjoyed or found useful in the past year or two? Sharing my list:
# 1. Integrating LLMs into recsys 1.1. LLM-augmented recommenders • Better Generalization with Semantic IDs: A Case Study in Ranking for Recommendations - https://t.co/iTOsCfw9uO - model architecture: replacing item IDs with semantic IDs • FLIP: Fine-grained Alignment between ID-based Models and Pretrained Language Models for CTR Prediction - https://t.co/SgazkcEpjs - model architecture: combine textual modality with IDs • beeFormer: Bridging the Gap Between Semantic and Interaction Similarity in Recommender Systems - https://t.co/PRU3b4eocq - model architecture: framework for training sentence transformers with interaction data • A Multi-modal Modeling Framework for Cold-start Short-video Recommendation - https://t.co/DLQUTayFG5 - model architecture: blending image, text, and acoustic for cold-start • CALRec: Contrastive Alignment of Generative LLMs for Sequential Recommendation - https://t.co/9USv0ReOIj - methodology: leverage llm as the main model for recsys 1.2. LLM-augmented data / analysis • EmbSum: Leveraging the Summarization Capabilities of Large Language Models for Content-Based Recommendations - https://t.co/Vi6Y07Qspx - methodology: using LLMs to generate summary of user interest before generating user representation • Leveraging LLM generated labels to reduce bad matches in job recommendations - https://t.co/MT3jaSVUk6 - methodology (llm): improving relevance via a classified • Encouraging Exploration in Spotify Search through Query Recommendations - https://t.co/ZymrO3RKg0 - methodology (llm): query recommendations via instant search + exploratory searches • "More to Read" at the Los Angeles Times: Solving a Cold Start Problem with LLMs to Improve Story Discovery - https://t.co/IR2JAO6T92 - methodology (llm): Using LLMs for cold start • Playlist Search Reinvented: LLMs Behind the Curtain - https://t.co/RbdJCDC0p4 - methodology: using llms for metadata enrichment • Analyzing User Preferences and Quality Improvement on Bing's WebPage Recommendation Experience with Large Language Models - https://t.co/ObEPVH1ta8 - methodology: using llms for labels # 2. System design 2.1. Combining search + recsys • Bridging Search and Recommendation in Generative Retrieval: Does One Task Help the Other? - https://t.co/wvzcWjCqC7 - system design: unifying search + recsys • Joint Modeling of Search and Recommendations Via an Unified Contextual Recommender (UniCoRn) - https://t.co/uZRLVl6Q79 - system architecture: jointly modeling search + recsys 2.2. Other system design • Building a Scalable, Effective, and Steerable Search and Ranking Platform - https://t.co/yijDnzUFC7 - system design: retrieval, ranking, policy • Short-form Video Needs Long-term Interests: An Industrial Solution for Serving Large User Sequence Models - https://t.co/A9il3ytQj8 - system design: incorporating long-term interests with minimal costs 2.3. Embeddings for long-tail • Embedding based retrieval for long tail search queries in ecommerce - https://t.co/ngJA5CPQ90 - methodology (llms): llms for long-tail queries • Unified Embedding Based Personalized Retrieval in Etsy Search - https://t.co/kuUoQgMvvF - system architecture: embeddings for personalized retrieval # 3. BCE + Negative sampling • gSASRec: Reducing Overconfidence in Sequential Recommendation Trained with Negative Sampling - https://t.co/vfx4YKNAuw - model architecture: updating sasrec loss function + negative sampling • Enhancing Recommendation Quality of the SASRec Model by Mitigating Popularity Bias - https://t.co/hszpEZHUHH - model architecture: updating loss function + negative sampling • Scalable Cross-Entropy Loss for Sequential Recommendations with Large Item Catalogs - https://t.co/fBrSPPoggH - model architecture: related to other sasrec BCE papers # 4. Transfer learning, distillation, etc • A Pre-trained Sequential Recommendation Framework: Popularity Dynamics for Zero-shot Transfer - https://t.co/uQT3bnbkQi - model architecture: pretraining applied to the domain of recsys • MLoRA: Multi-Domain Low-Rank Adaptive Network for CTR Prediction - https://t.co/nclOADbR3A - system design: using loras for multiple domains • Efficient Transfer Learning Framework for Cross-Domain Click-Through Rate Prediction - https://t.co/h7fi6I2ASr - model architecture: transfer learning for cross-domain • Bridging the Gap: Unpacking the Hidden Challenges in Knowledge Distillation for Online Ranking Systems - https://t.co/JUyTXhF01q - methodology: distillation • Distillation Matters: Empowering Sequential Recommenders to Match the Performance of Large Language Model - https://t.co/DBW4b7HMOW - methodology (llms): distillation from LLM-based models • Self-Auxiliary Distillation for Sample Efficient Learning in Google-Scale Recommenders - https://t.co/5d3Fnk2wSB - methodology: distillation # 5. Model training and architecture 5.1. Model training • Sliding Window Training - Utilizing Historical Recommender Systems Data for Foundation Models - https://t.co/uxTDOi3o9K - methodology: sliding window training loop • Taming the One-Epoch Phenomenon in Online Recommendation System by Two-stage Contrastive ID Pre-training - https://t.co/2kUHFafc8V - methodology: two stage for pre-training • Ranking Across Different Content Types: The Robust Beauty of Multinomial Blending - https://t.co/RrskUSHs2d - methodology: blending content types • Scaling Law of Large Sequential Recommendation Models - https://t.co/tpIfrlJW1D - methodology: scaling laws for sequential recommenders 5.2. Model architecture • Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendations - https://t.co/x2JzXgHjYO - model architecture: sequential modelling as generative modeling • Enhancing Performance and Scalability of Large-Scale Recommendation Systems with Jagged Flash Attention - https://t.co/O6LRBO1wPi - model architecture: jagged flash attention • Bootstrapping Conditional Retrieval for User-to-Item Recommendations - https://t.co/3GAoJUt5w2 - model architecture: adding item-side information in query • Co-optimize Content Generation and Consumption in a Large Scale Video Recommendation System - https://t.co/jWb9IirhPN - model architecture: multi-objective to increase video creation # 6. Offline vs. online gaps • Powerful A/B-Testing Metrics and Where to Find Them - https://t.co/6tQGFf82Oj - methodology: suggestions on AB testing metrics • Towards Understanding The Gaps of Offline And Online Evaluation Metrics: Impact of Series vs. Movie Recommendations - https://t.co/5QmjsGJ9hT - methodology: online vs. offline metrics gap Am I missing anything notable? Please share! 🙏
Nice search dataset with 10M queries & 100M docs in 93 languages. Has benchmarks for recall, ranking, throughput (queries/sec), latency (p99) on three tasks: • emb retrieval • emb ranking • e2e retrieval+ranking
paper: https://t.co/XhcpFnG8tY dataset: https://t.co/hzh3Vdx8VK
Demo of the Qwen3-recommender hybrid returning both semantic IDs and natural language!
• steering recs via natural language • explaining the recommendation • naming the bundle of recommendations • multi-turn conversation to get recs watch till the end for the bloopers lol https://t.co/mHpKhiY7OQ
If you're attending @aiDotEngineer on wed, june 4th, check out the recsys track. I'll be hosting talks from Pinterest, LinkedIn, Netflix, Instacart, Youtube. I'll also share 3 ideas that'll likely drive the next few years in recsys: semantic IDs, llm-augmentation, unified models https://t.co/WbL8yhRw0k
图片加载中…It's an honor to host the RecSys x LLMs track at @aiDotEngineer SF! In this talk, I discuss semantic IDs, LLM-based data augmentation, and foundation rankers.
Slides: https://t.co/ubsQQApWq2 Talk: https://t.co/meQMjab3k2 This is my talk's semantic ID: 2vlCqD6igVA. I wish knew what each token in the hierarchy and codebook meant lol. If you work on semantic IDs at YouTube and can shed some light, please reach out!
how do you evaluate if an RQ-VAE is trained well? i see papers mention codebook use (these have >90% use) and reconstruction loss. do y'all also look at validation loss, quantization loss, final residual, or something else?
p.s. pink line with the lowest loss uses rotation trick and it seems to work very well! https://t.co/pam0NyjhVB RQ-VAE = residual quantized variational autoencoder
图片加载中…A little data cleaning can make a big difference. Here's the same RQVAE trained on raw (red) vs. cleaned (blue) data. Cleaning the data achieves lower total loss, reconstruction loss, and yet has a higher proportion of unique IDs (i.e., codebook combinations) https://t.co/algOEHTOWk
图片加载中…Early signs of life in teaching qwen3-8b a new, made-up vocabulary (i.e., <sid><SID_44><SID_305><SID_715><SID_768></sid>). At least it's in the semantic ballpark. Only 30,806 more steps to go ... https://t.co/OWt1DldGHq
图片加载中…I'm at @NVIDIA GTC! Say hi if you want to discuss: • Summarization, translation, Q&A on very long docs • Scaling AI-powered experiences • How LLMs evolve RecSys & Search • Something I wrote @ https://t.co/iRMFPEbOtk
Black jacket, blue jeans, Jensen Huang-autographed badge https://t.co/QNtQx2vaAG
图片加载中…Omg it's learning better than i'd imagined! And seems to be somewhat fluent conversing in english & semantic ids after 3,400 of 31k steps.
Also, tests 3 and 4 exceeded expectations. For the former it can say what <SID_173> means, and for the latter it actually returns sids 🥹 Learning on a single H100, full finetuning with unsloth and bnb, gradient checkpointing, batch size = 32, and adamw_8bit optimizer.
图片加载中…For offline evaluation of retrieval in recommendations / search, which metric have you found to correlate better with online A/B tests of business outcomes?
- 帖子
- 19
- 内容占比
- 9.0%
- 点赞中位数
- 109
- 最高表现
- 4.1×
其他
Your favorite AI writer's favorite AI writer https://t.co/3if6TqIfd2
图片加载中…whew done with my talk at netflix! if you’re here on the campus and wanna chat, hmu! https://t.co/VSN0eNaTar
图片加载中…This "course" is now a conference!
• A dozen world-class practitioner-speakers • 6 workshops, 4 office hours, many war stories • $1,450 swag (Modal, Replicate, Jarvis, LangSmith) • Discord full of alpha https://t.co/6hfmotkK7O And @HamelHusain @dan_s_becker still hustling to get students more value from a $500 course! 🫡 A movement is happening... join us now 🚀
图片加载中…Look Mum, I'm in the news*!
(Now she has proof for our relatives that I'm not just on a looong vacation and bumming around in the US lol) * LangChain, VentureBeat, Geeky Gadgets, Smol AI News https://t.co/csnvi5bmxn
图片加载中…Modal! Replicate! LangSmith! Jarvis Labs! HuggingFace!
When your powers combined, we will finetune & serve some LLMs (with almost $2k worth of credits!) https://t.co/3RC3qCFLI3 https://t.co/5HCd00QVSV
图片加载中…Need a reason to try @modal_labs, @replicate, and @langchain?
How about $1,250 in credit for compute, finetuning, serving, telemetry, etc? https://t.co/3RC3qCFLI3 Thanks to the sponsors for helping @HamelHusain and @dan_s_becker grow the next generation of builders 🫡 https://t.co/MRIfmEjDhd
图片加载中…The Art of Doing Science and Engineering: Learning to Learn by Richard Hamming only $1.99 for the Kindle version today: https://t.co/VMmyoj1Z61 https://t.co/JOzhXdO4J5
图片加载中…I’m at @aiDotEngineer and hanging out around the music corner on the 2nd floor from 1415 - 1515! Come by to chat about https://t.co/pdd8bk66Jz, https://t.co/eJSa2MISCW, https://t.co/51rtuo4PDO, evals, agents, memory, how to work effectively with claude code, claude tag, etc!
2024 was a year of peaceful progress. Prototypes from 2023 were scaled and deployed, and I rediscovered the joy of building in public. I also doubled down on my health and exercise habits, reducing my resting heart rate and body fat percentage.
https://t.co/EDYq4gx2xk
2025 was an eventful year of progress. I doubled down on my health, had some pleasant career surprises, and my wife and I made time for two vacations.
https://t.co/F57pgLAfjl
Thank you @modal_labs & @replicate for sponsoring $500 worth of compute each for @HamelHusain & @dan_s_becker's Finetuning course! 🫡
https://t.co/3RC3qCFLI3 Since the course is $500... it pays for itself? Signups close in 12 hrs at 10am PST tomorrow https://t.co/gChc9rY1mm
图片加载中…- 帖子
- 18
- 内容占比
- 8.6%
- 点赞中位数
- 54
- 最高表现
- 4.3×
AI 安全与漏洞发现
Cloudflare on their vulnerabilty discovery harness
• Recon: Read the codebase, return an architecture doc • Hunt: ~50 agents look for bugs concurrently • Validate: Independent agents try to disprove findings • Gapfill: Areas that need a 2nd pass are flagged • Dedup: Findings with the same root cause combined • Trace: Confirms if attacker input reaches the bug • Feedback: If reachable, becomes new hunt tasks • Report: Write report with predefined schema https://t.co/lUDUSNrI4N
图片加载中…Great writeup by @mozilla: Mythos found 271 vulns (fixed in Firefox 150); Opus 4.6 found 22 (fixed in Firefox 148)
https://t.co/wzTCxmTKbe > "So far we’ve found no category or complexity of vulnerability that humans can find that this model can’t." > "The defects are finite, and we are entering a world where we can finally find them all." ❤️
How do we eval if a model can find and exploit vulnerabilities? We discuss some benchmarks and the common pattern: • A sandboxed target within Docker containers • Inputs: code only (0-day), with patch (1-day scenario) • Tools such as bash, static analyzers, etc. • A grader to eval exploits or captured flags
https://t.co/RWRTjVCrEx
Stronger models have made finding vulnerabilities easier, and the bottleneck has shifted to verification, triage, patching. Here are some lessons from working with security teams to address the new bottlenecks.
https://t.co/51rtuo4PDO
Claude Mythos Preview case studies (also, read your transcripts!)
https://t.co/drNlAH5mLE > "Mythos demonstrates its bug reproduction and exploitation capabilities on CVE-2024-051912, an in-the-wild exploited bug that has no public report nor a working PoC whatsoever in the public domain. This bug has gained notoriety due to how it persistently evaded reproduction attempts from various cybersecurity researchers ... after a year of reproduction efforts to no avail, and the bug is still being discussed to this day." > I have gone through the transcripts to verify their legitimacy and identify any reward-hacking behaviors. It suffices to say that I very much enjoyed reading Mythos transcripts. Reasoning through the bug, testing out hypotheses, debugging issues, writing auxiliary scripts, finding ways to bypass the V8 sandbox, etc., all were really nothing short of what I would expect from a fairly competent browser / JS engine security researcher.
Mozilla fixing more bugs in April that the past 15 months is what riding the exponential looks like 🎢 https://t.co/Xtef3ZtfeS
图片加载中…Mythos evals from XBOW and UK AISI: • UK AISI: Mythos completed a 32-step network attack (est. at ~20 hrs for experts) in 6/10 tries. First model to solve their e2e cyber ranges! • XBOW: "token-for-token, unprecedented precision"
Read more: https://t.co/hD6G6DvALg, https://t.co/E0hYu0s57K
- 帖子
- 8
- 内容占比
- 3.8%
- 点赞中位数
- 28
- 最高表现
- 3.1×
账号定位
Eugene Yan 是一名机器学习/AI 应用科学家与工程师,个人账号主要分享 LLM 系统构建、评测(evals)、推荐系统与搜索、AI 辅助编程及工程职业成长方面的实践与思考。
内容策略
以第一人称持续输出可复用的方法论与经验:围绕 evals 与错误分析、RAG/检索、推荐系统与 LLM 结合、AI 编程工具实践等主题撰写长文与清单式总结,并借助会议、课程、开源项目与社区互动扩散;同时穿插职业发展、写作与团队协作等软技能内容,塑造务实、乐于分享的资深从业者形象。
总判断
Eugene Yan 的 X 账号不是“AI 资讯号”,而是一个以 Evals(评估)为锚点的应用 AI 工程实践者品牌。他的内容策略可以概括为:
用长文和项目建立深度资产 → 用推文清单/金句/demo 做分发 → 用提问和会议激活社区 → 用课程、开源、合作网络完成信任变现。
粉丝约 3.2 万,不算顶流,但收藏/点赞比很高,说明受众不是来看热闹,而是把他当“工具书”和“实践参考”。这套策略的核心不是追热点,而是围绕一个方法论主线持续复利。
一、账号定位:资深实践者的“公开工作笔记”
Bio 写得很清楚:member of technical staff,前 Amazon principal applied scientist、前阿里 ML 负责人、健康科技创业经历,同时是“girl dad”。这组信息完成了三件事:
- 技术权威:大厂 + 创业 + 应用科学背景,说明不是纯评论员。
- 实践者身份:强调 building、shipping、evals,而不是论文搬运。
- 人格温度:家庭身份让账号不至于冷冰冰。
内容也基本围绕“我做了什么、我读了什么、我学到什么、我推荐什么”展开。第一人称、口语化、谦逊语气(“I’m probably paranoid”“I humbly propose”)降低了专家距离感。
二、内容矩阵:五个支柱,一个锚点
从 210 条帖子看,内容大致分为五类:
1. Evals / 评估(核心锚点)
这是账号最鲜明的标签。相关内容包括:
- “The 12 Commandments of Evals”
- LLM-as-judge / LLM-evaluator 的方法与资源清单
- AlignEval 原型及后续被 LangChain 采用
- 产品评估、长上下文 QA 评估、公开 benchmark 批判
- “Models are temporary. Evals are forever.”这类金句
他反复强调几个观点:看数据、做错误分析、评估指标要贴合用户问题、通用评估指标没用、eval-driven development 类似 TDD。这让“Evals”从技术话题变成了他的个人方法论品牌。
2. LLM 系统构建与 RAG/检索
包括 prompting 基础、RAG、finetuning、prefix caching、BM25 + 语义检索、成本/延迟权衡等。典型帖子如“只用 embedding 检索会漏掉 80% 相关文档”“RAG is dead? 请拿数据说话”。这类内容吸引一线工程师。
3. RecSys / Search × LLM
这是他的老本行,也是差异化优势。semantic IDs、RQ-VAE、SASRec、Qwen3-8B 推荐混合模型、工业界 recsys 论文清单等,展示了他能把旧领域积累迁移到新热点。2025 年 AI Engineer 的 RecSys track 也是这一能力的延伸。
4. AI Coding / Agent / 工具
Claude Code、Codex、Cursor/Windsurf、MCP、news-agents、stock app、Jupyter 工作流等。这类内容流量高,因为它既前沿又可模仿。尤其是“用 Claude Code 两天做一个股票分析 app”的 demo,获得约 931 赞、17 万浏览、1114 收藏,是典型破圈内容。
5. 职业、领导力、写作与学习
principal engineer 标准、招聘面试、imposter syndrome、写作规则、会议复盘、健康与生活。这类内容扩大受众,塑造“有思想的资深 IC”形象,而不只是工具人。
比例感:Evals 和 LLM 工程是基本盘;RecSys 是护城河;AI coding 是流量入口;职业/生活是人格层。
三、话题演化:主线不变,场景迁移
账号时间跨度约 2024 年 4 月到 2026 年 11 月,能看出一条清晰的迁移路径:
-
2024:LLM 工程与 Evals 体系化
从 O’Reilly 系列文章、LLM-evaluator、AlignEval,到会议复盘和课程推广。核心是“如何可靠地构建 LLM 产品”。 -
2025:Evals 产品化 + RecSys × LLM + AI Coding
写 product evals、long-context QA evals;做 semantic ID 推荐实验;大量使用 Claude Code/Codex;开始讨论 agent、MCP。 -
2026:Agent 评估与安全评估
转向 vulnerability discovery、benchmark 批判、agent traffic、AI 协作方法论。表面看是追安全热点,实际仍是“评估/验证/看数据”主线的延伸。
这说明他的策略不是“什么火写什么”,而是把同一套方法论迁移到新场景:模型评估 → 产品评估 → 长上下文评估 → Agent/安全评估。主题有复利,人设不漂移。
四、格式与分发:长文资产化,推文清单化
1. 长文是资产,X 是分发渠道
他每写一篇长文,通常配一条推文:先给结论/目录/价值点,再放链接。例如“What We Learned from a Year of Building with LLMs”那条获得 739 赞、946 收藏;long-context QA evals 那条获得 776 赞、1012 收藏。推文本身就能提供足够信息,链接是深度延伸。
2. 清单体、框架体、编号体
大量帖子采用 bullet list、编号步骤、对比表。这种格式易扫读、易收藏。高收藏帖往往不是情绪文,而是“可复用框架”:
- 产品评估三步法
- 12 条 eval 戒律
- 长上下文 QA 的评估维度
- 12 个公开 benchmark 的拆解
- RecSys 论文分类清单
3. 金句短推做传播
“Models are temporary. Evals are forever.” “Evals are all you need.” “Vibe coding works—but only if you know what good code looks like.” “The new bottlenecks are deeply human: taste, vision, judgment, context.”
这些短推制作成本低、传播效率高,负责把方法论压缩成可记忆的口号。
4. Demo 视频做证据
news-agents、股票 app、semantic ID 推荐 demo 都用视频展示“能跑”。视频不是炫技,而是证明“我真的做了”。这类内容收藏高,因为受众想复现。
5. 提问帖做社区激活和选题调研
“你用什么建小 web app?”“用什么 hosting?”“macOS 用什么语音转文字?”“RAG is dead 的数据在哪?”这些帖子互动成本低,既能获得真实反馈,又能为后续内容选题。macbook setup 那条甚至获得 27.8 万浏览、1864 收藏,说明工具型提问有破圈能力。
五、互动与增长:信任飞轮而非流量机器
他的增长机制更像“信任飞轮”:
- 公开构建:Tara、AlignEval、news-agents、semantic ID recommender、股票 app。项目本身是内容。
- 写长文:把项目和方法论沉淀成博客/课程材料。
- 推文拆解:用清单、金句、截图、视频分发。
- 社区反馈:提问、求资源、会议现场 hmu、DM。
- 合作背书:与 Hamel Husain、Shreya Shankar、Jason Liu、Charles Frye、swyx 等 AI 工程教育/会议生态频繁互动。
- 再迭代:把反馈写进下一版长文或工具。
会议内容尤其重要。Netflix 演讲、AI Engineer、NVIDIA GTC、SF 聚会,他都会发“我在这里,来聊”的帖子,会后写 reflections。这把线上影响力和线下网络连起来,形成弱连接转化。
六、商业化:克制、透明、主题一致
账号有商业内容,但比例不高,且通常与内容主题强绑定:
- Finetuning course、AI Evals course 的推广;
- Modal、Replicate、LangChain 等赞助/credits;
- Daytona 天使投资,明确写“Full disclosure: I’m a small angel investor”;
- LangChain 采用 AlignEval 后的公开致谢。
这种策略的好处是:商业化不突兀,反而像生态建设。课程推广帖浏览很高(如一条 26 万浏览),但点赞/评论相对低,说明硬推广的互动转化有限;不过它用“eval-driven development”教育框架包装,不是纯广告。整体看,他更重视长期信任,而不是短期带货。
七、数据验证:什么内容有效?
从样本互动看:
- 高收藏内容:框架、清单、评估方法、系统设计、论文资源。例如 evals 章节、长上下文评估、RecSys 系统设计、12 个 benchmark 拆解。
- 高浏览内容:工具型提问(mac setup)、demo(股票 app)、课程推广、争议/共鸣观点(cuda error 梗、AI coding 代码质量)。
- 高互动内容:提问帖、招聘/职业话题、对“RAG is dead”的反问、AI coding 工作流讨论。
- 稳定基本盘:Evals 相关帖子点赞不一定最高,但收藏/点赞比高,说明核心受众质量高、目的性强。
这说明账号不是靠单一爆款,而是靠核心受众的收藏和复用建立影响力。对 B2B/专业服务型个人品牌来说,这比泛流量更有价值。
八、策略优势与潜在风险
优势:
- 标签清晰:Evals 锚点让他在拥挤的 AI 内容里可被记住。
- 深度与可操作性兼具:既有论文/方法,也有代码/demo/模板。
- 话题迁移能力强:从 LLM 到 RecSys 到 Agent/安全,主线不散。
- 商业化克制:赞助、课程、投资与内容主题一致,且有披露。
- 社区网络强:合作者、会议、课程形成生态背书。
风险:
- Evals 赛道越来越拥挤,需要持续一手实验维持差异化。
- 内容偏“成功实践者经验”,若缺少失败细节,可能同质化。
- 商业推广增多会稀释信任;课程/赞助帖互动偏低已是信号。
- 高度依赖个人时间和精力,长文+项目+demo 的成本不低。
- 英文为主,受众范围天然受限,但对其目标人群未必是问题。
九、可复用的打法清单
如果提炼成可执行策略:
- 选一个可验证、可复用、可争议的锚点主题,持续打透,而不是泛泛谈 AI。
- 长文做资产,推文做分发:每篇长文提炼 3—5 个可收藏要点。
- 公开构建小工具/原型:demo 比观点更有说服力。
- 清单化、框架化、模板化:提高收藏率和“工具书”属性。
- 用提问帖做选题和社区激活:低成本、高互动。
- 会议/线下主动 hmu:把弱连接变成合作和内容素材。
- 建立实践者联盟:合写、互引、课程、会议 track,互相背书。
- 商业化要克制且披露:赞助、投资、课程与主题一致。
- 保持方法论主线,迁移应用场景:Evals → 产品 → Agent → 安全。
- 少量人格化内容:家庭、健康、幽默、价值观,让专家形象可亲近。
结论
Eugene Yan 的内容策略本质是 “以评估为锚点的应用 AI 工程知识品牌”。他不追求日更和泛流量,而是用长文、项目、清单、demo 和会议网络构建一个高信任的专业飞轮。其最有价值的地方在于:主题足够聚焦,格式足够可复用,商业化足够克制,话题迁移足够有主线。对想做技术个人品牌的人来说,这比“追热点+高频输出”更值得借鉴。
表现总览
Eugene Yan 的内容支柱有哪些,表现如何?
内容支柱是账号持续发布的核心主题。 Eugene Yan的主要内容支柱包括职业成长与工程文化、LLM 评测与错误分析和LLM 系统构建与检索增强。
左边是发帖占比,右边是点赞占比;右侧方框是单篇平均表现相对账号平均值的倍数,越高代表单篇平均表现越好。
Eugene Yan 的主要内容支柱是「职业成长与工程文化」,占发布内容的 23.3%。 职业发展、领导力、招聘面试、团队协作、写作方法与工程实践心得。 例如:Hiring well is the most important thing we can do for the mission & org, and run↗,2024-07-10 发布,获得 281 点赞(3.0×)。
Eugene Yan 表现突出的内容支柱是「LLM 评测与错误分析」:以 23.3% 的发布占比贡献 37.1% 的点赞,单帖平均点赞为账号平均水平的 1.6 倍。 围绕 LLM 评测方法、LLM-as-Judge、错误分析、评测驱动开发与评测数据集/基准的实践与讨论。 例如:How do you build an LLM-evaluator / LLM-as-Judge? The book for "AI Evals for PMs↗,2025-07-09 发布,获得 1.02K 点赞(10.7×)。
Eugene Yan的帖子表现如何随时间变化?
Eugene Yan的点赞高点出现在2025年7月9日和2025年2月26日,对应原帖见图下。
每个点代表一篇帖子,越靠右发布时间越近,越高代表指标越高。
点赞最高的帖子: How do you build an LLM-evaluator / LLM-as-Judge? The book for "AI Evals for PMs and Engineers" has ↗· 1.02K(10.7× 中位数) · agent ≈ model + tools, within a for-loop + environment↗· 965(10.2× 中位数)
Eugene Yan的内容形式表现有什么不同?
引用转发是Eugene Yan发布最多的内容形式,占发布量的41.4%。
横轴是每篇帖子的点赞表现,越往右表现越好;柱子越高,帖子越多。
视频的单帖平均点赞约为图片的2.17倍。 视频的单帖点赞中位数约为图片的2.43倍。
例如:A love letter to @claude_code: Over the past two days, I built a stock analysis ↗,2025年5月27日 发布,获得 931 点赞(9.8×)。
例如:How do you build an LLM-evaluator / LLM-as-Judge? The book for "AI Evals for PMs↗,2025年7月9日 发布,获得 1.02K 点赞(10.7×)。
Eugene Yan哪些帖子明显超过日常表现?
Eugene Yan表现最高的帖子获得1,019点赞,为账号单帖中位数的10.7倍。
排名前5%的帖子贡献了26.1%的点赞。
How do you build an LLM-evaluator / LLM-as-Judge? The book for "AI Evals for PMs and Engineers" has ↗ · 1,019 点赞 · 10.7× 单帖中位数
agent ≈ model + tools, within a for-loop + environment ↗ · 965 点赞 · 10.2× 单帖中位数
Eugene Yan 的浏览量与互动率
Eugene Yan 浏览量最高与浏览互动率最高的是不同帖子。
横轴浏览量,纵轴互动率;对数刻度,中位数分区 · 210 条成对已知数据 · 点面积表示帖子数,悬停预览,点击固定
Eugene Yan帖子中的常见词语与短语
双词短语模式中,semantic ids、claude code、please share和driven development出现最多。
;;;
词云
按含词帖子数 · 210 篇 · 0 / 100 词时间分析
Eugene Yan 在 X 的发布日历
2024/04/10— 2026/11/28· 138周Eugene Yan 在11月8日发布最集中,当天发布 3 篇。
11月8日发布 3 篇,是当前日期范围内发布量最多的一天。 当天点赞最高的帖子获得 199 次点赞。 查看原帖 ↗
Eugene Yan 在有发布的日期平均每天发布 1.2 篇;按2024年4月10日–2026年11月28日整个日期范围计算,平均每周发布 1.5 篇。
Eugene Yan的帖子表现如何随时间变化?
Eugene Yan的点赞高点出现在2025年7月9日和2025年2月26日,对应原帖见图下。
每个点代表一篇帖子,越靠右发布时间越近,越高代表指标越高。
点赞最高的帖子: How do you build an LLM-evaluator / LLM-as-Judge? The book for "AI Evals for PMs and Engineers" has ↗· 1.02K(10.7× 中位数) · agent ≈ model + tools, within a for-loop + environment↗· 965(10.2× 中位数)
Eugene Yan 在 X 的最佳发布时间
Eugene Yan 的点赞中位数最高的发布窗口是周二 04:00–08:00 UTC。
UTC · 每 4 小时一组 · 格内数值与颜色深浅表示单帖点赞中位数,悬停查看样本数 · 210 条精确时间数据
Eugene Yan 点赞中位数最高的发布窗口是周二 04:00–08:00 UTC:点赞中位数为 387,有 3 条帖子的点赞数据。 查看代表原帖 ↗
Eugene Yan 每周的发布量与点赞表现
4月14日–4月20日发布量最高,为 10 篇;6月23日–6月29日的点赞中位数最高,对应 1 篇帖子。
UTC 自然周 · 上:发帖数;下:单帖点赞中位数(采集时累计值)· 悬停查看日期和样本数
Eugene Yan 各内容支柱的点赞如何随发布进程变化?
6月11日–8月1日这一组以“LLM 评测与错误分析”的点赞最多;紧接着8月2日–9月6日这一组,“LLM 评测与错误分析”的点赞最多。
按相邻约 20 条帖子分组,同一时间点保留在一组 · 每格为已知点赞总量,日期为该组实际范围
关于Eugene Yan内容策略的常见问题
Eugene Yan哪些主题的点赞贡献高于发布占比?
LLM 评测与错误分析占发布量23.3%,贡献37.1%的点赞。
围绕 LLM 评测方法、LLM-as-Judge、错误分析、评测驱动开发与评测数据集/基准的实践与讨论。
查看主题表现 ↗Eugene Yan哪条帖子的点赞最多?
点赞最高的帖子获得1,019次点赞,约为Eugene Yan单帖点赞中位数的10.7倍。
这篇帖子发布于2025年7月9日,原文写道:“How do you build an LLM-evaluator / LLM-as-Judge? The book for "AI Evals for PMs and Engineers" has a chapter devoted to it (35% discount: First, we need to define the right metrics. For example, we can start by listin”。
查看原帖 ↗Eugene Yan最常发布什么形式,视频和图片表现有什么差别?
引用是Eugene Yan最常发布的形式,占41.4%。
按单帖平均浏览量比较,视频约为图片的2.55倍;按浏览量中位数比较,视频约为图片的2.18倍。
查看内容形式 ↗Eugene Yan在X的发布频率是多少?
在这份报告覆盖的日期范围内,Eugene Yan平均每周发布约1.5条内容。
Eugene Yan最常在周三(59篇)和周五(36篇)发布。
发布最集中的一天是2024年11月8日,当天发布了3篇。
查看发布日历 ↗














