Skip to content

A collection of tutorials and notebooks explaining transformer models in deep learning.

License

Notifications You must be signed in to change notification settings

syarahmadi/transformers-crash-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Changed Notebooks Codacy Badge License: MIT

Transformer Tutorials

Welcome to the Transformer Tutorials repository! This collection is dedicated to explaining the intricacies of transformer models in deep learning, from their foundational concepts to advanced applications and research topics. Designed for beginners and advanced practitioners alike, our tutorials aim to demystify transformers and highlight their potential across various domains.

📚 Table of Contents

📚 Table of Contents

🌱 Basics and Introduction

🚀 Intermediate Topics

🔬 Advanced Topics

🛠 Setting Up the Local Environment

To run the tutorials and notebooks on your local machine, follow these steps:

1. Clone the Repository

First, clone the repository to your local machine:

git clone https://github.com/YOUR_USERNAME/transformer-tutorials.git
cd transformer-tutorials

Replace YOUR_USERNAME with your actual GitHub username.

2. Set Up a Virtual Environment (Optional but Recommended)

Using a virtual environment helps manage dependencies and ensures that the packages installed don't interfere with packages for other projects.

If you don't have venv module installed, you can do so using:

pip install virtualenv

Now, create and activate the virtual environment:

For macOS and Linux:

python -m venv venv
source venv/bin/activate

For Windows:

python -m venv venv
.\venv\Scripts\activate

3. Install Necessary Packages

With the virtual environment activated, install the required packages:

pip install -r requirements.txt

4. Launch Jupyter Notebook

You can now launch Jupyter Notebook to access and run the tutorials:

jupyter notebook

This will open a tab in your web browser where you can navigate to the desired notebook and run it.

5. Deactivate the Virtual Environment

Once you're done, you can deactivate the virtual environment and return to your global Python environment by simply running:

deactivate

🚀 How to Use

Follow the steps in "Setting Up the Local Environment" to set up your machine. Navigate to the desired notebook and run it using Jupyter Notebook.

🤝 Contributions

Feel free to submit pull requests or raise issues if you find any problems or have suggestions.

Contributor Graph

📜 License

MIT License

About

A collection of tutorials and notebooks explaining transformer models in deep learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published