Customizing Large Language Models | by Thomas Reid | Mar, 2024

Customize, run and save LLMs using OLLAMA and the Modelfile

In this article, I’ll show you how to use the Modelfile in Ollama to change how an existing LLM (Llama2) behaves when interacting with it. I’ll also show you how to save your newly customized model to your personal namespace on the Ollama server.

I know it can get a bit confusing with all the different ”llamas” flying around. Just remember, Ollama is the company that enables you to download and locally run many different LLMs. Whereas, Llama2 is a particular LLM created by Meta the owner of Facebook. Apart from this relationship, they are not connected in any other way.

If you’ve never heard of Ollama before I recommend that you check out my article below where I go into depth on what Ollama is and how to install it on your system.

What is a modelfile?

In Ollama, a modelfile refers to a configuration file that defines the blueprint to create and share models with Ollama.

Source link


gaitQ and machineMD secure million dollar research grant to monitor Parkinson’s development in UK and Switzerland

Oxford-based medical technology start-up gaitQ and Swiss medical device company machineMD have announced the joint award of a million dollar research grant from Innovate UK and Innosuisse to enable the collection and analysis of critical movement data from people with Parkinson’s (PwP). The grant will fund an 18-month research project that will record movement data […]

Read More

Take-Two plans to lay off 5 percent of its employees by the end of 2024

Take-Two Interactive plans to lay off 5 percent of its workforce, or about 600 employees, by the end of the year, as reported in an SEC filing Tuesday. The studio is also canceling several in-development projects. These moves are expected to cost $160 million to $200 million to implement, and should result in $165 million […]

Read More

10 tips to avoid planting AI timebombs in your organization

At the recent HIMSS Global Health Conference & Exhibition in Orlando, I delivered a talk focused on protecting against some of the pitfalls of artificial intelligence in healthcare. The objective was to encourage healthcare professionals to think deeply about the realities of AI transformation, while providing them with real-world examples of how to proceed safely […]

Read More