IlaAI-v1.1 / README.md
mohantvj's picture
Upload README.md with huggingface_hub
45f9505 verified
|
Raw
History Blame Contribute Delete
4.38 kB
metadata
language:
  - en
  - hi
  - te
  - ta
  - kn
  - mr
  - bn
  - gu
  - pa
license: apache-2.0
library_name: mlx
tags:
  - agriculture
  - indian-farming
  - fine-tuned
  - lora
  - qwen3
  - mlx
  - crops
  - farming
  - india
base_model: Ila-AI/IlaAI-v1
datasets:
  - KissanAI/Thinking-climate-100k
pipeline_tag: text-generation
IlaAI Logo

IlaAI-v1.1 🌱

Earth · Crop · Intelligence

An open-source Agricultural AI for Bharat's Farmers

HuggingFace GitHub License Base Model Val Loss


🌾 What's New in v1.1?

IlaAI-v1.1 is an improved version of IlaAI-v1 with:

  • 5x more training data — 9,000 rows vs 1,800 rows
  • Better dataset — KissanAI Thinking-climate-100k (chain-of-thought reasoning)
  • More training — 3,000 iterations vs 2,000 iterations
  • Better Val Loss — 0.821 vs 0.874
  • Multilingual system prompt — responds in user's language

🚀 Quick Start

from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler

model, tokenizer = load("Ila-AI/IlaAI-v1.1")

messages = [
    {"role": "system", "content": "You are IlaAI, an expert agricultural assistant for Indian farmers. Always respond in the same language the user writes in. Keep answers concise, practical and under 200 words."},
    {"role": "user", "content": "My wheat crop has yellow spots on leaves. What should I do?"}
]

text = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    tokenize=False
)

sampler = make_sampler(temp=0.7, top_p=0.9)
response = generate(model, tokenizer, prompt=text, max_tokens=1000, sampler=sampler, verbose=True)

📊 Training Details

Detail Value
Base Model IlaAI-v1 (Qwen3-4B)
Framework MLX LoRA
Hardware Apple M4 Mac Mini (24GB)
Dataset KissanAI/Thinking-climate-100k
Training rows 9,000
Validation rows 1,000
Training iters 3,000
LoRA rank 8
Final Val Loss 0.821
Peak Memory 4.507 GB

🗣️ Language Support

Language Status
English ✅ Excellent
Hindi ✅ Good
Telugu ⚠️ Basic
Tamil ⚠️ Basic
Kannada ⚠️ Basic
Others ⚠️ Basic

Full multilingual support coming in IlaAI-v2 with real multilingual agriculture data.


⚠️ Limitations

  • Best performance in English — primary training language
  • Hindi — good quality responses
  • Other Indian languages — basic support, improving in v2
  • Text only — vision model coming separately

🗺️ Roadmap

✅ Phase 1 — Foundation

  • IlaAI-v1 — English agriculture advisory
  • IlaAI-v1.1 — Improved English + basic multilingual

🔄 Phase 2 — True Multilingual (v2)

  • Real multilingual agriculture data (BPCC + AI4Bharat)
  • 22+ Indian languages with proper quality
  • Release IlaAI-v2

👁️ Phase 3 — Vision

  • Crop disease detection from photos
  • IlaAI-Vision model

📱 Phase 4 — Mobile App

  • Free Android & iOS app
  • On-device inference
  • Voice input in Indian languages

🌍 Phase 5 — Global

  • Expand beyond India
  • Support farmers worldwide
  • API for developers

📜 License

Apache 2.0 — free to use, fine-tune, and build upon.


🙏 Acknowledgements

  • KissanAI for open-sourcing Dhenu models and datasets
  • Qwen Team for Qwen3 base models
  • Apple MLX Team for MLX framework
  • Every Indian farmer who inspired this project 🌾

For the hands that feed a billion 🌾
HuggingFace · GitHub