vietnamese_hate_speech_detection / knowledge_distillation.py

Commit History

Change loss function for multi-category because CrossEntropyLoss only accept outputs of (batch, x) and labels with shape of (batch)
cb428cb

jesse-tong commited on

First commit
f292cd1

jesse-tong commited on

Found a critical bug in LSTM inference when distillation using BERT Tokenizer but inference uses custom LSTM tokenizer
77bc910

jesse-tong commited on

Update LSTM gradient clipping
a770449

jesse-tong commited on

Save vocab size with model_state_dict
ca56e1c

jesse-tong commited on

Edit some saving and loading details
626f169

jesse-tong commited on

Add LSTM fine tuning
ae47555

jesse-tong commited on