From f431193eae97714ac507eaa1254711af198deef4 Mon Sep 17 00:00:00 2001 From: Falcon LLM TII UAE Date: Wed, 31 May 2023 13:16:00 +0000 Subject: [PATCH] Enable loading with auto classes (#23) - Enable loading with auto classes (50a17258bb967c1c272d54dd9920cb4c249947f9) Co-authored-by: Lewis Tunstall --- config.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.json b/config.json index 7fd7208..a39a009 100644 --- a/config.json +++ b/config.json @@ -7,6 +7,10 @@ "attention_dropout": 0.0, "auto_map": { "AutoConfig": "configuration_RW.RWConfig", + "AutoModel": "modelling_RW.RWModel", + "AutoModelForSequenceClassification": "modelling_RW.RWForSequenceClassification", + "AutoModelForTokenClassification": "modelling_RW.RWForTokenClassification", + "AutoModelForQuestionAnswering": "modelling_RW.RWForQuestionAnswering", "AutoModelForCausalLM": "modelling_RW.RWForCausalLM" }, "bias": false,