-
whenever I am trying to run the cell its showing this error
ImportError Traceback (most recent call last)
Cell In [5], line 6
4 from torch.distributions impo…
ghost updated
9 months ago
-
## ❓ Questions and Help
Referring to the recommendation of trying script API for Huggingface (HF) models in [issue](https://github.com/pytorch/pytorch/issues/50971), here this has been tried and faci…
-
The code: it first loads Roberta base, prepares input and convert model to onnx and the load and run it,
import torch
import time
from transformers import RobertaTokenizerFast,Roberta…
Oxi84 updated
1 month ago
-
Tested with second sample of ChatGPT and the detection result is not same with server.
The test result of https://openai-openai-detector.hf.space/
![image](https://user-images.githubusercontent.co…
-
Hi @madlag @julien-c @co42 @srush @Narsil
I am trying to use `nn_pruning` for Pruning different transformer models.
Code:
```
model_checkpoint = "t5-small"
t5small_model = AutoModelForSeq2…
-
Hi
I'm trying to convert RobertaForMaskedLM into coreml model, but I encountered a runtime error : PyTorch convert function for op 'dictconstruct' not implemented. My code shows as below:
```
f…
-
Hi, I am using your library with Roberta for sequence classification, the problem raises when I use the lib with new transformers(3.4.0).
``` python
from transformers import AutoModelForSequenceC…
-
## 🐛 Bug
The [`register_classification_head` function](https://github.com/pytorch/fairseq/blob/a87cafda718c7706e6f1694f0d39fc589ed2b264/fairseq/models/roberta/hub_interface.py#L96) uses a parameter…
-
Hi, I just finished training a Roberta model on IMDb like this
```
python train.py \
--train imdb \
--eval imdb \
--model-type roberta \
--model-save-path ./example \
--num-…
-
This has been a long time request.
Recently resurfaced with #1534 .
#1342 is also an example on how to perform classification but HF library is needed.
Technically this is not very difficult sinc…