Results 5 comments of William C

> please attach the encode_plus function too ``` class GPReviewDataset(Dataset): # sets the parameters of the map-style-dataset def __init__(self, reviews, targets, tokenizer, max_len): self.reviews = reviews self.targets = targets self.tokenizer...

> Add parametr `return_dict=False` into constructor `SentimentClassifier` it`s new changes in `transformers` > > `self.bert = BertModel.from_pretrained(PRE_TRAINED_MODEL_NAME, return_dict=False)` I have that in my `SentimentClassifier` function already. ``` class SentimentClassifier(nn.Module): def...

I have an executable that is meant to be distributed to people with no python installed or any of the packages. I have imported in my code > from pdf2image.exceptions...

> You would have to distribute the `libpoppler` dll with the `pdftoppm` executable packaged with your application. > > In your code you can specify the path with something like...

So what I've done is: -Downloaded the latest poppler binary -Put that entire folder in the folder with my python executable file -Added poppler_path=```.\poppler-0.68.0\bin``` as one of the ```convert_from_path``` arguments...