Daniel Duckworth

Results 17 comments of Daniel Duckworth

Excellent, I'll have a play.

I'm getting an error with the last cell --------------------------------------------------------------------------- TypeError Traceback (most recent call last) in 11 for epoch in range(1, EPOCHS + 1): 12 ---> 13 train() 14 val_loss...

Thanks. I had to reduce the batch size to 1 on a home GPU, but it looks like it's working. I haven't added the distractors yet. I'll just train the...

Hi Adam, I've run the training process and have the 'qg_pretrained_t5_model_trained.pth' model file. I modified questiongenerator.py to point to a local folder for the model but it needs a but...

Never mind, I found model.save_pretrained() and tokenizer.save_pretrained()

Some of the generated questions are in German.. What did I do wrong?

It's definitely all English. But maybe there are some unicode errors? The csv is utf-8 and imported with pandas with latin1 encoding.

Are you using the dataset with this repository or a different dataset?

I would like this also as I have been working with a dataset with hierarchical classes. In fact, I encountered this very issue when trying to define the dataset with...