Domagoj Alagić
Domagoj Alagić
Possibly also elsewhere, but when discussing the proper format of labels for BERT classification, the documentation states the following: https://github.com/huggingface/pytorch-transformers/blob/44dd941efb602433b7edc29612cbdd0a03bf14dc/pytorch_transformers/modeling_bert.py#L935 However, shouldn't it be `[0, ..., config.num_labels - 1]`? After...
## ❓ Questions & Help I am having trouble understanding how to setup BERT when doing a classification task like STS, for example, inputting two sentences and getting a classification...
Quite a few times I've encountered the situation where, instead of ``` Adam(model.parameters()), lr=1e-3) ``` I need to use ``` Adam(filter(lambda p: p.requires_grad, model.parameters()), lr=1e-3) ``` to avoid the exception...
While you can get an exception when passing integers where floats are required, I believe there are no checks that actually make sure that you are using the expected **values**...
I've been running code that loads pre-trained FastText word embeddings in the Jupyter notebook (JupyterLab, to be precise) without any major issues for days. However, after I decided to extract...