-
line 234:
```python
self._self_distillation(
sentences_train, batch_size, learning_rate, epochs_num,
warmup, report_steps, model_saving_pathm, sentences_dev,
…
-
用你的数据集thucnews跑多分类是OK的,用自己的数据集一直出现这个错误,请问数据集需要怎么处理吗?
Traceback (most recent call last):
File "run_fastbert.py", line 652, in
main()
File "run_fastbert.py", line 589, in main
result =…
-
I have pretrained bert model in pytorch with config and vocab file. I want to use it for multilabel classification task. My question is how to use it?
adiv5 updated
4 years ago
-
请问安装了fastbert,改如何进行Batch预测?
-
Hi, it looks like this cloud does not work now https://fastbert-model-file-1257235592.cos.ap-beijing.myqcloud.com/
-
看代码,好像没有固定呢?
https://github.com/BitVoyage/FastBERT 这个实现里面是固定的。
-
First of all, thanks for your kind offer.
Why did you set segment_embedding's first dimension to 3 ??
This is on path [FastBERT/uer/layers/embeddings.py] (line 18)
Is this part flexible depen…
-
https://github.com/autoliuweijie/FastBERT/blob/5f9e98bc87b577487771f9dffceb386b5c0107d3/run_fastbert.py#L132
我觉得推理性能慢不是因为nozero。
看代码实现,实际上相当于每过一层transformer encoder,就在当前这个batch剔除掉过于简单的样本 ,也就是batchsi…
-
### Context
I followed a blog post that described how to glue FastBert and AWS Sagemaker. I may be missing something trivial, but from what I see the `container/bert/predictor.py` file does not expos…
-
### TL;DR
I followed the blog post written by @kaushaltrivedi that described how to glue FastBert and AWS Sagemaker. After configuring AWS Sagemaker endpoint with a GPU-backed instance via the AWS Sa…