Based on https://github.com/huggingface/nanowhale but with heavily compressed attention and bitlinear layers:
Source: https://github.com/kentaromiura/nanowhale/tree/bitlinear Train notebook: https://www.kaggle.com/code/kentaromiura01/nanowhale-bitlinear-tinystory