LoRa in AI image generators

This stands for Low Rank adaptation. In AI terms, this is a small add-on to the model that makes it do specific things. It is usually used in the context of stable diffusion. A large model takes very long to train with significant resources. However, sometimes, you need specific details – for example you could have a model that needs to do better image generation of the hands, in which case you train a small subset with hands and that is the LoRa that will be used specifically for hands. Remember, LoRa does not do the full model but just freezes weights and parameters. Then it adds matrices which are applied to new inputs to get specific results in the context that is needed.

LoRa is used sometimes to create images in a specific style.


In the picture above that image was generated with an image generator in the drawing style. Whereas in the fantasy or other styles it looks very different with the same prompt.

Similar Posts

  • Observability

    Observability is important for AI and AI tools. It is the ability to monitor them for token usage, response quality and model drift. Typically, an AI system is monitored through logs, traces and metrics but an AI system on AI agent may need other metrics. Troubleshooting a complex AI system that produces its output probabilistically…

  • |

    AI for drug discovery

    There are many companies that promise AI for drug discovery such as ChatGPT from OpenAI, Anthropic’s AI suite and Perplexity and there are more companies coming up too. One specific company that is unusual is that it seems to be promising much more deeper understanding of the drug discovery pathways then the others. It can…

  • |

    Engaging website

    There are many ways that websites show their landing pages. Usually there are a lot of graphics. The Harvard innovation lab does it wonderfully with their landing page for one of their challenges showing particles which are responsive to mouse movement. Very dynamic and very intriguing! https://innovationlabs.harvard.edu/presidents-innovation-challenge/finalists The developer’s console tells you a bit about…

  • | |

    Functional prediction of microbial sequences

    Even with E.coli and M.tuberculosis we only know ½ of them. Can you use ML model to define function: as natural language, or molecular interaction or chemical reaction. Function as molecular interaction: protein – protein interaction. Genomics: Learn association between genes (just like words). It is called gLM2. A multi-modal single residue resolution gLM. GLM2…

  • AI Automations

    The AI automations have only increased. There is one interesting one that has been receiving publicity. Check it out: https://knowledgework.ai It takes notes while the person is working and becomes the second brain. Privacy and access may be of concern but capability is available with AI tools.