-
- OS: Linux
- Python version: 3.6.9
- AllenNLP version v0.8.4
Hi, I successfully trained my own bert model but when I tried loading the model via python interface and I got this error:
>Mode…
-
你好,请问了el_processs那几个文件之后,运行el_main出现了”Error no file named ['pytorch_model.bin, 'tf_model.h5, 'model.ckpt.index“是怎么回事,请问您可以给一些解答吗
-
### 问题
使用tensorflow api时bert4keras报错,错误代码在tf.layers.dense这个api,如果不使用这个api,直接输出bert的向量没有问题。
### 基本信息
- 你使用的**Python**版本: 3.6
- 你使用的**Tensorflow**版本: 1.14
- 你使用的**Keras**版本: 2.3.1
- 你使用的**ber…
-
I am having a little bit of trouble exporting to ONNX: `distilbert` with `question-answering` head.
### Code
I convert to ONNX according to [docs](https://huggingface.co/transformers/serializati…
-
1、README_CN.md文件中,python predict.sh ske 应该改为sh predict.sh ske;
2、openue/__init__.py中,所有"/home/ningyu.zny/work/OpenUE/pretrained_model/chinese_wwm_ext_L-12_H-768_A-12/bert_config.json"全路径应该改为相对路径;
…
-
Version: PaddleNLP==2.0.8, PaddlePaddle==2.1.3
Env: Linux Ubuntu 18.04 , GPU
examples/text_classification/pretrained_models/train.py
The original file is:
```
train_ds, dev_ds = load_dataset…
-
在运行训练程序时候,报错:
AssertionError: We only support 'data()' in static graph mode, please call 'paddle.enable_static()' to enter static graph mode
按照#27495问题的方案,并没有解决问题,运行 主机环境:ubuntu18.04,cuda10.0,cudnn7…
-
env:tf2.2
model:TFBertModel.from_pretrained('hfl/chinese-bert-wwm-ext')
i'm working on an information extraction project. First, I predict the “**subject**” through Bert CRF, then **tf. Gather (…
-
Hello. I have found that I cannot use the `TransformerWordEmbeddings` class for the Spanish BERT model.
This is the code:
```
from flair.data import Sentence
from flair.embeddings import Trans…
-
**Describe the bug**
I am trying to train a model wiht my data using "python bin/train_sentiment.py "dccuchile/bert-base-spanish-wwm-cased" models/beto-sentiment-analysis/ --epochs 5 --lang es" i hav…