Exploring Hollama: A Minimalist Web Interface for Ollama

I’ve been continuing the large language model learning experience with my introduction to Hollama. Until now my experience with locally hosted Ollama had been querying models with snippets of Python code, using it in REPL mode and customizing it with text model files. Last week that changed when I listened to a talk about using Hollama.

Hollama is a minimal web user interface for talking to Ollama servers. Like Ollama itself Hollama is open source with an MIT license. Developed initially by Fernando Maclen who is a Miami based designer and software developer. Hollama has nine contributors currently working on the project. It is written in TypeScript and Svelte. The project has documentation on how you can contribute too.

Hollama features large prompt fields, Markdown rendering with syntax highlighting, code editor features, customizable system prompts, multi-language interface along with light and dark themes. You can check out the live demo or download releases for your operating system. You can also self-host with Docker. I decided to download it on the M2 MacBook Air and my Linux computer.

On Linux you download the tar.gz file to your computer and extract it. This opened a directory bearing the name of the compressed file, “Hollama 0.17.4-linux-x64”. I chose to rename the directory Hollama for ease of use. I changed my directory to Hollama and then executed the program.

$ ./holllama 

The program quickly launches and I was presented with the user interface which is intuitive to an extent.

Screen picture by Don Watkins CC by SA 4.0

At the bottom of the main menu and not visible in this picture is the toggle for light and dark mode. On the left of the main menu there are four choices. First is ‘Session’ where you will enter your query for the model. The second selection is “Knowledge” where you can develop your model file. Third selection is ‘Settings’ where you will select the model(s) you will use. There is a checkoff for automatic updates. There is a link to browse all the current Ollama models. The final menu selection is ‘Motd’ or message of the day where updates of the project and other news are posted.

Model creation and customization is made much easier using Hollama. In Hollama I complete this model creation in the ‘Knowledge’ tab of the menu. Here I have created a simple ‘Coding’ model as a Python expert.

Screen picture by Don Watkins CC by SA 4.0

In ‘Settings’ I specify which model I am going to use. I can download additional models and/or select from the models I already have installed on my computer. Here I have set the model to ‘gemma2:latest’. I have the settings so that my software can check for updates. I also can choose which language the model will use. I have a choice of English, Spanish, Turkish, and Japanese

Screen picture by Don Waktins CC by SA 4.0

Now that I have selected the ‘Knowledge’ I am going to use and the model I will use I am ready to use the ‘Session’ section of the menu and create a new session. I selected ‘New Session’ at the top and all my othe parameters are set correctly.

Screen pictire by Don Watkins CC by SA 4.0

At the bottom right of the ‘Session’ menu is a box for me to enter the prompt I am going to use.

Screen picture by Don Watkins CC by SA 4.0

You can see the output below that is easily accessible.

Screen picture by Don Watkins CC by SA 4.0

The output is separated into a code block and a Markdown block so that it is easy to copy the code into a code editor and the Markdown into an editor. Hollama has made working with Ollama much easier for me. Once again demonstrating the versatility and power of open source.

Is this Science because I’m failing this in school

This year I got a great opportunity to work with a unique group of students in an after school program at St. Bonaventure University. I am fortunate to work with Dr. Anne Foerst, a computer science professor at St. Bonaventure. Together we applied for and received a grant from National Grid to teach STEM to a group of middle school girls who applied to our program from area school districts. Inspired by my mother’s struggles to break the glass ceiling and reach out to girls who are an underrepresented group in science, technology, engineering and mathematics.

My Mom graduated from D’Youville College in Buffalo magna cum laude in 1947 majoring in science and mathematics. She returned to her native New York City and applied for teaching jobs but was told she couldn’t get one because she was a woman. Then Mom went on to get her Masters in Mathematics and Science at Fordham University. Mom worked her way through Fordham as a graduate assistant. She eventually returned to Buffalo and got a teaching job at D’Youville College. I told Mom recently that she was part of my inspiration for getting involved with our efforts to promote STEM skills to these girls at St. Bonaventure.

I spent the summer learning how to work with and program Lego Mindstorms EV3 robots. Our grant enabled us to purchase seven complete kits and to invite fourteen girls to the St. Bonaventure campus for a two-hour class that meets once every three weeks.  We’ve been meeting since late August with these girls and they are making great progress. I’ve seen them blossom as learners and leaders and they come to our sessions with a great enthusiasm for learning. At this week’s class we taught the girls how to program the color sensor. One the girls solved a problem I hadn’t assigned but by doing so showed great insight and application. She was clearly operating at the higher levels of Blooms Taxonomy. I asked her about her thinking and application and how she arrived at this unique solution to the problem. She replied, “I figured it out last time by just tinkering.” Then she said, “Is this science, because i’m failing science in school.” Dr. Foerst said, “This isn’t science, this is FUN.”  It was a poignant moment and it really warmed my heart because this girl now knows she is a scientist and a successful one too.