Kowsher commited on
Commit
231705d
1 Parent(s): 9fec138

Update ChatFalcon.py

Browse files
Files changed (1) hide show
  1. ChatFalcon.py +3 -2
ChatFalcon.py CHANGED
@@ -1267,11 +1267,12 @@ class FalconForQuestionAnswering(FalconPreTrainedModel):
1267
  attentions=outputs.attentions,
1268
  )
1269
 
1270
-
1271
  AutoConfig.register("falcon", FalconConfig)
1272
  AutoModel.register(FalconConfig, FalconModel)
1273
  AutoModelForCausalLM.register(FalconConfig, FalconForCausalLM)
1274
 
1275
  FalconConfig.register_for_auto_class()
1276
  FalconModel.register_for_auto_class("AutoModel")
1277
- FalconForCausalLM.register_for_auto_class("AutoModelForCausalLM")
 
 
1267
  attentions=outputs.attentions,
1268
  )
1269
 
1270
+ '''
1271
  AutoConfig.register("falcon", FalconConfig)
1272
  AutoModel.register(FalconConfig, FalconModel)
1273
  AutoModelForCausalLM.register(FalconConfig, FalconForCausalLM)
1274
 
1275
  FalconConfig.register_for_auto_class()
1276
  FalconModel.register_for_auto_class("AutoModel")
1277
+ FalconForCausalLM.register_for_auto_class("AutoModelForCausalLM")
1278
+ '''