
camembert
Language310 ops109.5M params
A text encoder pretrained with data2vec's self-supervised prediction of contextualized latent targets.
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.
How this diagram was made
transformers.AutoModel.from_config()
Data2VecText is the text model of data2vec, a framework that uses the same self-supervised learning method for speech, natural language processing and computer vision. The core idea is to predict latent representations of the full input from a masked view of that input, in a self-distillation setup with a standard Transformer architecture. The prediction targets are contextualized representations that contain information from the entire input, where other methods predict local, modality-specific targets such as words.
For the text model, preprocessing is identical to that of RobertaModel, including tokenization. The paper reports experiments on benchmarks of speech recognition, image classification and natural language understanding. The original code for the language and speech models is in the fairseq repository.
Key idea. Data2Vec predicts contextualized latent representations of the full input from a masked view, using one self-distillation method for speech, vision and language.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.