Update ChatFalcon.py
Browse files- ChatFalcon.py +4 -0
ChatFalcon.py
CHANGED
@@ -1271,3 +1271,7 @@ class FalconForQuestionAnswering(FalconPreTrainedModel):
|
|
1271 |
AutoConfig.register("falcon", FalconConfig)
|
1272 |
AutoModel.register(FalconConfig, FalconModel)
|
1273 |
AutoModelForCausalLM.register(FalconConfig, FalconForCausalLM)
|
|
|
|
|
|
|
|
|
|
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")
|