gpt-2-simple
gpt-2-simple copied to clipboard
Python package to easily retrain OpenAI's GPT-2 text-generating model on new texts
I'm having the error when `gpt2.finetune` tries to generate samples. Dataset loading is fine (which was the issue on #9) This is the complete error text: ``` Traceback (most recent...
Hi there, Thank you for sharing this repo. My problem is, I am training sequential data, where each word is an unique code in my txt file. Seemingly, GPT does...
Hello. I trained a model using GPT-2, which is great by the way. I am having trouble getting it to run in a new notebook. Do you have any instructions...
Hi thank you very much for your work. I'd like to fine tune GPT-2. I installed gpt-2 simple then I just paste your code in jupyter but the execution give...
It was choking on empty lines that returned a value of []. Checking to see if they're not [] (which is Falsy) prevents this and allows loading of CSVs with...
I followed the readme.md tutorial. Done the fine tuning. It created \checkpoint\run1\ directory. But when I run the 2nd part (standalone generate, from same dir I ran fine tuning from)...
``` [898 | 64206.12] loss=0.76 avg=0.84 [899 | 64275.59] loss=0.40 avg=0.84 [900 | 64345.04] loss=0.53 avg=0.83 ======== SAMPLE 1 ======== Traceback (most recent call last): File "C:\tmp\btc_all\btc_LUT\generators\gen_infintext_gpt2.py", line 27, in...
Hey all! Apologies if this is a dupe - I am running into a bug when attempting to generate samples with what I thought would be a relatively straightforward script...
Hi, I am trying to use this for a project that generates youtube comments based on parameters like videoCategory, channelName, videoTitle. For this i want to fine-tune this gpt2-simple on...
Hi, I was wondering if it was possible to train a model in colab using the GPU on my computer? I've tried it before but it doesn't recognize any of...