Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Designing Better UX For Left-Handed People

      July 25, 2025

      This week in AI dev tools: Gemini 2.5 Flash-Lite, GitLab Duo Agent Platform beta, and more (July 25, 2025)

      July 25, 2025

      Tenable updates Vulnerability Priority Rating scoring method to flag fewer vulnerabilities as critical

      July 24, 2025

      Google adds updated workspace templates in Firebase Studio that leverage new Agent mode

      July 24, 2025

      Trump’s AI plan says a lot about open source – but here’s what it leaves out

      July 25, 2025

      Google’s new Search mode puts classic results back on top – how to access it

      July 25, 2025

      These AR swim goggles I tested have all the relevant metrics (and no subscription)

      July 25, 2025

      Google’s new AI tool Opal turns prompts into apps, no coding required

      July 25, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Laravel Scoped Route Binding for Nested Resource Management

      July 25, 2025
      Recent

      Laravel Scoped Route Binding for Nested Resource Management

      July 25, 2025

      Add Reactions Functionality to Your App With Laravel Reactions

      July 25, 2025

      saasykit/laravel-open-graphy

      July 25, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Sam Altman won’t trust ChatGPT with his “medical fate” unless a doctor is involved — “Maybe I’m a dinosaur here”

      July 25, 2025
      Recent

      Sam Altman won’t trust ChatGPT with his “medical fate” unless a doctor is involved — “Maybe I’m a dinosaur here”

      July 25, 2025

      “It deleted our production database without permission”: Bill Gates called it — coding is too complex to replace software engineers with AI

      July 25, 2025

      Top 6 new features and changes coming to Windows 11 in August 2025 — from AI agents to redesigned BSOD screens

      July 25, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»How to Train Foundation Model with Your Custom Dataset?

    How to Train Foundation Model with Your Custom Dataset?

    June 9, 2025

    Objective

    As we all know, AI is currently trending, AI helping in all the domain like Healthcare, Automobile Industry, even in Information technology as well. It is helping but it is also very costly and developing the foundation Model for each industry is more difficult and time-consuming. In fast changing world, everyone has lack of time, So AWS comes up with solutions where you can take advantage of foundation model without developing from scratch, you can borrow & trained with your data and use it. AWS makes it very easy to use.

    Introduction

    So, training a custom foundation model in AWS Bedrock enables you to harness the power of AI while tailoring it to your specific business needs, all while managing costs and scaling efficiently. It’s designed for businesses that want to leverage AI without the complexity of managing the infrastructure, training from scratch, or worrying about data privacy and compliance.

    AWS also provides strong security mechanisms, including encryption, access controls, and compliance with various regulatory standards. This is crucial for sensitive data in domains like healthcare, finance, and legal.

    Use

    To train the foundation model, you can keep the dataset and create a job to train the specific AI model.

    You require only an AWS account, also you need to prepare the dataset, dataset you can prepare depending upon your need, here we are going to train the model with labeled dataset for medicines.

     

    AWS S3 Bucket, Bedrock Service & Iam Role that has permission to access S3 bucket.

    IAM Role Example:

    {

    “Version”: “2012-10-17”,

    “Statement”: [

    {

    “Effect”: “Allow”,

    “Action”: [

    “s3:GetObject”,

    “s3:PutObject”,

    “s3:ListBucket”

    ],

    “Resource”: [

    “arn:aws:s3:::<Bucket-name>”,

    “arn:aws:s3::: <Bucket-name>/*”

    ],

    “Condition”: {

    “StringEquals”: {

    “aws:PrincipalAccount”: “<AWS Account Number>”

    }

    }

    }

    ]

    }

    Creating a Fine Tune Job to Train the Foundation Model:

    1. Navigate to AWS Bedrock service in AWS account,
    2. Navigate to Custom Model, click on create customize model and then select “Create Fine-tunning job”2
    3. Select Model and Add Custom model name & tags,
      3
    4. Provide job name and VPC configuration
    5. Provide the S3 bucket path of Input dataset file and if you have create any validation, then you can share.5
    6. Provide the learning configuration of model
      6
    7. Provide the output S3 bucket name and Select IAM role
      7
    8. Click on Create Fine-tuning job, after that Foundation model will get trained and you will be able to see the status “Complete” when it is done.
      8

    Once it is done, you can provision and use it in the playground.

    Conclusion

    Training foundation models can be very complicated and expensive, but AWS Bedrock makes it much easier. With Bedrock, you don’t need to build models from scratch or worry about managing powerful hardware. Instead, you can use ready-made AI models from top providers and customize them for your needs.

    This means you can build smart applications faster, save time, and focus on solving real problems—without needing deep AI expertise. AWS Bedrock also takes care of important things like security, scalability, and reliability, so you can work with confidence.

    In short, AWS Bedrock is a great tool that helps businesses and developers use the power of AI more easily and effectively.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleCapturing API Requests from Postman Using JMeter
    Next Article ELI5 Toolkit – Explain It Like I’m 5

    Related Posts

    Development

    Laravel Scoped Route Binding for Nested Resource Management

    July 25, 2025
    Development

    Add Reactions Functionality to Your App With Laravel Reactions

    July 25, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    Botnet Exploits Old GeoVision IoT Devices via CVE-2024-6047 & CVE-2024-11120

    Security

    PSA: A 1TB microSD Express card has entered the market — I hope future handheld gaming PCs are compatible with this speedy storage option

    News & Updates

    CVE-2025-48907 – Apache IPC Deserialization Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-5661 – “Traffic Offense Reporting System XSS Vulnerability”

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    CVE-2025-30936 – Torod Company for Information Technology SQL Injection

    July 16, 2025

    CVE ID : CVE-2025-30936

    Published : July 16, 2025, 12:15 p.m. | 5 hours, 59 minutes ago

    Description : Improper Neutralization of Special Elements used in an SQL Command (‘SQL Injection’) vulnerability in Torod Company for Information Technology Torod allows SQL Injection. This issue affects Torod: from n/a through 1.9.

    Severity: 9.3 | CRITICAL

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    Scaling Diffusion Language Models via Adaptation from Autoregressive Models

    April 19, 2025

    Taiwan NSB Alerts Public on Data Risks from TikTok, Weibo, and RedNote Over China Ties

    July 5, 2025

    Microsoft blocks employees from sending emails that mention “Palestine” or “Gaza”

    May 22, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.