dbiir / dbiir/UER-py

convert_albert_from_huggingface_to_uer.py 報錯

Open
#146 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.1k
Forks
520
PR merge metrics
No merged PRs in 30d

Description

Traceback (most recent call last):
File "convert_albert_from_huggingface_to_uer.py", line 43, in
output_model["target.sop_linear_1.weight"] = input_model["albert.pooler.weight"]
KeyError: 'albert.pooler.weight'

您好,
我在使用代碼轉換hugging face model hub 之 voidful/albert_chinese_base (https://huggingface.co/voidful/albert_chinese_base )時,遇到了上述問題,想問問題出在哪?萬分感謝您

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.