Skip to main content

Posts

AWS AI Practitioner Training

Choosing the Right Foundation Model: Factors & Comparisons When selecting a foundation model, several factors come into play. It's not just about picking the biggest or the most well-known model; the decision depends on: Model type and capabilities – What can the model do? Does it support text, images, or multimodal inputs? Performance requirements – How fast and accurate does it need to be? Customization options – Can it be fine-tuned with your own data? Constraints and compliance – Are there legal or policy requirements to consider? Inference efficiency – How quickly does the model generate responses? Licensing terms – Are there restrictions on how the model can be used? Context window size – How much information can be processed in one go? Latency – How long does it take for the model to return an answer? Some models are compact and cost-efficient , while others are larger and more powerful . Some are highly customizable , while others offer pretrained capab...

AWS SDK part-1(S3)

  IAM USER CREATION: AWS services require authentication to interact with them. Normally, this is done through IAM users, roles, or temporary credentials , but it is possible to use Boto3 without an IAM user by leveraging the root user's access key (which is not recommended due to security risks).  Using the Root User’s Access Key (Not Recommended) Although AWS does not create an access key for the root user by default, you can manually create one and use it. Steps to Generate a Root User Access Key (Not Recommended) Login to AWS Console as the root user . Navigate to IAM → Security Credentials . Scroll to Access Keys and click Create New Access Key . Copy the Access Key ID and Secret Access Key (you won’t see the secret key again). Configure AWS CLI with: bash aws configure Enter Access Key ID (from step 4) Enter Secret Access Key (from step 4) Enter Default region name (e.g., us-east-1 ) Enter Default output format ( json or table ) Now, you can use Boto3 to acc...