Skip to content

Commit

Permalink
FlaubertForSequenceClassification inherit from FlaubertModel instead …
Browse files Browse the repository at this point in the history
…of XLMPreTrainedModel
  • Loading branch information
adrienrenaud committed Feb 10, 2020
1 parent 048b3eb commit 0ae8834
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from torch.nn import CrossEntropyLoss, MSELoss


class FlaubertForSequenceClassification(XLMPreTrainedModel):
class FlaubertForSequenceClassification(FlaubertModel):
r"""
**labels**: (`optional`) ``torch.LongTensor`` of shape ``(batch_size,)``:
Labels for computing the sequence classification/regression loss.
Expand Down

0 comments on commit 0ae8834

Please sign in to comment.