<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bartłomiej Nawara on Medium]]></title>
        <description><![CDATA[Stories by Bartłomiej Nawara on Medium]]></description>
        <link>https://medium.com/@barteknawara?source=rss-f3379eba08e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1-06c_DTekVESoqiIg3H5g.jpeg</url>
            <title>Stories by Bartłomiej Nawara on Medium</title>
            <link>https://medium.com/@barteknawara?source=rss-f3379eba08e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 08:49:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@barteknawara/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AI Benchmarks Are Lying to You (But Not How You Think)]]></title>
            <link>https://medium.com/ai-benchmarks-are-lying-to-you-but-not-how-you/ai-benchmarks-are-lying-to-you-but-not-how-you-think-51ee6a3b2b87?source=rss-f3379eba08e------2</link>
            <guid isPermaLink="false">https://medium.com/p/51ee6a3b2b87</guid>
            <dc:creator><![CDATA[Bartłomiej Nawara]]></dc:creator>
            <pubDate>Mon, 06 Apr 2026 09:37:37 GMT</pubDate>
            <atom:updated>2026-04-06T09:37:37.202Z</atom:updated>
            <content:encoded><![CDATA[<p>Every few weeks, a new round of benchmark results drops. The headlines are predictable: “new SOTA,” “beats human performance,” “another breakthrough.”</p><p>I’m not going to write about which model won. I want to write about why that question is wrong.</p><p>The structural problem</p><p>A benchmark becomes useless the moment training data starts containing it. And training data contains everything that’s been on the internet long enough.</p><p>MMLU 57 domains, 15,000 multiple choice questions, the gold standard for years. Models now score 90%+. Does that mean they’re smarter than doctors and lawyers? Not necessarily. Some questions have errors. Some were phrased so that a human expert would answer “it depends”but the model confidently picks C, because statistically C is most often correct in that dataset. And the questions were on the internet before training. Always.</p><p>This isn’t an accusation of deliberate cheating. It’s a structural problem: a benchmark created to measure knowledge became part of the knowledge it measures.</p><p>Three things benchmarks don’t measure</p><p>I’ve been building LLM-based systems in production for a few years. Here’s what actually determines whether a model is useful in a real applicationand what’s missing from every public ranking:</p><p><em>Consistency in long contexts.</em> A model that answers correctly about a 500-word document may lose the thread in a 50-page one. Benchmarks typically test short contexts or artificial “needle in a haystack” tasks. Real applications require maintaining multiple threads simultaneously.</p><p><em>Uncertainty calibration.</em> A good model should know when it doesn’t know. Most benchmarks reward confidenceyou pick an answer, you don’t express doubt. In practice, a model that says “I’m not sure, check the source” is often more valuable than one that answers confidently and is wrong.</p><p><em>Distribution stability.</em> Does the model behave the same way when the question is phrased differently? When the user makes typos? When the context is in Polish instead of English? None of this is in standard evaluations.</p><p>The only benchmark that matters</p><p>The only benchmark that matters for your project is the one you write yourself. Test on your documents, your questions, with metrics that matter in your specific case.</p><p>Public benchmarks have one legitimate use case: quick comparison before deciding which model to test more deeply. Treat them like a CV useful signal, but you don’t hire anyone without an interview.</p><p><a href="https://barteks-newsletter-7e864c.beehiiv.com/">https://barteks-newsletter-7e864c.beehiiv.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51ee6a3b2b87" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ai-benchmarks-are-lying-to-you-but-not-how-you/ai-benchmarks-are-lying-to-you-but-not-how-you-think-51ee6a3b2b87">AI Benchmarks Are Lying to You (But Not How You Think)</a> was originally published in <a href="https://medium.com/ai-benchmarks-are-lying-to-you-but-not-how-you">AI Benchmarks Are Lying to You (But Not How You Think)</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[i]]></title>
            <link>https://medium.com/@barteknawara/i-a5b87d6c1bac?source=rss-f3379eba08e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5b87d6c1bac</guid>
            <category><![CDATA[hallucinations]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[sycophancy]]></category>
            <dc:creator><![CDATA[Bartłomiej Nawara]]></dc:creator>
            <pubDate>Wed, 22 Oct 2025 19:50:48 GMT</pubDate>
            <atom:updated>2026-07-01T19:13:27.151Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*R3jGTvOA1No3BlLjqHF_wQ.png" /></figure><p>There is a failure mode in LLM assistants that is worse than hallucination because it hides better. A paper out this month gives it a name: user-driven sycophancy.</p><p>Marozzo and Liò (Cambridge) describe it precisely. When a user hands the model a plausible-but-unverified hypothesis, the model tends to reinforce that hypothesis rather than test competing ones. It aligns with your framing and starts proposing solutions before it has gathered the evidence to know whether your framing was even right.</p><p>This is not the model being wrong. It is the model being agreeable in a way that seems helpful. You suggest a cause, and it confirms your cause. You feel understood. You are also, quietly, less likely to be correct.</p><p>Their fix is structural, not a prompt. A Solution Investigator Agent estimates the ambiguity of the initial description, generates competing hypotheses, asks targeted clarifying questions, and updates the probability of each hypothesis as answers come in. It refuses to converge until the evidence actually separates one explanation from the rest. In other words, it is built to resist the user instead of flatter them.</p><p>This connects to something I keep measuring in my own work. Model confidence stays high and flat regardless of whether the answer is right. Pair that with sycophancy, and you get the dangerous combination: a system that adopts your assumption and then reports high confidence in it. Fluent, agreeable, and unverified.</p><p>The lesson for anyone building diagnostic or advisory systems: agreeableness is not accuracy, and a model that never pushes back is not safe; it is just pleasant. The interesting engineering is in the layer that forces the system to consider the explanation you did not suggest.</p><p>A few closing thoughts.</p><p>The uncomfortable irony: the models we rate highest on user satisfaction may be the ones most prone to this. We trained agreeableness on purpose, and sycophancy is agreeableness that forgot to check the facts.<br>The deeper point: “the user is probably right” is a reasonable prior and a terrible policy. A good diagnostician holds your hypothesis and the three you did not mention, at the same time, until the evidence chooses. Most assistants drop the other three the moment you speak.</p><p>And the part that should worry regulated deployments: a sycophantic model fails silently. There is no error message for “confidently agreed with your wrong assumption.” Which is exactly why the verification has to sit outside the model, not inside its own confident prose.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5b87d6c1bac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A subjective intro to AI learning materials, courses, and advice.]]></title>
            <link>https://medium.com/@barteknawara/a-subjective-intro-to-ai-learning-materials-courses-and-advice-b7f34def5167?source=rss-f3379eba08e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7f34def5167</guid>
            <dc:creator><![CDATA[Bartłomiej Nawara]]></dc:creator>
            <pubDate>Wed, 01 Jan 2025 16:10:20 GMT</pubDate>
            <atom:updated>2025-01-04T13:07:57.162Z</atom:updated>
            <content:encoded><![CDATA[<h3>A subjective intro to AI learning materials, courses, and advice. Dedicated both for freshers and IT professionals wanted to start using AI or switch role to AI/Data Engineering related. P1.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KntmpCCj_2EbmLh4uS6oWw.jpeg" /></figure><p>A subjective guide getting into AI for freshman&#39;s, software engineers, devs wanting to learn AI trends or upgrade their current role, by Bartłomiej Nawara PhD. Some parts are well described, some are just name picking. It will be unpacked in the next parts of series on articles.</p><p><strong>1. Introductory books on AI:</strong></p><p><strong>Beginner level:</strong></p><p><strong>“Introduction to Artificial Intelligence”. — Marek Flasinski</strong><br>Comprehensive coverage of the theoretical foundations<br>Strong mathematical foundations<br>Used at Polish technical universities</p><p><strong>“Methods and Techniques of Artificial Intelligence”. — Leszek Rutkowski</strong><br>In-depth analysis of algorithms<br>Strong statistical foundations<br>Cited in Polish scientific publications</p><p><strong>“Statistics and Machine Learning in Python” — Gaël Varoquaux</strong><br>Essential, mainly statistical</p><p><strong>“Fundamentals of Mathematics in Data Science” </strong>— Thomas Nield<br>Essential, mainly mathematical</p><p><strong>“Data Science from the Ground Up”</strong> — Joel Grus<br>A solid foundation in Python programming<br>Practical examples of algorithm implementation<br>Used in ML courses at AGH and PW</p><p><strong>Intermediate level:</strong></p><p><strong>“Hands-On Machine Learning with Scikit-Learn, Keras &amp; TensorFlow” </strong>— Aurélien Géron — beginnings of ai development in scikit, keras and tf<br>Regularly updated (last release 2022)<br>Used in Stanford CS229 courses<br>Practical approach with code and examples</p><p><strong>“Python Machine Learning”</strong> — Sebastian Raschka</p><p>Regularly updated<br>Recognized in the ML community<br>Detailed implementation explanations</p><p><strong>“Artificial Intelligence: A Modern Approach”</strong> — Stuart Russell, Peter Norvig— not necessarily 1 to read. This is a classic on Classical AI — optional. If you care about time, leave it for last.<br>Standard introduction used at most universities<br>Cited in more than 170,000 scientific publications<br>Latest edition (2021) includes up-to-date material on deep learning</p><p><strong>Advanced level:</strong></p><p><strong>“Deep Learning”</strong> — Ian Goodfellow, Yoshua Bengio, Aaron Courville — math in data science<br>Written by pioneers in the field<br>Available for free online: deeplearningbook.org</p><p><strong>“Deep Learning. Recipes”</strong> — Douwe Osinga<br>Ready-made solutions to typical DL problems<br>Code in PyTorch and TensorFlow<br>Examples from NLP and Computer Vision<br>Quite difficult for newcomers</p><p><strong>“Deep Learning with Python”</strong> — Sebastian Raschka, Vahid Mirjalili<br>Comprehensive discussion of DL in Keras/TensorFlow<br>Recognized in the industry and cited in publications<br>Latest edition (2022) includes the latest architectures and techniques<br>Detailed mathematical and implementation explanations<br>The book is used in DL courses at the University of Wisconsin-Madison and Michigan State University.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TSsq0eBBBrebVKTWG7IXMg.jpeg" /></figure><p><strong>2. Online materials</strong><br><strong>Courses:</strong></p><p>Coursera: Stanford AI/ML specializations<br><br>Fast.ai: Practical deep learning<br><br>DeepLearning.AI: Specializations from Andrew Ng<br><br>DataCamp: Interactive DS courses<br>Practical platforms:<br><br>Kaggle: Contests, datasets, notebooks<br><br>LeetCode: Algorithms and data structures<br><br>HackerRank: SQL and programming<br>Blogs/Newsletters:<br><br>Towards Data Science<br><br>Papers with Code<br><br>Sebastian Raschka Blog<br><br>KDnuggets<br><br>arXiv-sanity.com</p><p><strong>Tests/Certifications:</strong><br><br>AWS Machine Learning Specialty<br><br>Google Professional ML Engineer<br><br>Azure AI Engineer<br><br>TensorFlow Developer Certificate</p><p>Communities:<br><br>Reddit: r/MachineLearning, r/datascience<br><br>Stack Overflow<br><br>AI/ML Discord servers<br><br>GitHub Discussions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jGGFhiww1o0i3benBiV7iw.jpeg" /></figure><p><strong>3. Practice:</strong></p><p>Practical development path in AI/ML:</p><p><strong>Own projects:</strong><br><br>Image recognition (MNIST, CIFAR).<br><br>Sentiment analysis of text<br><br>Time series prediction<br><br>Recommendation systems<br><br><strong>Open Source:</strong><br><br>Contribution to scikit-learn<br><br>Hugging Face — NLP models<br><br>PyTorch — implementations of models<br><br>TensorFlow — tutorials<br><br><strong>Real-world projects:</strong><br><br>Kaggle competitions<br><br>GitHub portfolio (3–5 advanced projects).<br><br>MLOps pipeline<br><br>Deploying models<br><br><strong>Internships/Internships:</strong><br><br>AI startups<br><br>R&amp;D teams<br><br>Research projects<br><br>AI hackathons</p><p><strong>Tools:</strong><br><br>Git/GitHub<br><br>Docker<br><br>AWS/GCP/Azure<br><br>MLflow/Weights &amp; Biases<br>Each project should have documentation, testing and deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*blFcNTKRE0TJFkFRUIyBdA.jpeg" /></figure><p><strong>4. Working environments and tools:</strong><br><br>IDE: PyCharm, VSCode, Jupyter<br><br>Cloud: AWS SageMaker, GCP Vertex AI, Azure ML.<br><br>Monitoring: MLflow, W&amp;B, TensorBoard<br><br>Version Control: DVC, Git LFS<br><br>CI/CD: GitHub Actions, Jenkins<br><br>Containerization: Docker, Kubernetes<br>-<br>Workflow: Airflow, Kubeflow<br><br>Dashboards: Streamlit, Gradio<br><br>Experiments: Optuna, Ray Tune<br><br><strong>5.</strong> <strong>Specialties:</strong></p><p><strong>Computer Vision:</strong><br><br>OpenCV, YOLO, detectron2<br><br>Segmentation, detection, classification<br><br>Transformers Vision</p><p><strong>NLP:</strong><br><br>BERT, GPT, LLama<br><br>Spacy, NLTK, transformers<br><br>RAG, embeddings</p><p><strong>MLOps:</strong><br><br>CI/CD for ML<br><br>Model monitoring<br><br>A/B testing</p><p><strong>Time Series:</strong><br><br>Prophet, statsmodels<br><br>Forecasting<br><br>Anomaly detection</p><p><strong>Reinforcement Learning:</strong><br><br>OpenAI Gym<br><br>Deep RL<br><br>Multi-agent systems</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*glDUhca0ymODGPHhSALbPQ.jpeg" /></figure><p><strong>6. Ready-made materials for re-branding</strong></p><p><strong>A) AI/ML:</strong><br>-<br>Stanford CS229: Machine Learning<br>-<br>DeepLearning.AI Specialization (Coursera).<br>-<br>Fast.ai Practical Deep Learning<br>-<br>MIT 6.S191: Introduction to Deep Learning<br>-<br>Google Machine Learning Crash Course<br>-<br>CS50’s Introduction to AI (Harvard).<br>-<br>Berkeley CS 188: Introduction to AI</p><p><strong>B) Data Engineer:</strong><br>-<br>Data Engineering Zoomcamp (DataTalksClub).<br>-<br>Fundamentals of Data Engineering (Coursera)<br>-<br>Database Engineering (Stanford Online)<br>-<br>AWS Data Analytics Specialty<br>-<br>GCP Data Engineer Learning Path<br>-<br>Databricks Data Engineer Learning Path<br>-<br>IBM Data Engineering Professional Certificate</p><p><strong>Each path includes:</strong></p><ul><li>Theory + practice<br>-<br>Projects for portfolio<br>-<br>Certificates<br>-<br>Hands-on labs</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F7F-CwBQizfICGlF8Qc9BQ.jpeg" /></figure><p><strong>7. On switching from Java/something else to Data Engineering</strong></p><p>Since you want to move from Java to Data Engineering, let me tell you how I would do it. It’s a great move, because the market is in strong need of people who combine solid programming fundamentals with data skills.<br>First of all, you don’t have to learn everything from scratch — your Java experience is mega valuable. You already know programming, architecture, working with databases. That’s a great base.<br>Start with Python — not because it’s difficult (it’s easier than Java), but because the entire data engineering ecosystem is built in it. Take a course on Udemy or DataCamp, but move quickly to practice.<br>Then get into the basics of big data. This is where your Java comes in handy — Spark has a Java API. Set up Spark locally, play around with data processing. Then do the same in Python — you’ll see the differences and similarities.<br>The next step is cloud. Choose one platform (AWS, GCP or Azure) and focus on its services for data processing. Do free courses on their platforms. Important here — don’t try to embrace everything, focus on data services.<br>Now ETL/ELT — learn Airflow (orchestration) and dbt (transformations). Put them locally, do some pipelines. This will be your daily bread as a Data Engineer.<br>In parallel, do your own project — preferably something that combines streaming (Kafka), batch processing (Spark), and loading into a warehouse (e.g. Snowflake). Post it on GitHub, describe it in detail in the README. This will be your ticket to interviews.<br>As for jobs — start talking to companies that have both Java and data engineering. They are often just looking for people to transition between worlds. You can start by helping with data shuffles on your team. You can also use referrals, etc.</p><p>Don’t worry if you don’t understand everything at first. Data engineering is a huge field. Focus on the basics: where the data comes from, how to process it efficiently, where to store it.<br>For job interviews, prepare by showing how your Java experience translates to data engineering. You already know clean code, testing, CI/CD — all of these are just as important in the data world.<br>As for the cash — there may be a slight dip at the beginning, but on average after a year-two the earnings are higher than in classic Java. Especially when you add ML/AI skills.<br>If you need specific materials or to chat about the details of any of the topics, let me know.<br>P.S. Sign up for DataTalksClub — masses of people there are going through a similar path, great materials and networking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Q5bgAL-2cT1zjjqeXn3rA.jpeg" /></figure><p>8<strong>. On Working with/on AI</strong></p><p>Getting into AI work is almost unrealistic these days as a freshmen. Working using AI, however, is another matter. It’s a great direction, but you need to do it wisely. Start with a solid foundation — mathematics (linear algebra, probability calculus) and Python. Without that, it will be hard.<br>Ideally, start with ML basics — scikit-learn, basic algorithms. Do some projects with Kaggle, learn to work with data. Don’t throw yourself into deep learning right away.</p><p><strong>Most important — don’t try to embrace everything at once. Pick a specific domain (NLP/CV/RL) and specialize in it. Build a portfolio on GitHub, contribute to the community.</strong></p><p><strong>Good places to learn:</strong><br><br>Fast.ai<br><br>DeepLearning.AI<br><br>Stanford CS229/CS230<br><br>Papers with Code<br><strong><br>And remember — AI is not just about models. You need to understand data processing, infrastructure, deployment. It’s whole systems, not just algorithms.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cM2Z3k7YlvZfBbImkzhk9Q.jpeg" /></figure><p>9. Ending — what to prepare for in 2026, no matter what you do in AI.</p><p>This is just my subjective point of view on what will be key in AI in 2025 and how to prepare for it.</p><p>First, all LLM infrastructure will become standard. You need to embrace vector databases — Pinecone or Weaviate will be the foundation. Start with their documentation and courses on DeepLearning.AI about RAG. Build your own search system with embeddings, play with different models. This will give you a solid foundation.</p><p>LangChain and LlamaIndex will be everywhere. It’s not rocket science, but you need to understand how to orchestrate LLMs, how to build effective chains and manage prompts. Do the LLM specialization course at deeplearning.ai, then go through the LangChain handbook. Be sure to build your own QA system with documents.</p><p>MLOps will be a must-have AND a very hot post. Weights &amp; Biases or <br>MLflow — pick one and learn in depth. Get them certified, but more importantly, build a model monitoring system and pipeline for automatic retraining. MLOps Zoomcamp from DataTalks.Club is a great start.<br>Feature stores will be standard for larger projects. Feast is open source and has great documentation — start there. Build a simple feature serving system, learn how to manage features online and offline.<br>Edge AI will evolve. TensorRT, TensorFlow Lite — you need to be able to optimize models for edge devices. NVIDIA Deep Learning Institute has great courses on this. Build a CV app that runs on mobile, learn quantization.</p><p>As for GPU and distributed training — this will become more and more important. Start with NVIDIA DLI courses, learn Horovod or PyTorch Distributed. You need to understand how to use GPU effectively and scale training.</p><p>Responsible AI will no longer be optional. Google has great materials about it. Learn how to use tools like AI Fairness 360 or LIME/SHAP. Build a dashboard to monitor bias in models. Maybe this is the path for you? Maybe you want to become an AI ethicist? Such roles are emerging. I do it for the client, because they don’t have someone else.</p><p>And then there are the Agents! They will be everywhere. Read how it works, what it does, etc.<br><br><strong>Most important </strong>— don’t try to embrace everything at once. Pick one area, become an expert in it, then expand. Join the MLOps Community and DataTalks.Club, there a mass of practitioners share knowledge.<br>Plan your learning for a year. First 3 months MLOps and cloud basics, next 3 vector DBs and LLMs, then Edge AI and distributed training. The last quarter for specialization and end-to-end projects.</p><p>Oh, and be sure to document your learning. Then you will realistically see your development. This is very important!</p><p>As if you need specific material for any of these topics or want to talk about the details, let me know. It’s a lot of material, but step by step it can be grasped. Have a good learning time!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tb_T8f7ISjsT4y5zjJgQog.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7f34def5167" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>