ljferrer / ghost Goto Github PK
View Code? Open in Web Editor NEWLil BERT will help you rap!
Lil BERT will help you rap!
Training:
Running average of Transformer-XL's output tokens on preceding text + [CLS] token --> BERT
Generation:
BERT's input moves like a sliding window of bigrams, prepended with a [TXL] token from previous text
Notes:
In https://github.com/Ljferrer/Ghost/blob/dev/batch/lilBERT/pregenerate_training_data.py
Rewrite create_instances_from_document():
The scope of #2 should be broken down into two parts:
In order to run fine tuning experiments:
Preprocessing script: Takes CleanedRapCorpus
and TrainingRegiment
as input and serves formatted batches in tunable frequency distributions.
Use PyTorch-gpu
Edit main() to have ordered epoch generation โ> write to jsonl:
Beam Search Modifications:
Some words are broken down into multiple tokens, i.e. 'disrespectful' = "di", "##sr", "##es", "##pe", "##ct", "##ful".
When a user will ask for a word, they may want a multi-token suggestion. How can we search across a variable number of tokens?
Beam Search? or something else?
bert-large-uncased
n Artists Downloaded:
Artists: Wikipedia Top Hip Hop Musicians
Source: Genius.com
Means: LyricsGenius pip package
Notes to be aware of:
rm lyrics_falloutboy_*.json
))Rules:
Copy fields:
artist
: " "title
: " "year
: "YYYY-MM-DD"image
: "url"raw_lyrics
: "..."Clean lyrics fields:
sections
: [ {type
: [Header], lines
: [ " ", ... ] } ]
Optional:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.