QARAC / scripts.py

Commit History

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

More work on models
f16a715

PeteBleackley commited on

GlobalAttentionPoolingHead layer
8f1745b

PeteBleackley commited on

Datasets documentation
58e8b0b

PeteBleackley commited on

Code for building and training base modkels.
83d5adb

PeteBleackley commited on