QARAC / qarac /models /QaracEncoderModel.py

Commit History

Ensure tokenizer is on GPU
ca642d2

PeteBleackley commited on

Diagnostics
1a9032d

PeteBleackley commited on

Unpack BatchEncoding
b5ce6f8

PeteBleackley commited on

Missing 'from_pretrained'
215b416

PeteBleackley commited on

config didn't need to be a property
0abed2a

PeteBleackley commited on

There's a simpler way of doing this, I hope
858f75e

PeteBleackley commited on

Might be simpler to inherit from RobertaModel rather than PreTrainedModel
f0ad7f1

PeteBleackley commited on

Removed a base model that was causing a loop in model initialisation
87535ff

PeteBleackley commited on

Further changes for compatibility with HuggingFace Pytorch implementation
5b7a8ed

PeteBleackley commited on

PyTorch implementation of HugggingFace PreTrainedModel class does not allow direct setting of base_model. Rejig constructors accordingly
519dfd1

PeteBleackley commited on

Converted QaracEncoderModel to use PyTorch
37a581e

PeteBleackley commited on

Making sure RoBERTa layers have all required arguments
b2593fa

PeteBleackley commited on

Fixed indentation error
8b7b5e9

PeteBleackley commited on

Use base model config in superclass __init__
b762c1c

PeteBleackley commited on

Fix typos
28f2005

PeteBleackley commited on

More work on models
f16a715

PeteBleackley commited on

Encoder, Decoder and Trainer models (assuming RoBERTa base models)
f9c0522

PeteBleackley commited on