-
Hi!
I've been making some experiments with sentence embeddings and using [SentEval](https://github.com/facebookresearch/SentEval) to obtain results in several tasks. In particular, I've been using …
-
```
python train.py --base_config korquad/bert_base_multilingual_uncased
```
```
2021-04-24 16:30:42,819 (modeling_utils.py:650): [INFO] - loading weights file https://cdn.huggingface.co/bert-ba…
-
How would one have to adjust `run_predictions.py` to work with a roberta model?
I tried changing the tokenizer to `RobertaTokenizer` and set the data loader to `model_type=roberta` but that doesn't …
-
Some weights of the model checkpoint at ../model_hub/bert-base-chinese/ were not used when initializing BertModel: ['cls.predictions.transform.dense.bias', 'cls.predictions.
transform.LayerNorm.weigh…
-
/home/agmap/users/conda/gsam/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered in…
-
I suppose if you really train 3 epochs for 10 duplication data, it will take more than 10 days
-
请问模型换成Albert后,会出现下面的错误是什么原因啊?
Traceback (most recent call last):
File "main.py", line 232, in
bertForNer = BertForNer(args, train_loader, dev_loader, test_loader, id2query)
File "main.py"…
-
提问时请尽可能提供如下信息:
### 基本信息
- 你使用的**操作系统**:
- 你使用的**Python**版本:
- 你使用的**Tensorflow**版本:
- 你使用的**Keras**版本:
- 你使用的**bert4keras**版本:
- 你使用纯**keras**还是**tf.keras**:
- 你加载的**预训练模型**:
### 核心…
-
@kaushaltrivedi
**While training on sagemaker i'm facing this issue**
- INFO - root - Writing example 0 of 6382
Exception during training: expected string or bytes-like object
Traceback (m…
-
I had an issue while building a function that only predicts a sentence without passing a dataloader instance
Theses are the steps I followed:
sentence= 'put a sentence'
bert_tokens = []
tok_map =…