Commit History

Forget num_classes
6cf4c1f

jesse-tong commited on

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

Update requirements
6372b0e

jesse-tong commited on

First commit
f292cd1

jesse-tong commited on

Temporary fix
8a6c918

jesse-tong commited on

Temporary fix
4f44808

jesse-tong commited on

Allow LSTM loading on CPU
83f2f41

jesse-tong commited on

Remove debugging code
d207639

jesse-tong commited on

Use BERT vocab size
831ff7d

jesse-tong commited on

Simplify distilling and inference
a4d7cd8

jesse-tong commited on

Simplify distilling
b2c1cd1

jesse-tong commited on

Fix LSTM tokenizer mismatch
dc5d564

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 inference_lstm
be59bb2

jesse-tong commited on

Update LSTM gradient clipping
a770449

jesse-tong commited on

Add layer normalization to LSTM model
251e9cd

jesse-tong commited on

Remove debug
0ea4a8b

jesse-tong commited on

Fix a bug
536c075

jesse-tong commited on

Use the original training tokenizer instead of building tokenizer from test data
cd21bfe

jesse-tong commited on

Use the original training tokenizer instead of creating tokenizer from scratch
cd0bb98

jesse-tong commited on

Debug tokenizer import
92d047e

jesse-tong commited on

Debug tokenizer import
bb28308

jesse-tong commited on

Debug tokenizer import
4867565

jesse-tong commited on

Update tokenizer class
0fe793e

jesse-tong commited on

Idk what error
8bac2cf

jesse-tong commited on

Edit mismatching vocab size leading for mismatching embedding size for training and inference
5ca8ea3

jesse-tong commited on

Edit error parameters
e416d63

jesse-tong commited on

Save vocab size with model_state_dict
ca56e1c

jesse-tong commited on

Edit default mismatch in LSTM training and inference
01b0ca9

jesse-tong commited on

Edit some saving and loading details
626f169

jesse-tong commited on

Edit error parameters
9c9d202

jesse-tong commited on

Edit error parameters in inference_lstm.py
ff5ce80

jesse-tong commited on

Edit error parameters in inference_lstm.py
70b0d1a

jesse-tong commited on

Edit error parameters in inference_lstm.py
b8df0fa

jesse-tong commited on