QARAC / scripts.py

Commit History

Ensure tokenizer is on GPU
ca642d2

PeteBleackley commited on

Diagnostics
1a9032d

PeteBleackley commited on

Diagnostics
e973c2b

PeteBleackley commited on

Moved device assignement to beginning of function
5f107ac

PeteBleackley commited on

Corrected typo
269f149

PeteBleackley commited on

Ensure consistency of device assignment when training
f8debfa

PeteBleackley commited on

Ensure consistency of device assignment when training
f5599c3

PeteBleackley commited on

Clear cuda cache
776f717

PeteBleackley commited on

Google Colab imports
cfddf8c

PeteBleackley commited on

Training on Colab. Half a crawler
432a965

PeteBleackley commited on

Download training data from S3
679a7b2

PeteBleackley commited on

Removed unnecessary import
1aab673

PeteBleackley commited on

Removed train_base_models task. Not needed with RoBERTa models
8454a19

PeteBleackley commited on

Configured gradio app for training
6eb15d0

PeteBleackley commited on

Created HuggingFace Space
cce945c

PeteBleackley commited on

Removed diagnostic
3340c72

PeteBleackley commited on

Ensure consitency value is 32 bit
452e9a6

PeteBleackley commited on

Removed diagnostics
355ad7d

PeteBleackley commited on

Wrap CrossEntropyLoss in callable that makes it appplicable to sequences
4d8fdac

PeteBleackley commited on

Using torch.nn.CosineSimilarity to simplify code
798488e

PeteBleackley commited on

Use builtin sum rather than torch.sum for a generator
1d1a876

PeteBleackley commited on

Use keepdim option when normalising vectors
738b546

PeteBleackley commited on

Make EPSILON a tensor
cf5f935

PeteBleackley commited on

torch.maximum, not torch.max
98ad67d

PeteBleackley commited on

Learning rate scheduler
ae82fc7

PeteBleackley commited on

Fixed typo
1d631bc

PeteBleackley commited on

Minor error in setting up tokenizer
fb4c0b0

PeteBleackley commited on

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

PeteBleackley commited on

Modified training scripts to use PyTorch
c8625dc

PeteBleackley commited on

Removed diagnostics
8561f47

PeteBleackley commited on

Use dictionary coprehensions to do padding and return dictionaries instead of default dictionaries
7a61dc8

PeteBleackley commited on

Completed script for testing consistency
dd9c3ed

PeteBleackley commited on

Fixed name of argument
1b76f7d

PeteBleackley commited on

Tensor is logits
888010e

PeteBleackley commited on

Incoplete testing script for consistency. Fixed typo
14f1a57

PeteBleackley commited on

Testing script for reasoning
6d6bb62

PeteBleackley commited on

Testing scripts
65ae142

PeteBleackley commited on

Attention masks, generation, and testing script
6ebe943

PeteBleackley commited on

Invoke class, not module
9946f4d

PeteBleackley commited on

Superclass __init__
8626c30

PeteBleackley commited on

Fix typo
e219af7

PeteBleackley commited on

Authentication
75a64b9

PeteBleackley commited on

Training script
33285bd

PeteBleackley commited on

Training script
63b2c6a

PeteBleackley commited on

Bug fixes
4f504fa

PeteBleackley commited on

Bug fixes
47b39f3

PeteBleackley commited on

Bug fixes
ab0523b

PeteBleackley commited on

Script for preparing training datasets
d63afc6

PeteBleackley commited on

Coreference Resolution for WikiQA dataset
e149b0f

PeteBleackley commited on

Data preparation for WikiQA
c106121

PeteBleackley commited on