Finetune gpt-2 in google colab

Overview

gpt-2-colab

finetune gpt-2(https://github.com/openai/gpt-2) in google colab

sample result (117M) from retraining on A Tale of Two Cities by Charles Dickens

No, Jerry! Jerry! You're a nice man, Jerry!”

That was all too remarkable. It was not merely impressive, but it took me on a turning short cough, and then swelling and stiffening, and rising to be a nice man, and a man, and not at all strivenly, and wicked.

The wonderful corner for echoes, and the echoes not being the echoes of footsteps that had their shameful imparted on the other side alone, that the time and tide waited for Lucie were sufficiently near the room, that to the utmost remaining of the time, even though assisted off other carriages, and were always ready and drove away that they should not hear themselves, Jerry heard no cry, and were as quick as in the morning if they had to pull up their heads and cidled away together as they could.

The farrier had not been in the barrier when he stopped, for the moment, and was as quick as they could make him.

He was to roll up arms, to get the outer coat to and frolic. He could not have laid down his hand to do so without another rain of the summer drops on high, when he was requested to do so. But, the rain of the summer was very strong and few, and the rain of the autumn month afterwards was strong and warm by those intervals. The storm in the west was very rarely beering, and the storm in the light of the summer was very rarely without it. The storm was really falling, and he stood there for a moment with his hand to open the barrier.

He was so far apart, that he could not have looked at him at all then; for, it was already dark when he looked at this figure, and it looked at IV

(an) seemed to fall, and reappeared, as old as Adam, until the morning, of the hour before.

“I fear the best, well,” said Jerry, stopping in his story, and laying his hand on hers, “what are you?”

“The worst.”

Though he had no hope of saying it, he could have looked at him, and then frowned at another figure, whose surface furnished a kind of dark street before him, for a few jewels.

He looked at it, and glanced at it. The Spy and prison-keeper looked at it, and the Spy showed a broken-hearted look.

“I am very much obliged to them for their looks and faces,” said Jerry. “No, Jerry! They are all in animosity and submission. They are in the habitually consently bad. I know what you have to do with my business. Whether I wait for you under the obligation to do so is the assumption yours. It is little to keep them in their places, to keep them in their times too much, is it not? No, Jerry. It is to keep them in their places, to cost and cost as the like. So much would you cost and change to-do exactly? That is to say, without deigning to say anything that is not at all, and no harm is to be expected of, will you not? No. It will cost nothing to save you, if it wos so, refuse. But it is always in the nature of things, and it is the nature of things. What is it? What would you have to say to me at all as, or to that degree?”

“I would ask you, is it not?”

Hah!” said Jerry, as he paused for the moment to ask him questions.

“It is true,” repeated the last question. “Does it cost to show me no harm, me nothing, yet? No. It is without loss,” repeated the Law; in the resting-looked-down sentiment. “Will you be very soon as restored to you?”

At the Judge, again a Judgeyer.

“If it is not restored to you within a minute, who should shut out the proceedings, and then the prisoner must be put back advance, and then must be removed.”

The Judge, whose eyes had gone in the general direction, leaned back in his seat, and stood ready.

Mr. Attorney-General then, following his leader's guidance, examined his manner with great obsequiousness and closeness, and passing on to the bench and tools, and passing on to Mr. Lorry. After looking at

An Open-Source Package for Neural Relation Extraction (NRE)

OpenNRE We have a DEMO website (http://opennre.thunlp.ai/). Try it out! OpenNRE is an open-source and extensible toolkit that provides a unified frame

THUNLP 3.9k Jan 03, 2023
Simple Annotated implementation of GPT-NeoX in PyTorch

Simple Annotated implementation of GPT-NeoX in PyTorch This is a simpler implementation of GPT-NeoX in PyTorch. We have taken out several optimization

labml.ai 101 Dec 03, 2022
Code for EMNLP 2021 main conference paper "Text AutoAugment: Learning Compositional Augmentation Policy for Text Classification"

Code for EMNLP 2021 main conference paper "Text AutoAugment: Learning Compositional Augmentation Policy for Text Classification"

LancoPKU 105 Jan 03, 2023
NLP-SentimentAnalysis - Coursera Course ( Duration : 5 weeks ) offered by DeepLearning.AI

Coursera Natural Language Processing Specialization This repository contains material related to Coursera Natural Language Processing Specialization.

Nishant Sharma 1 Jun 05, 2022
Implementation of Natural Language Code Search in the project CodeBERT: A Pre-Trained Model for Programming and Natural Languages.

CodeBERT-Implementation In this repo we have replicated the paper CodeBERT: A Pre-Trained Model for Programming and Natural Languages. We are interest

Tanuj Sur 4 Jul 01, 2022
In this Notebook I've build some machine-learning and deep-learning to classify corona virus tweets, in both multi class classification and binary classification.

Hello, This Notebook Contains Example of Corona Virus Tweets Multi Class Classification. - Classes is: Extremely Positive, Positive, Extremely Negativ

Khaled Tofailieh 3 Dec 06, 2022
Protein Language Model

ProteinLM We pretrain protein language model based on Megatron-LM framework, and then evaluate the pretrained model results on TAPE (Tasks Assessing P

THUDM 77 Dec 27, 2022
BeautyNet is an AI powered model which can tell you whether you're beautiful or not.

BeautyNet BeautyNet is an AI powered model which can tell you whether you're beautiful or not. Download Dataset from here:https://www.kaggle.com/gpios

Ansh Gupta 0 May 06, 2022
Korean stereoypte detector with TUNiB-Electra and K-StereoSet

Korean Stereotype Detector Korean stereotype sentence classifier using K-StereoSet with TUNiB-Electra Web demo you can test this model easily in demo

Sae_Chan_Oh 11 Feb 18, 2022
Dé op-de-vlucht Pieton vertaler. Wereldwijd gebruikt door meer dan 1.000+ succesvolle bedrijven!

Dé op-de-vlucht Pieton vertaler. Wereldwijd gebruikt door meer dan 1.000+ succesvolle bedrijven!

Lau 1 Dec 17, 2021
A flask application to predict the speech emotion of any .wav file.

This is a speech emotion recognition app. It will allow you to train a modular MLP model with the RAVDESS dataset, and then use that model with a flask application to predict the speech emotion of an

Aryan Vijaywargia 2 Dec 15, 2021
Curso práctico: NLP de cero a cien 🤗

Curso Práctico: NLP de cero a cien Comprende todos los conceptos y arquitecturas clave del estado del arte del NLP y aplícalos a casos prácticos utili

Somos NLP 147 Jan 06, 2023
KR-FinBert And KR-FinBert-SC

KR-FinBert & KR-FinBert-SC Much progress has been made in the NLP (Natural Language Processing) field, with numerous studies showing that domain adapt

5 Jul 29, 2022
PyTorch implementation of "data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Language" from Meta AI

data2vec-pytorch PyTorch implementation of "data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Language" from Meta AI (F

Aryan Shekarlaban 105 Jan 04, 2023
Deep Learning for Natural Language Processing - Lectures 2021

This repository contains slides for the course "20-00-0947: Deep Learning for Natural Language Processing" (Technical University of Darmstadt, Summer term 2021).

0 Feb 21, 2022
Code for the paper "BERT Loses Patience: Fast and Robust Inference with Early Exit".

Patience-based Early Exit Code for the paper "BERT Loses Patience: Fast and Robust Inference with Early Exit". NEWS: We now have a better and tidier i

Kevin Canwen Xu 54 Jan 04, 2023
Segmenter - Transformer for Semantic Segmentation

Segmenter - Transformer for Semantic Segmentation

592 Dec 27, 2022
LSTM based Sentiment Classification using Tensorflow - Amazon Reviews Rating

LSTM based Sentiment Classification using Tensorflow - Amazon Reviews Rating (Dataset) The dataset is from Amazon Review Data (2018)

Immanuvel Prathap S 1 Jan 16, 2022
A Plover python dictionary allowing for consistent symbol input with specification of attachment and capitalisation in one stroke.

Emily's Symbol Dictionary Design This dictionary was created with the following goals in mind: Have a consistent method to type (pretty much) every sy

Emily 68 Jan 07, 2023
Jarvis is a simple Chatbot with a GUI capable of chatting and retrieving information and daily news from the internet for it's user.

J.A.R.V.I.S Kindly consider starring this repository if you like the program :-) What/Who is J.A.R.V.I.S? J.A.R.V.I.S is an chatbot written that is bu

Epicalable 50 Dec 31, 2022