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

A collection of Classical Chinese natural language processing models, including Classical Chinese related models and resources on the Internet.

GuwenModels: 古文自然语言处理模型合集, 收录互联网上的古文相关模型及资源. A collection of Classical Chinese natural language processing models, including Classical Chinese related models and resources on the Internet.

Ethan 66 Dec 26, 2022
Statistics and Mathematics for Machine Learning, Deep Learning , Deep NLP

Stat4ML Statistics and Mathematics for Machine Learning, Deep Learning , Deep NLP This is the first course from our trio courses: Statistics Foundatio

Omid Safarzadeh 83 Dec 29, 2022
Official implementations for various pre-training models of ERNIE-family, covering topics of Language Understanding & Generation, Multimodal Understanding & Generation, and beyond.

English|简体中文 ERNIE是百度开创性提出的基于知识增强的持续学习语义理解框架,该框架将大数据预训练与多源丰富知识相结合,通过持续学习技术,不断吸收海量文本数据中词汇、结构、语义等方面的知识,实现模型效果不断进化。ERNIE在累积 40 余个典型 NLP 任务取得 SOTA 效果,并在 G

5.4k Jan 03, 2023
An official implementation for "CLIP4Clip: An Empirical Study of CLIP for End to End Video Clip Retrieval"

The implementation of paper CLIP4Clip: An Empirical Study of CLIP for End to End Video Clip Retrieval. CLIP4Clip is a video-text retrieval model based

ArrowLuo 456 Jan 06, 2023
Stack based programming language that compiles to x86_64 assembly or can alternatively be interpreted in Python

lang lang is a simple stack based programming language written in Python. It can

Christoffer Aakre 1 May 30, 2022
Open solution to the Toxic Comment Classification Challenge

Starter code: Kaggle Toxic Comment Classification Challenge More competitions 🎇 Check collection of public projects 🎁 , where you can find multiple

minerva.ml 153 Jun 22, 2022
Yes it's true :broken_heart:

Information WARNING: No longer hosted If you would like to be on this repo's readme simply fork or star it! Forks 1 - Flowzii 2 - Errorcrafter 3 - vk-

Dropout 66 Dec 31, 2022
Tools to download and cleanup Common Crawl data

cc_net Tools to download and clean Common Crawl as introduced in our paper CCNet. If you found these resources useful, please consider citing: @inproc

Meta Research 483 Jan 02, 2023
p-tuning for few-shot NLU task

p-tuning_NLU Overview 这个小项目是受乐于分享的苏剑林大佬这篇p-tuning 文章启发,也实现了个使用P-tuning进行NLU分类的任务, 思路是一样的,prompt实现方式有不同,这里是将[unused*]的embeddings参数抽取出用于初始化prompt_embed后

3 Dec 29, 2022
A framework for implementing federated learning

This is partly the reproduction of the paper of [Privacy-Preserving Federated Learning in Fog Computing](DOI: 10.1109/JIOT.2020.2987958. 2020)

DavidChen 46 Sep 23, 2022
Use the state-of-the-art m2m100 to translate large data on CPU/GPU/TPU. Super Easy!

Easy-Translate is a script for translating large text files in your machine using the M2M100 models from Facebook/Meta AI. We also privide a script fo

Iker García-Ferrero 41 Dec 15, 2022
ADCS - Automatic Defect Classification System (ADCS) for SSMC

Table of Contents Table of Contents ADCS Overview Summary Operator's Guide Demo System Design System Logic Training Mode Production System Flow Folder

Tam Zher Min 2 Jun 24, 2022
CrossNER: Evaluating Cross-Domain Named Entity Recognition (AAAI-2021)

CrossNER is a fully-labeled collected of named entity recognition (NER) data spanning over five diverse domains (Politics, Natural Science, Music, Literature, and Artificial Intelligence) with specia

Zihan Liu 89 Nov 10, 2022
This is the Alpha of Nutte language, she is not complete yet / Essa é a Alpha da Nutte language, não está completa ainda

nutte-language This is the Alpha of Nutte language, it is not complete yet / Essa é a Alpha da Nutte language, não está completa ainda My language was

catdochrome 2 Dec 18, 2021
A Transformer Implementation that is easy to understand and customizable.

Simple Transformer I've written a series of articles on the transformer architecture and language models on Medium. This repository contains an implem

Naoki Shibuya 4 Jan 20, 2022
Example code for "Real-World Natural Language Processing"

Real-World Natural Language Processing This repository contains example code for the book "Real-World Natural Language Processing." AllenNLP (2.5.0 or

Masato Hagiwara 303 Dec 17, 2022
An easy-to-use Python module that helps you to extract the BERT embeddings for a large text dataset (Bengali/English) efficiently.

An easy-to-use Python module that helps you to extract the BERT embeddings for a large text dataset (Bengali/English) efficiently.

Khalid Saifullah 37 Sep 05, 2022
Text editor on python tkinter to convert english text to other languages with the help of ployglot.

Transliterator Text Editor This is a simple transliteration program which is used to convert english word to phonetically matching word in another lan

Merin Rose Tom 1 Jan 16, 2022
Machine Learning Course Project, IMDB movie review sentiment analysis by lstm, cnn, and transformer

IMDB Sentiment Analysis This is the final project of Machine Learning Courses in Huazhong University of Science and Technology, School of Artificial I

Daniel 0 Dec 27, 2021