-
import paddlehub as hub
from paddlehub.dataset.base_nlp_dataset import TextMatchingDataset
import pandas as pd
class COVID19Competition(TextMatchingDataset):
def __init__(self, tokenizer=Non…
-
say i want to use/load a pre-trained model from hugging face,
is something like this possible:
`model = uf.BERTClassifier(from_pretrained='dccuchile/bert-base-spanish-wwm-cased')`
thanks in adv…
-
# ❓ Questions & Help
## Details
Hello everyone,
I wanted to use _whole-word-masking_ in training LM from scratch. I could not have found how to apply this option using Trainer.
I thought this opti…
uunal updated
3 years ago
-
本目录发布的模型已接入Huggingface-Transformers。在transformers中使用这些模型的话,只支持pytorch吗?是不是不支持tensorflow ,按照官方的例子使用pythorch是可以调用的,但是使用tensorflow就会报错
-
Failed to load pretrained HuggingFace Transformers model from my local machine.
It seems only the hard-code models in the code can be loaded.
~~~
MODEL_NAME = "D:\programming\models\tf_rbtl"
t …
-
如题
-
Looks like the trainer does not like when it gets a `None`, so when we train from scratch, there is a `None` in this `if` and crashes:
https://github.com/huggingface/transformers/blob/a6cf9ca00b74a…
-
how can i find this file? @chujiezheng
![image](https://user-images.githubusercontent.com/5691554/105955451-451df080-60b1-11eb-96cd-5291d7f20107.png)
-
## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-5.9.1-arch1-1-x86_64-with-arch
- Python version: 3.7.3
- PyTorch version (GPU?): 1.7.0 (False)
- Tensorflow version …
-
直接加载会报错
OSError: Model name '/Users/wonbyron/bert/chinese_roberta_wwm_large_ext_pytorch/' was not found in model name list (bert-base-uncased, bert-large-uncased, bert-base-cased, bert-large-cased, b…