
camembert
Language310 ops109.5M params
BERT retrained properly: a bidirectional transformer encoder, here with a chemistry SMILES variant.
Language · 310 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
RoBERTa is a replication study of BERT pretraining that carefully measures the impact of many key hyperparameters and training data size. The motivation is that careful comparison between pretraining approaches is hard: training is computationally expensive, often done on private datasets of different sizes, and hyperparameter choices have significant impact on the final results. The headline finding is that BERT was significantly undertrained, and can match or exceed the performance of every model published after it. The models and code were released through fairseq, whose changelog records RoBERTa models and code released in July 2019.
Three of the captured members are plain encoder variants of this architecture; the fourth, ChemBERTa, is a BERT-like transformer model for masked language modelling of chemical SMILES strings. ChemBERTa was trained with HuggingFace's models and the ByteLevel tokenizer on a corpus of 100k SMILES strings from the ZINC benchmark dataset. Training RoBERTa over 5 epochs, that model reaches a loss of 0.398, which its card notes may likely continue to decline if trained for a larger number of epochs. The card also proposes attention visualization as a tool for chemistry practitioners and students to quickly identify important substructures.
Key idea. Showing that BERT was significantly undertrained: with the right pretraining choices it can match or exceed the performance of every model published after it.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{liu2019robertarobustlyoptimizedbert,
title={RoBERTa: A Robustly Optimized BERT Pretraining Approach},
author={Yinhan Liu and Myle Ott and Naman Goyal and Jingfei Du and Mandar Joshi and Danqi Chen and Omer Levy and Mike Lewis and Luke Zettlemoyer and Veselin Stoyanov},
year={2019},
eprint={1907.11692},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/1907.11692},
}