-
### Feature request
I would like to request that BetterTransformer not be deprecated.
### Motivation
I have come to rely on BetterTransformer significantly for accelerating RoBERTa and BERT models.…
-
I have trained a model using latest `transformers` package `4.37.2` and it saves the model as `model.safetensors`.
I am using `from fast_bert.prediction import BertClassificationPredictor` to load…
-
Hi all,
Thanks for the wonderful work.
I am currently running code_bert_score to evaluate the similarity between generated code and 'correct' code. However, it just takes way too long locally. …
-
我用您的代码进行了模型的训练,成功训练之后打算用predict.py代码进行预测的尝试
结果出现以下两个问题:
①输入文本过长似乎会发生“实体识别结果为空”的提示
②而输入较短的文本会提示访问huggingface的404,似乎我需要在huggingface上上传模型还是什么吗?
2023-01-24 15:21:36.106249: I tensorflow/stream_exe…
uyoin updated
1 month ago
-
Hi,
Thank you for your great work on GoEmotions-pytorch!
I am trying to use your code to generate models using either bert-mini, bert-small or bert-tiny for faster predictions.
I changed the file o…
-
We are trying to use a LongFormer and Bert model for multi-label classification of different documents.
When we use the BERT model (BertForSequenceClassification) with max length 512 (batch size 8…
-
需要转的文本:怎样求解一元二次方程AX²+BX+C=0的根。
```txt
Actual Input Reference Text: 大家好,今天我想和大家分享一个。
Actual Input Target Text: 怎样求解一元二次方程AX²+BX+C=0的根。
Actual Input Target Text (after sentence segmentation): 怎样求解…
-
### 論文へのリンク
[[arXiv:2004.03844] Poor Man's BERT: Smaller and Faster Transformer Models](https://arxiv.org/abs/2004.03844)
### 著者・所属機関
Hassan Sajjad, Fahim Dalvi, Nadir Durrani, Preslav Nakov
…
-
In `lavis/models/blip_models/blip_rel_det.py`
```python
tokenizer = StageBertTokenizer.from_pretrained(
"/public/home/lirj2/projects/LAVIS_GITM/data/bert-base-uncased",
loc…
-
final text_encoder_type: F:\StableDiffusion\xhg_ComfyUI\ComfyUI\ComfyUI\models\bert-base-uncased
!!! Exception during processing !!! expected `,` or `}` at line 30671 column 12
Traceback (most recen…