Skip to content

Instantly share code, notes, and snippets.

@AWScommunity
Last active October 13, 2024 08:09
Show Gist options
  • Save AWScommunity/33ab6119dcdeffa149f245f3257fd889 to your computer and use it in GitHub Desktop.
Save AWScommunity/33ab6119dcdeffa149f245f3257fd889 to your computer and use it in GitHub Desktop.
R E A D . T H I S : gist ma image rakhna 1. paila image pc ma save gara. 2. bottomest gist ma gayera footbar ko image icon ma click garera foto upload gara. 3. tyo link copypaste chaheko gist ma gara. JustDoThisWay navaye img nakhulne etc hunxa
blog ma vane just tyo image select direct jspaint batai garee cutpaste gara
@AWScommunity
Copy link
Author

aws schematics ma
orange colors belong to compute tools like we see in ec2 or even to ecs or fargate.
so, 'baijani' color belong to service type or say, services like watching inspecting ur aws environments like how guard watches who comes goes in your offics building like that.. . cloudtrail cloudwatch belongs in here.
dark blue color belongs to automation tools like we see in code commit code build- devops rel.

@AWScommunity
Copy link
Author

PORT NOs. to remember while managing Access.Control.List. Its one specifics is Network.ACL ie ACL:
Port Nos

so what exactly is port no? Well, port nos are:
in an incoming message/packet, the IP address is used to identify the destination computer/node, whereas the port number further specifies the destination application/program in that computer. Similarly, all outgoing network packets contain application port numbers in the packet header to enable the receiver to distinguish the specific application. ((Now here Idk yet if port no. should be same for particular application like HTTPs whether its outgoing or incoming, I think shouldbe same) )
Port numbers are mainly used in TCP and UDP based networks, with an available range of 65,535 for assigning port numbers. Although an application can change its port number, some commonly used Internet/network services are allocated with global port numbers such as Port Number 80 for HTTP, 23 for Telnet and 25 for SMTP, port 22 for Bastion Host, which is for SSHing into instances on priv subnet.

@AWScommunity
Copy link
Author

AWScommunity commented Feb 25, 2023

image
del it if IT is in s3 white note anyway:
athena is like taxi u hire to get to while redshift is superfast car expensive rate when it comes to jobs like running sql query etc etc on your s3 db

@AWScommunity
Copy link
Author

AWScommunity commented Jul 20, 2024

image

@AWScommunity
Copy link
Author

image

@AWScommunity
Copy link
Author

image

@AWScommunity
Copy link
Author

AWScommunity commented Jul 20, 2024

@AWScommunity
Copy link
Author

image

@AWScommunity
Copy link
Author

colab
image

image

@AWScommunity
Copy link
Author

image

@AWScommunity
Copy link
Author

image

@AWScommunity
Copy link
Author

image

@AWScommunity
Copy link
Author

image

@AWScommunity
Copy link
Author

DOONT del here coz its hyperlinked in blog
image

@AWScommunity
Copy link
Author

image

@sbibek086
Copy link

sbibek086 commented Oct 13, 2024

from transformers import AutoTokenizer, TFAutoModel

tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-uncased")

model = TFAutoModel.from_pretrained("google-bert/bert-base-uncased")

inputs = tokenizer ("Hello world!", return_tensors="tf")

outputs = model (**inputs)

The tokenizer is responsible for all preprocessing the pretrained model expects and can be called directly on a single string (as in the above examples) or a list. It will output a dictionary that you can use in downstream code or simply directly pass to your model using the ** argument unpacking operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment