Views
No views yet
transformers.data/ in this repository. The tokenizer is a BPE tokenizer, with
40.000 vocabulary merges, as the original paper. It is re-implemented using
HuggingFace tokenizers library, and trained on the
BookCorpusOpen dataset.preprocessing.py on how the data was preprocessed and tokenized.pre_training.py on how the model was pre-trained.inference.py for an example.gpt1-converted-weights/ is the converted safetensors model from the
original weights, which can be used directly with the code inside this repo. The
conversion script and original weights can also be found there.