Enable loading with auto classes (#23)
- Enable loading with auto classes (50a17258bb967c1c272d54dd9920cb4c249947f9) Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>
This commit is contained in:
parent
eddb07e1aa
commit
f431193eae
@ -7,6 +7,10 @@
|
|||||||
"attention_dropout": 0.0,
|
"attention_dropout": 0.0,
|
||||||
"auto_map": {
|
"auto_map": {
|
||||||
"AutoConfig": "configuration_RW.RWConfig",
|
"AutoConfig": "configuration_RW.RWConfig",
|
||||||
|
"AutoModel": "modelling_RW.RWModel",
|
||||||
|
"AutoModelForSequenceClassification": "modelling_RW.RWForSequenceClassification",
|
||||||
|
"AutoModelForTokenClassification": "modelling_RW.RWForTokenClassification",
|
||||||
|
"AutoModelForQuestionAnswering": "modelling_RW.RWForQuestionAnswering",
|
||||||
"AutoModelForCausalLM": "modelling_RW.RWForCausalLM"
|
"AutoModelForCausalLM": "modelling_RW.RWForCausalLM"
|
||||||
},
|
},
|
||||||
"bias": false,
|
"bias": false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user