#702 · Primary category: Education & Research

Transformers-for-NLP-2nd-Edition

bert chatgpt chatgpt-api dall-e dall-e-api deep-learning gpt-3-5-turbo gpt-4 gpt-4-api huggingface-transformers machine-learning natural-language-processing nlp openai python pytorch roberta-model transformers trax

Comprehensive guide to transformer models from BERT to GPT-4, with hands-on fine-tuning, training, and prompt engineering examples.

Project last updated:01/04/24

GitHub Stars

966

Forks

362

Contributors

2

License

MIT

Why we included this project

Anyone working through the second edition of Denis Rothman's transformer book will find this repository a solid companion. It is a teaching resource rather than a deployable service, and the Jupyter notebooks mirror the book's chapters, moving from BERT attention heads and positional encodings to RoBERTa pretraining and fine-tuning. The later material and the Dolphin bonus examples show how to shift older workflows onto OpenAI's chat completions and GPT-4 APIs, with notes on breaking changes like model renames and the client pattern, and they include DALL-E image generation and Google Cloud AI examples. Notebooks ship with launch links for cloud services that come preinstalled with CUDA, so you can skip local GPU setup. Keep in mind that much of the content reflects the OpenAI ecosystem as of early 2024.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category