Adapting this repo to current version of transformers library
未关闭
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 286
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
First of all, thank all of you for the amazing work!
I was wondering if there is any plan to update this repo to work with the latest version of HF transformers library.
When I try to load the model I got this kind of error (similar errors are reported in other issues):
```
RuntimeError: Error(s) in loading state_dict for LongformerEncoderDecoderForConditionalGeneration:
size mismatch for model.encoder.embed_positions.weight: copying a param with shape torch.Size([4098, 1024]) from checkpoint, the shape in current model is torch.Size([1026, 1024]).
```
Is there an effective way to make it work?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。