TCMVince commited on
Commit
93645f7
1 Parent(s): e246248

Update flaubert2_model.py

Browse files
Files changed (1) hide show
  1. flaubert2_model.py +2 -2
flaubert2_model.py CHANGED
@@ -259,9 +259,9 @@ class Flaubert2Encoder(RobertaEncoder):
259
 
260
 
261
  class Flaubert2Model(RobertaModel):
262
-
263
  def __init__(self, config, **kwargs):
264
- onfig_class = Flaubert2Config
265
  base_model_prefix = "flaubert2"
266
 
267
  super().__init__(config, **kwargs)
 
259
 
260
 
261
  class Flaubert2Model(RobertaModel):
262
+ config_class = Flaubert2Config
263
  def __init__(self, config, **kwargs):
264
+
265
  base_model_prefix = "flaubert2"
266
 
267
  super().__init__(config, **kwargs)