Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

transformer 🤖🧬🤗

transformer : HuggingFace # Transformer # AWS Sagemaker Studio Lab

Objective

  • Learn what Transformer models can do and use the first tool from the 🤗 Transformers library: the pipeline() function.

Transformer architecture

    1. Encoder-only
    1. Decoder-only
    1. Encoder-Decoder (sequence-to-sequence)

Transformer Key Components

    1. Input Embeddings
    1. Self‑Attention Mechanism
    1. Multi‑Head Attention
    1. Feed‑Forward Networks
    1. Residual Connections & Layer Normalization

Modern Transformer Variant

  • GPT‑5
  • Claude
  • Llama
  • Gemini
  • Vision Transformers (ViT)

Modern tokenizers

  • BPE (Byte Pair Encoding)
  • WordPiece
  • SentencePiece

Transformers

transformer001.png

transformer002.png

transformer003.png

transformer004.png

transformer005.png

transformer006.png

transformer007.png

transformer008.png

transformer009.png

transformer010.png

transformer011.png

transformer012.png

transformer013.png

transformer014.png

transformer015.png

transformer016.png

transformer017.png

transformer018.png

CI/CD in Progress...

Screenshot of a comment on a GitHub issue showing an image, added in the Markdown, of an Octocat smiling and raising a tentacle.

About

transformer 🤖🧬🤗 : HuggingFace # Transformer # AWS Sagemaker Studio Lab

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages