-
Fine tuning a pretrained model from Hugging Face Transformers with flax
Read more →Pre-trained models are great. They’re trained on a lot of data us normies probably won’t be able to compile by ourselves and they also require a lot of compute to train from scratch. Ever since BERT was released, the NLP community has been using pre-trained models to fine-tune on their own datasets. This is a great way to leverage the power of these models without having to train them from scratch.
-
Model Checkpointing using Orbax
Read more →So say you’ve trained a model using flax, it trained fine, has a nice learning curve (train vs validation) and now you want to save it. Or, you want to save checkpoints of the model during specific stages of the training process and later, use the best checkpoints for inference. Technically, all flax modules are dataclasses and params (part of model state in flax) are what store the model, so what we need to do for checkpointing is to persist the params.
-
Fedora post installation steps
Read more →I use Fedora on my workstation to make my home and lab computers consistent with each other. This is a collection post installation steps I had followed. If you plan to use Fedora sometime in the future and are looking for a guide, you can use this one as a reference.
-
Using Nvidia GPUs in Podman containers in Fedora 37
Read more →Okay why not docker though?
-
Paper Summary : Feng et al. (2018) : Pathologies of Neural Models Make Interpretations Difficult
Read more →Paper Information