Delightful Tensors
Home About
  • Mar 5, 2023

    Fine tuning a pretrained model from Hugging Face Transformers with flax

    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.

    Read more →
  • Mar 1, 2023

    Model Checkpointing using Orbax

    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.

    Read more →
  • Dec 5, 2022

    Fedora post installation steps

    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.

    Read more →
  • Nov 22, 2022

    Using Nvidia GPUs in Podman containers in Fedora 37

    Okay why not docker though?

    Read more →
  • Aug 7, 2021

    Paper Summary : Feng et al. (2018) : Pathologies of Neural Models Make Interpretations Difficult

    Paper Information

    Read more →
« Prev Page 1 of 2 Next »

© 2026 Shawon Ashraf. All rights reserved.