CoolFace
Modelpublic

OttoCapi/Potodoo-V1-135M-Instruct

sourceHugging Facecc-by-nc-4.0updated 2mo agoView on Hugging Face
1likes15downloads
Model Card

Potodoo-V1-135M-Instruct

A tiny, efficient, and quirky instruction-following AI fine-tuned by Otto. Potodoo is built on the SmolLM-135M base model and optimized for edge devices, laptops, and mobile phones.

๐Ÿ“‹ Model Details

  • โ€”Model Name: Potodoo-V1-135M-Instruct
  • โ€”Base Model: HuggingFaceTB/SmolLM-135M-Instruct
  • โ€”Parameters: 135 Million
  • โ€”Architecture: Llama-based (SmolLM)
  • โ€”Training Method: LoRA (Low-Rank Adaptation) + Full Merge
  • โ€”Training Epochs: 10 epochs
  • โ€”Final Training Loss: ~1.13
  • โ€”Quantization: F16 (269MB) / Q4KM (~100MB)
  • โ€”Context Length: 2048 tokens
  • โ€”License: CC BY-NC 4.0 (Non-Commercial)

๐ŸŽฏ Use Cases

Potodoo is designed for:

  • โ€”โœ… Local chat applications on low-end hardware
  • โ€”โœ… Educational projects and research
  • โ€”โœ… Mobile and embedded AI assistants
  • โ€”โœ… Coding help and explanations
  • โ€”โœ… Fun conversations with a quirky personality
  • โ€”โœ… Capybara facts (obviously ๐Ÿฆซ)

Hardware Requirements

Potodoo runs on minimal hardware:

  • โ€”RAM: 2GB+ (F16) or 512MB+ (Q4KM)
  • โ€”CPU: Any modern x86_64 or ARM processor
  • โ€”GPU: Not required (but supported via Metal/CUDA)
  • โ€”Storage: ~100-300MB

Will probrably run on:

  • โ€”iPhone X and newer
  • โ€”Android phones with 8-core CPUs
  • โ€”Laptops with 8GB RAM (Windows, macOS, Linux)
  • โ€”Raspberry Pi 4/5

๐Ÿš€ How to Use

Using Ollama

bash
ollama run potodoo-135m-instruct

Using LM Studio

Download the GGUF file Load it in LM Studio Start chatting!

Using llama.cpp

python
./main -m potodoo_v1_f16.gguf -p "Hello, Potodoo!" -n 128

๐Ÿ“Š Training Details

Dataset

Custom curated dataset with 150 examples Focus on corporate-quirky conversational tone ChatML format with <|imstart|> and <|imend|> tokens

Training Configuration

Framework: Unsloth + Hugging Face Transformers LoRA Rank: 16 LoRA Alpha: 16 Target Modules: qproj, kproj, vproj, oproj, gateproj, upproj, down_proj Batch Size: 4 (with gradient accumulation) Learning Rate: 2e-4 with cosine scheduler Warmup Steps: 10 Optimizer: AdamW 8-bit Precision: FP16 (mixed precision training)

Performance

Training Loss: Started at ~2.5, ended at ~1.13 Training Time: ~10-12 minutes on NVIDIA T4 GPU Convergence: Excellent for model size

๐Ÿ”ง Model Architecture

SmolLM-135M Architecture:
โ”œโ”€โ”€ Hidden Size: 576
โ”œโ”€โ”€ Intermediate Size: 1536
โ”œโ”€โ”€ Num Attention Heads: 8
โ”œโ”€โ”€ Num KV Heads: 4 (GQA)
โ”œโ”€โ”€ Num Hidden Layers: 30
โ”œโ”€โ”€ Vocab Size: 49,152
โ”œโ”€โ”€ RoPE Theta: 10,000
โ””โ”€โ”€ RMS Norm Epsilon: 1e-06

๐Ÿ“ˆ Limitations

  • โ€”Size: At 135M parameters, this is a very small model. It may struggle with:
  • โ€”Complex reasoning tasks
  • โ€”Long-context understanding
  • โ€”Highly technical or specialized knowledge
  • โ€”Multi-step problem solving
  • โ€”Language: Primarily trained on English data
  • โ€”Knowledge Cutoff: Inherits base model's knowledge (2024)
  • โ€”Bias: May exhibit biases present in training data

โš–๏ธ License

This model is released under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License. You are free to:

  • โ€”โœ… Share โ€” copy and redistribute the material in any medium or format
  • โ€”โœ… Adapt โ€” remix, transform, and build upon the material
  • โ€”โœ… Use for personal, educational, and research purposes

Under the following terms:

  • โ€”๐Ÿ“ Attribution โ€” You must give appropriate credit to the original creator
  • โ€”๐Ÿšซ NonCommercial โ€” You may not use the material for commercial purposes

Commercial use is strictly prohibited. This includes but is not limited to:

  • โ€”Selling access to this model
  • โ€”Using it in commercial products or services
  • โ€”Training other models on this fine-tuned version
  • โ€”Any form of monetization

For commercial licensing inquiries, please contact the author.

๐Ÿ‘จโ€๐Ÿ’ป Author

Otto11X Fine-tuned as part of a school project on edge AI and model optimization

๐Ÿ™ Acknowledgments

  • โ€”Base Model: HuggingFaceTB/SmolLM-135M-Instruct by Hugging Face
  • โ€”Training Framework: Unsloth for fast fine-tuning
  • โ€”Conversion: llama.cpp for GGUF conversion

Random Fun Facts

  • โ€”Potodoo was trained in less than 15 minutes
  • โ€”The model is smaller than most smartphone photos
  • โ€”It can run on a phone from 2017
  • โ€”The name "Potodoo" comes from potato, as it can run in a potato! Get it? Hahaha... It was bullsh-t wasnt it?
  • โ€”Training involved exactly 150 examples of corporate-quirky conversation
  • โ€”The final loss of 1.13 is considered excellent for a 135M parameter model

Built with โค๏ธ and a lot of debugging in Google Colab