Update config.json

#6
by avnishkr - opened

Due to changes in the names of tiiuae/falcon-7b files. Error is popping.
Following are the changes:

configuration_RW.RWConfig-->configuration_falcon.FalconConfig
modelling_RW.RWModel-->modeling_falcon.FalconModel
modelling_RW.RWForCausalLM-->modeling_falcon.FalconForCausalLM
modelling_RW.RWForQuestionAnswering-->modeling_falcon.FalconForQuestionAnswering
modelling_RW.RWForSequenceClassification-->modeling_falcon.FalconForSequenceClassification
modelling_RW.RWForTokenClassification-->modeling_falcon.FalconForTokenClassification

Please update the config file as modified by me( New config file is tried and tested and its Working!!!)

For time being anyone using this code use the following code while loading:

config = AutoConfig.from_pretrained('/content/drive/Shareddrives/shared drive/config.json')
model = AutoModel.from_pretrained('ybelkada/falcon-7b-sharded-bf16', config=config)

avnishkr changed pull request status to closed

Sign up or log in to comment