All Projects → abhimishra91 → Transformers Tutorials

abhimishra91 / Transformers Tutorials

Licence: mit
Github repo with tutorials to fine tune transformers for diff NLP tasks

Projects that are alternatives of or similar to Transformers Tutorials

Machine Learning
My Attempt(s) In The World Of ML/DL....
Stars: ✭ 78 (-79.69%)
Mutual labels:  jupyter-notebook, classification, pytorch-tutorial
Pytorchnlpbook
Code and data accompanying Natural Language Processing with PyTorch published by O'Reilly Media https://nlproc.info
Stars: ✭ 1,390 (+261.98%)
Mutual labels:  jupyter-notebook, pytorch-tutorial, natural-language-processing
Turkish Bert Nlp Pipeline
Bert-base NLP pipeline for Turkish, Ner, Sentiment Analysis, Question Answering etc.
Stars: ✭ 85 (-77.86%)
Mutual labels:  jupyter-notebook, natural-language-processing, named-entity-recognition
End To End Sequence Labeling Via Bi Directional Lstm Cnns Crf Tutorial
Tutorial for End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF
Stars: ✭ 87 (-77.34%)
Mutual labels:  jupyter-notebook, pytorch-tutorial, named-entity-recognition
Bert Sklearn
a sklearn wrapper for Google's BERT model
Stars: ✭ 182 (-52.6%)
Mutual labels:  jupyter-notebook, natural-language-processing, named-entity-recognition
Nagisa Tutorial Pycon2019
Code for PyCon JP 2019 talk "Python による日本語自然言語処理 〜系列ラベリングによる実世界テキスト分析〜"
Stars: ✭ 46 (-88.02%)
Mutual labels:  jupyter-notebook, natural-language-processing, named-entity-recognition
Pytorch Pos Tagging
A tutorial on how to implement models for part-of-speech tagging using PyTorch and TorchText.
Stars: ✭ 96 (-75%)
Mutual labels:  jupyter-notebook, pytorch-tutorial, natural-language-processing
Machine Learning
머신러닝 입문자 혹은 스터디를 준비하시는 분들에게 도움이 되고자 만든 repository입니다. (This repository is intented for helping whom are interested in machine learning study)
Stars: ✭ 705 (+83.59%)
Mutual labels:  jupyter-notebook, pytorch-tutorial, natural-language-processing
Dive Into Dl Pytorch
本项目将《动手学深度学习》(Dive into Deep Learning)原书中的MXNet实现改为PyTorch实现。
Stars: ✭ 14,234 (+3606.77%)
Mutual labels:  jupyter-notebook, pytorch-tutorial, natural-language-processing
Pytorch Question Answering
Important paper implementations for Question Answering using PyTorch
Stars: ✭ 154 (-59.9%)
Mutual labels:  jupyter-notebook, pytorch-tutorial, natural-language-processing
Practical Machine Learning With Python
Master the essential skills needed to recognize and solve complex real-world problems with Machine Learning and Deep Learning by leveraging the highly popular Python Machine Learning Eco-system.
Stars: ✭ 1,868 (+386.46%)
Mutual labels:  jupyter-notebook, classification, natural-language-processing
Pytorch Bert Crf Ner
KoBERT와 CRF로 만든 한국어 개체명인식기 (BERT+CRF based Named Entity Recognition model for Korean)
Stars: ✭ 236 (-38.54%)
Mutual labels:  jupyter-notebook, natural-language-processing, named-entity-recognition
Pytorch graph Rel
A PyTorch implementation of GraphRel
Stars: ✭ 204 (-46.87%)
Mutual labels:  jupyter-notebook, natural-language-processing, named-entity-recognition
Pytorch Sentiment Analysis
Tutorials on getting started with PyTorch and TorchText for sentiment analysis.
Stars: ✭ 3,209 (+735.68%)
Mutual labels:  jupyter-notebook, pytorch-tutorial, natural-language-processing
Capsule net pytorch
Readable implementation of a Capsule Network as described in "Dynamic Routing Between Capsules" [Hinton et. al.]
Stars: ✭ 301 (-21.61%)
Mutual labels:  jupyter-notebook, pytorch-tutorial
Pycaret
An open-source, low-code machine learning library in Python
Stars: ✭ 4,594 (+1096.35%)
Mutual labels:  jupyter-notebook, classification
Zhihu
This repo contains the source code in my personal column (https://zhuanlan.zhihu.com/zhaoyeyu), implemented using Python 3.6. Including Natural Language Processing and Computer Vision projects, such as text generation, machine translation, deep convolution GAN and other actual combat code.
Stars: ✭ 3,307 (+761.2%)
Mutual labels:  jupyter-notebook, natural-language-processing
Nlp Progress
Repository to track the progress in Natural Language Processing (NLP), including the datasets and the current state-of-the-art for the most common NLP tasks.
Stars: ✭ 19,518 (+4982.81%)
Mutual labels:  natural-language-processing, named-entity-recognition
Pytorch Nlp Notebooks
Learn how to use PyTorch to solve some common NLP problems with deep learning.
Stars: ✭ 293 (-23.7%)
Mutual labels:  jupyter-notebook, pytorch-tutorial
Biosentvec
BioWordVec & BioSentVec: pre-trained embeddings for biomedical words and sentences
Stars: ✭ 308 (-19.79%)
Mutual labels:  jupyter-notebook, natural-language-processing

PyTorch Transformers Tutorials

Transformer Tutorials

GitHub issues GitHub forks Github Stars GitHub license

Introduction

The field of NLP was revolutionized in the year 2018 by introduction of BERT and his Transformer friends(RoBerta, XLM etc.).

These novel transformer based neural network architectures and new ways to training a neural network on natural language data introduced transfer learning to NLP problems. Transfer learning had been giving out state of the art results in the Computer Vision domain for a few years now and introduction of transformer models for NLP brought about the same paradigm change in NLP.

Companies like Google and Facebook trained their neural networks on large swathes of Natural Language Data to grasp the intricacies of language thereby generating a Language model. Finally these models were fine tuned to specific domain dataset to achieve state of the art results for a specific problem statement. They also published these trained models to open source community. The community members were now able to fine tune these models to their specific use cases.

Hugging Face made it easier for community to access and fine tune these models using their Python Package: Transformers.

Motivation

Despite these amazing technological advancements applying these solutions to business problems is still a challenge given the niche knowledge required to understand and apply these method on specific problem statements. Hence, In the following tutorials i will be demonstrating how a user can leverage technologies along with some other python tools to fine tune these Language models to specific type of tasks.

Before i proceed i will like to mention the following groups for the fantastic work they are doing and sharing which have made these notebooks and tutorials possible:

Please review these amazing sources of information and subscribe to their channels/sources.

The problem statements that i will be working with are:

Notebook Github Link Colab Link Kaggle Kernel
Text Classification: Multi-Class Github Open In Colab Kaggle
Text Classification: Multi-Label Github Open In Colab Kaggle
Sentiment Classification with Experiment Tracking in WandB! Github Open In Colab
Named Entity Recognition: with TPU processing! Github Open In Colab Kaggle
Question Answering
Summary Writing: with Experiment Tracking in WandB! Github Open In Colab Kaggle

Directory Structure

  1. data: This folder contains all the toy data used for fine tuning.
  2. utils: This folder will contain any miscellaneous script used to prepare for the fine tuning.
  3. models: Folder to save all the artifacts post fine tuning.

Further Watching/Reading

I will try to cover the practical and implementation aspects of fine tuning of these language models on various NLP tasks. You can improve your knowledge on this topic by reading/watching the following resources.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].