Skip to content

following along the book by the same name, refactoring some of the code for higher readibility and maintainability.

Notifications You must be signed in to change notification settings

spayot/nlp_with_transformers

Repository files navigation

NLP with Transformers - Follow Along

Motivation

  • Consolidate learnings from reading the book Natural Language Processign with Transformers, by reimplementing its most interesting chapters.
  • Apply some of the refactoring techniques and software design principles learned from #ArjanCodes to strive for maintainability, readability and scalability.

Method and Results

Approach:

  • read a chapter
  • reproduce the experiments manually (no copy pasting)
  • refactor some of the code (mostly by breaking large code blcoks into smaller functions, bringing some OOP to encapsulate the more complex workflows, decoupling config from code, using protocols when relevant, etc...)

How to Setup Environment

For each chapter, you can setup a dedicated environment by executing the instructions presented in the chapter README.

More Resources

Progress

  • 100% Chapter 0 - Datasets creation and processing
  • 100% Chapter 2 - Text Classification
  • 100% Chapter 4 - Multilingual NER
  • 100% Chapter 7 - Question Answering
  • 100% Chapter 8 - Model Compression
  • 100% Chapter 9 - Few to No Labels

About

following along the book by the same name, refactoring some of the code for higher readibility and maintainability.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages