<?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: Celia Kaligirwa</title>
    <description>The latest articles on DEV Community by Celia Kaligirwa (@celia__k).</description>
    <link>https://dev.to/celia__k</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%2F4181709%2F75d203d5-1022-459c-b797-144003015e98.jpg</url>
      <title>DEV Community: Celia Kaligirwa</title>
      <link>https://dev.to/celia__k</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/celia__k"/>
    <language>en</language>
    <item>
      <title>Large Language Model- Models worth considering to improve our project.</title>
      <dc:creator>Celia Kaligirwa</dc:creator>
      <pubDate>Mon, 26 Oct 2026 14:16:23 +0000</pubDate>
      <link>https://dev.to/celia__k/large-language-model-models-worth-considering-to-improve-our-project-55e7</link>
      <guid>https://dev.to/celia__k/large-language-model-models-worth-considering-to-improve-our-project-55e7</guid>
      <description>&lt;p&gt;The previous TinyGPT that my team worked on was a small character or word-level Transformer trained from scratch on a small text collection dataset. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where TinyGPT hit its limits&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A TinyGPT trained from scratch on a small dataset can learn the shape of language, but it hits predictable walls:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It has seen very little text, so it repeats itself and loses the thread after a few words.&lt;/li&gt;
&lt;li&gt;Its vocabulary is small or character-based, so rare words and spelling get messy.&lt;/li&gt;
&lt;li&gt;Its context window is short, so it forgets the start of a sentence by the end.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Models to check if they are suitable for improving our project;&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;LSTM / GRU (the classic baseline). These recurrent networks were the standard for next-word prediction before Transformers. They are small, fast to train, and make a good baseline, but they struggle with long-range dependencies. They’d be a step sideways rather than forward.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;DistilGPT-2 / GPT-2 Small. These are the same architecture as TinyGPT, but pretrained on a huge amount of web text. DistilGPT-2 is a compressed version of GPT-2 (about 82M parameters) that runs on a laptop or free Colab GPU. Because it has already learned grammar, facts and style, fine-tuning on my own data gives a big jump in quality.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Modern small language models (SmolLM, Qwen small variants, Phi-style models). Newer models in the roughly 100M to 3B range are trained on carefully curated data and are far stronger than GPT-2 at the same size. The trade-off is that they need more memory, and I’d need to check which versions are currently available and what their licenses allow.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mamba / RWKV (state-space and linear-attention models). These handle long sequences more cheaply than standard attention. They are exciting and educational, but the tooling is less mature and less beginner-friendly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Retrieval-augmented approaches. Here the model looks up relevant text before predicting. That helps with factual accuracy, but it’s more than a next-word predictor needs.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;My Choice: DistilGPT2&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After comparing these models, I would choose DistilGPT2 to improve my TinyGPT project.&lt;/p&gt;

&lt;p&gt;My main reason is that both models are designed for autoregressive text generation, but DistilGPT2 already benefits from pretraining on a large text dataset. My original TinyGPT was built to predict the next word using a small Transformer architecture, with token embeddings, positional information, attention layers, and residual connections. Although this approach helped me understand how language models work internally, a model trained from scratch may not learn enough language patterns from a limited dataset.&lt;/p&gt;

&lt;p&gt;DistilGPT2 would give me an opportunity to benefit from previously learned language patterns while keeping the experiment more manageable than using a much larger model. I could compare its predictions with those of my original TinyGPT and evaluate both models using the same test sentences.&lt;/p&gt;

&lt;p&gt;Although DistilGPT2 would be the best option to use to improve our project there are also some models that can also be worth trying. They include; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; &lt;em&gt;Qwen2.5-0.5B&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This model has approximately 500 million parameters and supports a much larger context window than your original TinyGPT configuration. &lt;br&gt;
Why choose it: It is an interesting option if you want to explore a more capable small language model, particularly for longer text prompts and multilingual experiments.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;_ SmolLM2_&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;SmolLM2 comes in different sizes, including 135M and 360M parameters. It is designed for relatively lightweight language-model applications and offers pretrained text-generation capabilities. &lt;br&gt;
Why choose it: You can compare a pretrained model against your smaller, custom-built TinyGPT without needing to train a large model from scratch.&lt;/p&gt;

</description>
      <category>deeplearning</category>
      <category>llm</category>
      <category>machinelearning</category>
      <category>nlp</category>
    </item>
    <item>
      <title>Computer vision</title>
      <dc:creator>Celia Kaligirwa</dc:creator>
      <pubDate>Tue, 13 Oct 2026 14:12:08 +0000</pubDate>
      <link>https://dev.to/celia__k/computer-vision-538g</link>
      <guid>https://dev.to/celia__k/computer-vision-538g</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;INTRODUCTION&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Humans use their eyes and brain to recognize objects and notice details whereby computers do not see in the same way. They receive images as numbers and use mathematical operations and trained models to identify objects and make predictions.&lt;/p&gt;

&lt;p&gt;Computer vision is simply a way computers use to process and  understand visual information.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;IMAGE PROCESSING&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is a way the image is changed, improved, analyzed by a computer to get useful information from it.&lt;br&gt;
It comprises processes like;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Sharpening : making image more clear and identifying details&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Grayscale : removing colors from an image and replaing it with shades of gray, black and white.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Blurring : making an image smoother by removing sharp details&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Edge detection : help a computer to analyse the boundaries and shape of an image&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm8a0sk75vkqhlyulak7s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm8a0sk75vkqhlyulak7s.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;COMPUTER VISION TASKS&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Image classification : identifies what an image contains or what is in an image&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Object detection : identifies an object in an image and shows where they are located using boxes and confidence&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Image segmentation : identifies the number of pixels of each object &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Femd9mxlee5g357vq041v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Femd9mxlee5g357vq041v.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;COMPUTER VISION MODELS FAILURES AND IMPERFECTION&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Things such as poor lighting, blurry images, and unusual angles can affect their results. This is because the results depend on how much the model was trained. So the model needs to be tested with a variety of  images so that it gets familiar. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fklg8lhwy7e6by2kmf3be.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fklg8lhwy7e6by2kmf3be.png" alt=" " width="800" height="793"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This image shows how some details where not mentioned maybe because the model was not trained enough to know about those predictions. Some of the predictions are right others are wrong and some of them are not even in the image. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffy2iv9ni6aj98mdhdex9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffy2iv9ni6aj98mdhdex9.png" alt=" " width="798" height="232"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This image shows different predictions of the same image just because it was it was slightly changed and the model was not trained enough to predict same output. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CHALLENGES I FACED WITH THIS UNIT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Some challenges i faced where that the tasks are all relating to the image yet they perform differently. One notices an object another where its located and the other one the number of pixels belonging to it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;COMPUTER VISION APPLICATIONS IN REAL LIFE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It can help identify objects in security systems, support medical image analysis, and allow self-driving cars to recognize their surroundings without causing accidents. Also, the way our phones recognise our faces with the FaceID feature. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CONCLUSION&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This unit helped me understand more of how computers see and make sense of what they see by analysing and making predictions from what they are seeing yet they've not seen it before. It's just a matter of training the model.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>beginners</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
