<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ikshita Rajput</title>
    <description>The latest articles on DEV Community by Ikshita Rajput (@ikshita).</description>
    <link>https://dev.to/ikshita</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1567868%2F1c0f5c4d-1f60-41d1-bf69-367a747e930b.png</url>
      <title>DEV Community: Ikshita Rajput</title>
      <link>https://dev.to/ikshita</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ikshita"/>
    <language>en</language>
    <item>
      <title>Building for a Friend: A Local LLM Sentiment Analyzer</title>
      <dc:creator>Ikshita Rajput</dc:creator>
      <pubDate>Mon, 05 Oct 2026 05:23:01 +0000</pubDate>
      <link>https://dev.to/ikshita/building-for-a-friend-a-local-llm-sentiment-analyzer-fpb</link>
      <guid>https://dev.to/ikshita/building-for-a-friend-a-local-llm-sentiment-analyzer-fpb</guid>
      <description>&lt;p&gt;&lt;strong&gt;What I Built&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I built a local LLM sentiment analyzer for a friend who needed a simple way to go through a large amount of feedback without having to manually read and categorize everything.&lt;/p&gt;

&lt;p&gt;The idea was pretty straightforward: upload a CSV containing text such as customer reviews, select the column containing the text, and let the application analyze it for sentiment.&lt;/p&gt;

&lt;p&gt;The part I wanted to focus on was keeping the data local. Instead of sending potentially private reviews or feedback to an external AI API, the analysis runs on the user's own machine.&lt;/p&gt;

&lt;p&gt;The basic flow is:&lt;/p&gt;

&lt;p&gt;Upload CSV → Select text column → Run analysis → View results → Filter/export results&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The complete project is available on GitHub:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ikshita22/local-llm-sentiment-analyzer1" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How I Built It&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The application is built with Python and Streamlit.&lt;/p&gt;

&lt;p&gt;For the AI part, I used Ollama to run an open-weight Llama 3.2 model locally. The application uses Scikit-LLM and scikit-ollama to connect the analysis pipeline to the local Ollama server.&lt;/p&gt;

&lt;p&gt;The basic architecture is:&lt;/p&gt;

&lt;p&gt;CSV&lt;br&gt;
 ↓&lt;br&gt;
Streamlit&lt;br&gt;
 ↓&lt;br&gt;
Scikit-LLM&lt;br&gt;
 ↓&lt;br&gt;
scikit-ollama&lt;br&gt;
 ↓&lt;br&gt;
Ollama&lt;br&gt;
 ↓&lt;br&gt;
Llama 3.2&lt;br&gt;
 ↓&lt;br&gt;
Sentiment / Classification Results&lt;/p&gt;

&lt;p&gt;The default model is llama3.2:3b, and the application also supports the smaller llama3.2:1b model.&lt;/p&gt;

&lt;p&gt;Besides sentiment analysis, I added things that make the tool more useful in practice, such as custom classification labels, optional explanations, filtering, data-quality checks, analysis history using SQLite, and exporting the results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Does Open Innovation Matter?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This was probably the most important reason I wanted to build this using a local model.&lt;/p&gt;

&lt;p&gt;When dealing with someone's reviews, feedback, or other text data, sending everything to a third-party AI API isn't always ideal. With Ollama, the model can run locally, so the data doesn't need to leave the user's computer just to get an AI-generated result.&lt;/p&gt;

&lt;p&gt;It also means there isn't an API bill for every analysis and the application doesn't depend on a single closed AI provider.&lt;/p&gt;

&lt;p&gt;Another thing I liked about using an open approach is that the model isn't locked into the application. I can change the model that Ollama runs without having to redesign the whole project.&lt;/p&gt;

&lt;p&gt;For this project, open AI wasn't just something I added to satisfy the challenge. Running the model locally is what makes the privacy aspect of the project possible in the first place.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
