-
I've just tried to load `SIKU-BERT/sikubert` but failed:
```py
>>> from transformers import AutoModel
>>> model = AutoModel.from_pretrained("SIKU-BERT/sikubert")
404 Client Error: Not Found for …
-
env: tf2.2, linux
**If there are two input parameters inherited from the tf.keras.model class and one of them is of bool type, it will directly report an error like this:**
![1628757059(1)](https…
-
执行
python convert_params.py --init_tf_checkpoint /home/work/leexy/Pretrain_model/Roberta_wwm_ext_large/bert_model.ckpt --fluid_params_dir ~/projects/pretrain_model
报错:
*** Error in `python': dou…
-
大佬好呀,
我下载了`chinese_roberta_wwm_ext_pytorch.zip`这个预训练模型,解压之后我这样加载的:
```
from transformers import BertTokenizer
from transformers import (
CONFIG_MAPPING,
MODEL_FOR_MASKED_LM_MAPPING,
…
-
python version: 3.7.6
transformers: 4.6.1
tensorflow-cpu: 2.3.1
my code:
```python
from transformers import TFAutoModel
model = TFAutoModel.from_pretrained("./chinese-bert-wwm-ext")
```
and …
-
**Question**
Hi, it's great works you'd been made on this project.
I used this project for training on custom dataset, it has around 2000 examples. Label count is a little imbalance.Finally, I tra…
-
Here is what I ran:
```python
from transformers.hf_api import HfApi
from tqdm import tqdm
import pandas as pd
model_list = HfApi().model_list()
model_ids = [x.modelId for x in model_list]
…
-
https://github.com/NVIDIA/NeMo/blob/6452ae3b51b969e6b778947ddaacb7c91d2780f7/nemo/collections/nlp/data/tokenizers/bert_tokenizer.py#L77
we have so many format here, I don't think the above filter i…
-
可能是构建模型时,`build_transformer_model`参数设置有问题,example中没有找到`residual_attention_scores`的参数使用样例,希望提供
### 基本信息
- 你使用的**操作系统**: ubuntu1~18.04
- 你使用的**Python**版本: Python 3.8.5
- 你使用的**Tensorflow**版本: t…
-
你好,我用你放出来的2stage_stage1_wwm_ext训练了第二阶段的official ‘chengyubert-2stage-stage2’,结果只有77。按照您_A BERT-based Two-Stage Model for Chinese Chengyu Recommendation_Table4的结果,应该是85.43吧。请问为什么会差这么多呢,是我哪里没有注意到吗?