{"id":2077,"date":"2026-12-02T04:30:00","date_gmt":"2026-12-02T04:30:00","guid":{"rendered":"https:\/\/www.aininza.com\/blog\/?p=2077"},"modified":"2026-11-16T10:35:28","modified_gmt":"2026-11-16T10:35:28","slug":"how-much-data-do-you-need-for-ai","status":"publish","type":"post","link":"https:\/\/www.aininza.com\/blog\/how-much-data-do-you-need-for-ai\/","title":{"rendered":"Data Preparation for Custom AI Projects: How Much Data You Need and How to Get It Ready"},"content":{"rendered":"<p>&#8220;How much data do we need?&#8221; is usually the first question on any custom AI project, and often the one that stalls it. Teams either assume they need millions of records they don&#8217;t have, or they assume the spreadsheet they already have is enough.<\/p>\n<p>The honest answer to how much data do you need for AI is: it depends on what kind of AI project you are building. Some projects need no training data at all. Others need a few dozen excellent examples. Others need years of history with known outcomes.<\/p>\n<p>This guide explains which is which, how to test whether you have enough, and how to get your data ready, step by step.<\/p>\n<h2>How much data do you need for AI? It depends on the project type<\/h2>\n<p>Most business AI projects fall into one of three types. Each needs a different kind of data.<\/p>\n<table>\n<thead>\n<tr>\n<th>Project type<\/th>\n<th>What it does<\/th>\n<th>What data it needs<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Use an existing model<\/strong><\/td>\n<td>A ready-made language model answers questions, drafts text or extracts information, guided by instructions<\/td>\n<td>Your documents and a set of test questions<\/td>\n<\/tr>\n<tr>\n<td><strong>Fine-tune a language model<\/strong><\/td>\n<td>An existing model is trained further to do one task your way<\/td>\n<td>Examples of the task done right<\/td>\n<\/tr>\n<tr>\n<td><strong>Train a traditional ML model<\/strong><\/td>\n<td>A model learns to predict a number or category, such as churn risk or demand<\/td>\n<td>History with known outcomes<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The first question, then, isn&#8217;t &#8220;how much data?&#8221; It&#8217;s &#8220;which of these are we building?&#8221; Our <a href=\"https:\/\/www.aininza.com\/pillars\/custom-ai-development\">guide to custom AI development<\/a> covers how to choose the approach; the rest of this article is about the data each one needs.<\/p>\n<h2>Projects that use an existing model: documents, not training data<\/h2>\n<p>Many useful AI projects don&#8217;t train anything. They take a model that already understands language and give it your documents to work from at the moment it answers. This pattern is called <strong>retrieval-augmented generation (RAG)<\/strong>, and it powers most &#8220;chat with your documents&#8221; tools.<\/p>\n<p>Here, the data question becomes three practical questions:<\/p>\n<ul>\n<li><strong>Which documents should it use?<\/strong> Policies, manuals, contracts, product sheets. Old and contradictory versions can lead the AI to quote the wrong one, so remove superseded documents first.<\/li>\n<li><strong>Who is allowed to see what?<\/strong> If a document is restricted, the AI system must respect that. Map permissions before you load anything.<\/li>\n<li><strong>How will you know it works?<\/strong> Write down real questions people ask, with the correct answer and the document it comes from. This is your <strong>test set<\/strong>. Cover the common questions and the awkward ones, because a test set that only holds easy questions tells you very little.<\/li>\n<\/ul>\n<h2>Fine-tuning a language model: examples, not volume<\/h2>\n<p><strong>Fine-tuning<\/strong> means training an existing model further on examples of one task, so it does that task your way: your format, your tone, your decisions. Here, the data is a set of input-and-output pairs: &#8220;given this, the right answer is that.&#8221;<\/p>\n<p>The numbers are smaller than most people expect. OpenAI&#8217;s <a href=\"https:\/\/developers.openai.com\/api\/docs\/guides\/supervised-fine-tuning\" target=\"_blank\" rel=\"noopener\">fine-tuning guide<\/a> says the minimum is 10 examples, that it sees improvements &#8220;on 50\u2013100 examples,&#8221; and that the right number &#8220;varies greatly and depends on the use case.&#8221; It recommends starting with 50 well-crafted examples and checking the results. Its advice if those 50 don&#8217;t help: rethink the task or prompt &#8220;before adding training data.&#8221;<\/p>\n<p>Better examples usually beat more examples. Each one should show exactly the output you want, written the way your best person would write it. Our <a href=\"https:\/\/www.aininza.com\/pillars\/llm-fine-tuning#dataset-preparation\">LLM fine-tuning guide&#8217;s dataset section<\/a> goes deeper on collecting, formatting and checking fine-tuning data, so we won&#8217;t repeat it here.<\/p>\n<h2>Traditional machine learning: history with known outcomes<\/h2>\n<p>Predicting which customers will cancel, how much stock you will need or which transactions look suspicious is the job of traditional machine learning. These models learn from your own past records, where you already know what happened.<\/p>\n<p>Each record is an <strong>example<\/strong>. The facts about it (customer age, plan, support tickets last month) are <strong>features<\/strong>, and the outcome you want to predict (did they cancel?) is the <strong>label<\/strong>. Our <a href=\"https:\/\/www.aininza.com\/blog\/ai-customer-churn-prediction\/\">churn prediction demo<\/a> is a typical example: a customer CSV goes in, and each account comes out with a churn-risk score.<\/p>\n<p>For quantity, <a href=\"https:\/\/developers.google.com\/machine-learning\/crash-course\/overfitting\/data-characteristics\" target=\"_blank\" rel=\"noopener\">Google&#8217;s Machine Learning Crash Course<\/a> gives a starting point. In its words, &#8220;as a rough rule of thumb, your model should train on at least an order of magnitude (or two) more examples than trainable parameters.&#8221; It then adds that good models &#8220;generally train on substantially more examples than that,&#8221; and that large datasets with few features generally beat small datasets with many features.<\/p>\n<p>In plain English: more history helps, and so does keeping the number of inputs focused. As an illustration, twenty well-chosen columns on five years of customers will usually serve you better than two hundred columns on six months.<\/p>\n<h3>Watch out for rare outcomes<\/h3>\n<p>If what you want to predict is rare, such as fraud or equipment failure, the total record count can mislead you. Google calls this a <strong>class-imbalanced dataset<\/strong>: one label is far more common than the other, which can make it hard for the model to learn the rare one. What counts is how many examples of the rare outcome you have, not how many rows in total.<\/p>\n<h2>How to tell whether you have enough data<\/h2>\n<p>No rule of thumb replaces a test on your own data. The standard tool is a <strong>learning curve<\/strong>.<\/p>\n<p>The scikit-learn documentation describes a <a href=\"https:\/\/scikit-learn.org\/stable\/modules\/learning_curve.html\" target=\"_blank\" rel=\"noopener\">learning curve<\/a> as a chart of a model&#8217;s training and validation scores &#8220;for varying numbers of training samples,&#8221; and calls it &#8220;a tool to find out how much we benefit from adding more training data.&#8221; You train the model on 20%, 40%, 60% and so on of your data, and watch how the score changes.<\/p>\n<ul>\n<li><strong>The score is still climbing at 100%:<\/strong> more data will probably help. Collecting it is worth the effort.<\/li>\n<li><strong>The score has flattened:<\/strong> more of the same data won&#8217;t help much. Better features, cleaner labels or a different approach will.<\/li>\n<\/ul>\n<p>For language model projects, the equivalent is simpler: try a small set (such as OpenAI&#8217;s suggested 50 examples), measure it against your test set, then add more only if the results are still improving.<\/p>\n<h2>How to get your data ready: a step-by-step checklist<\/h2>\n<p>Data preparation is easy to underestimate. Here is the order we would work in.<\/p>\n<ol>\n<li><strong>List what you have.<\/strong> Every source, who owns it, how far back it goes, how often it updates, and whether you are allowed to use it for this purpose.<\/li>\n<li><strong>Define the output.<\/strong> Write down exactly what the AI should produce, and what counts as right. For ML, that is the label; for language models, it is the ideal answer.<\/li>\n<li><strong>Check the labels.<\/strong> Google notes that human-generated labels can be &#8220;expensive and prone to errors,&#8221; and need careful quality control. Have two people label the same sample and compare. Where they disagree, your instructions are unclear.<\/li>\n<li><strong>Clean the data.<\/strong> Google lists label errors, noisy features and filtering as core data-quality work. For missing values, it says to either delete incomplete examples or fill the gaps carefully, and consider flagging which values were filled.<\/li>\n<li><strong>Remove personal data you don&#8217;t need.<\/strong> Names, phone numbers and ID numbers rarely help a model and always add risk. Mask or drop them before the data leaves its source system.<\/li>\n<li><strong>Split it properly.<\/strong> Google&#8217;s <a href=\"https:\/\/developers.google.com\/machine-learning\/crash-course\/overfitting\/dividing-datasets\" target=\"_blank\" rel=\"noopener\">guide to dividing a dataset<\/a> recommends three subsets: training, validation and test. A good test set represents real-world data and &#8220;contains no duplicates from the training set.&#8221; Duplicates between them make results look better than they really are.<\/li>\n<li><strong>Document it.<\/strong> Write a short note on where the data came from, what it covers, what it leaves out and known problems. Whoever maintains the model next year will need it.<\/li>\n<\/ol>\n<h2>Common data problems and what to do about them<\/h2>\n<table>\n<thead>\n<tr>\n<th>Problem<\/th>\n<th>What it looks like<\/th>\n<th>What to do<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Too little history<\/strong><\/td>\n<td>The learning curve is still climbing<\/td>\n<td>Start collecting now, or start with an approach that needs less data<\/td>\n<\/tr>\n<tr>\n<td><strong>Inconsistent labels<\/strong><\/td>\n<td>Two people label the same case differently<\/td>\n<td>Write clearer labelling rules and relabel a sample<\/td>\n<\/tr>\n<tr>\n<td><strong>Rare outcome<\/strong><\/td>\n<td>Few examples of the thing you want to predict<\/td>\n<td>Count the rare cases, not total rows; ask for help on rebalancing<\/td>\n<\/tr>\n<tr>\n<td><strong>Old or conflicting documents<\/strong><\/td>\n<td>The AI quotes a superseded policy<\/td>\n<td>Remove old versions before loading<\/td>\n<\/tr>\n<tr>\n<td><strong>Training data unlike real life<\/strong><\/td>\n<td>Good test scores, poor results after launch<\/td>\n<td>Test on recent, real examples, not just historical ones<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Google makes the last point directly: differences between the data used for training and testing and the real-world data a model will meet must be addressed for it to perform well in practice.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>Can we start an AI project with no data?<\/h3>\n<p>Often, yes, if you use an existing model with your documents. You still need a test set to measure it. For traditional ML, you need history with known outcomes, so if you have none, the first step is to start recording it.<\/p>\n<h3>Is synthetic data a good substitute?<\/h3>\n<p>It can help fill gaps, especially for fine-tuning, but it should be checked by people and never used as your only test set. Test on real examples, because that is what the model will meet after launch.<\/p>\n<h3>How much data does an AI agent need?<\/h3>\n<p>Most AI agents use an existing language model, so they fall into the first project type. They need access to the right documents and systems, clear rules for what they may do, and a set of test cases: real requests with the correct outcome. Fine-tuning comes later, if at all, once you have examples of the agent&#8217;s work that people have checked.<\/p>\n<h3>Does more data always make a better model?<\/h3>\n<p>No. A learning curve shows when extra data stops helping: once the validation score flattens, more of the same data adds cost without adding accuracy. At that point, cleaner labels, better features or a different approach are the better investment.<\/p>\n<h3>How long does data preparation take?<\/h3>\n<p>It depends on how scattered and messy the data is. In our view, it is the step most often underestimated, so plan it explicitly rather than squeezing it into the build.<\/p>\n<h3>Do we need a data warehouse first?<\/h3>\n<p>Not necessarily. A pilot can start from exports of the relevant systems. A warehouse helps when the model goes into production and needs fresh data on a schedule.<\/p>\n<h2>Where to start<\/h2>\n<p>Pick the one AI use case you care about most and answer three questions: which project type is it, what data would it need, and do you have a way to test the result? If you can answer all three, you are ready for a pilot.<\/p>\n<p>AINinza is the AI practice of Aeologic Technologies, backed by 10+ years of engineering at Aeologic. Our <a href=\"https:\/\/www.aininza.com\/services\/custom-ai-development\">custom AI development services<\/a> start with exactly this: an honest look at your data and what it can support. If you would like a second opinion on whether your data is ready, <a href=\"https:\/\/www.aininza.com\/contact\">talk to us<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How much data do you need for AI? It depends on the kind of project. Here is what each type actually needs, how to tell whether you have enough, and a step-by-step checklist for getting your data ready.<\/p>\n","protected":false},"author":1,"featured_media":2076,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-2077","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-strategy"],"_links":{"self":[{"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/posts\/2077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/comments?post=2077"}],"version-history":[{"count":1,"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/posts\/2077\/revisions"}],"predecessor-version":[{"id":2079,"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/posts\/2077\/revisions\/2079"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/media\/2076"}],"wp:attachment":[{"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/media?parent=2077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/categories?post=2077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aininza.com\/blog\/wp-json\/wp\/v2\/tags?post=2077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}