HUB
Sign inSign up

k33g/tiny-models

By k33g

•Updated almost 2 years ago

🐳 Docker images with 🦙 Ollama and small language models that can be used without GPU

Image
Machine learning & AI
Developer tools
0

3.3K

k33g/tiny-models repository overview

⁠🐳 Lightweight GenAI Docker Images

Welcome to a collection of optimized Docker images for building GenAI applications using small, efficient language models and embedding models! Run powerful AI features without the need for expensive GPU infrastructure.

⁠🎯 Available Models

More to come

⁠🤖 Language Models
  • Qwen 2.5 (0.5B)

    • General purpose LLM + tools
    • Only ~398MB in size
    • Excellent performance/size ratio
  • Qwen 2.5 (1.5B)

    • General purpose LLM + tools
    • Only ~986MB in size
    • Excellent performance/size ratio
  • Qwen 2.5 Coder (0.5B)

    • Specialized for code generation
    • Optimized for programming tasks
    • Supports multiple programming languages
  • DeepSeek R1 (1.5B)

    • First-generation of reasoning models
    • Can do math, code, and reasoning tasks
⁠📊 Embedding Models
  • Snowflake Arctic Embed (33M)
    • Lightweight embedding model
    • Only 33M parameters
    • Perfect for semantic search and document similarity

⁠💫 Key Features

  • 🚀 Ultra-Lightweight: Models optimized for minimal resource usage
  • 🔒 Privacy-First: Run everything locally
  • ⚡ Quick Startup: Small image sizes mean faster container startup
  • 🛠️ Production-Ready: Optimized for deployment in production environments
  • 💾 Minimal Storage: Small footprint on your infrastructure

⁠🚀 Quick Start

# Pull the desired model image
docker pull k33g/tiny-models:0.5.7_qwen2.5-0.5b

# Run the container
docker run -d -p 11434:11434 k33g/tiny-models:0.5.7_qwen2.5-0.5b

# Example API call
curl http://localhost:11434/api/generate -d '{
  "model": "qwen2.5:0.5b",
  "prompt": "Who is James T Kirk?"
}'

⁠🛠️ Use Cases

  1. Semantic Search

    • Document similarity matching
    • Content recommendations
    • Knowledge base search
  2. Code Generation

    • Code completion
    • Documentation generation
    • Code explanation
  3. Text Generation

    • Content summarization
    • Question answering
    • Simple chatbots
  4. Reasoning

    • Question answering
    • Solving problem
    • Disgnostic

⁠⚖️ License

This project is licensed under the MIT License.

⁠🙏 Acknowledgments

  • Ollama team for the amazing framework
  • Model providers for releasing smaller, efficient models
  • Community contributors

Built with ❤️ on 🦐 Sea-Monkeys⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:1a744079a…
Size
2.4 GB
Last updated
almost 2 years ago
docker pull k33g/tiny-models:0.5.7_qwen2.5-1.5b