Downloads · 30 days
10
2% of all-time downloads
armahlovis/GPT2FinnedtunnedEwritersRAll
GPT2FinnedtunnedEwritersRAll is a text generation model from armahlovis. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
10
2% of all-time downloads
All-time downloads
609
Public
Repo size
76.1 GB
Likes
0
Public
Click a slice to open those files.
.bin510 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of gpt2 using the writings of W. E. Burghardt Du Bois, Frederick Douglass, Booker T Washington and William Still on black emancipation and black civil rights.
The model is designed to be finned tunning with writting from Historical black black writers who wrote on freedom and emancipation. This first version has GPT2 fintunned with the writings of W. E. Burghardt Du Bois, Frederick Douglass, Booker T Washington and William Still
This can be used to complete sentences where historical context advocating for black freedom and emancipation is required. It may not fit outside historical settings as most of the issues used in the training may not apply in recent times
This is a more than 1 million word token dataset consist of Historical black writers who wrote about black emancipation. Include in this datasets are Collected Articles of Frederick Douglass(8000 word tokens),THREE ADDRESSES BY Fred Douglas(28K word token), Why is the Negro Lynched?(15K word token) by FREDERICK DOUGLASS, MY BONDAGE and MY FREEDOM(135Kword token), Narrative of the Life of Frederick Douglass(40K word tokens) darkwater by W. E.(67K word tokens), GIFT of BLACK FOLK(77K word tokens), John Brown (101K word token), Negro problem(36K word tokens), THE CONSERVATION OF RACES(5k word token), The Negro(57K word token), The quest of the Fleece(109k), THE SUPPRESSION OF THE AFRICAN SLAVE-TRADE(123K word tokens) by W. E. BURGHARDT DU BOIS, UP FROM SLAVERY AN AUTOBIOGRAPHY BY Booker T Washington(77K word tokens).
The evaluation data set consist of The Underground Railroad, by William Still(400K word token)
After corpus was put together, the text was preprocessed to remove extra text and license information added by Gutenberg organization. Also the word token was kept below 1000,000 word token and the number of epocs set to 1 so that it could be trained on basic package provided by Google Colab. It was then tokenized using GPT2Tokenizer and afterwards finned tunned on GPT2.
The following hyperparameters were used during training:
At the end of the training , the loss function was reduced from 4.339300 to 3.582800. With much training epocs this value can be reduced further