Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Why RoBERTa inherited from FairseqDecoder #2186

Description

@xu-song

❓ Questions and Help

What is your question?

RoBERTa is a sentence encoder model, why inherited from FairseqDecoder

Code

https://github.com/pytorch/fairseq/blob/145bc9de1278414812b2aef837be9ca0e9c1aebc/fairseq/models/roberta/model.py#L264-L276

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions