Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

mulukadan/kenya-agri-llama-finetune

Domain:

agriculturenatural language processing

Record type:

model
Creator:
mul
Host:
# Kenya Agricultural Advisory Model — QLoRA Fine-Tuning Capstone ## Project Overview This project fine-tunes Meta Llama 3.1 8B Instruct for Kenyan agricultural advisory using QLoRA. The objective was to build a domain-adapted model capable of providing practical, safety-conscious agricultural guidance grounded in Kenyan agricultural sources while avoiding invented pesticide rates, fertilizer rates, veterinary schedules, regulatory requirements, and unsupported guarantees. The final model is referred to as **V5**. --- ## Base Model `meta-llama/Llama-3.1-8B-Instruct` --- ## Final Model Hugging Face repository: `kadanMD/kenya-agri-llama-3.1-8b-v5` The repository contains the merged V5 model. The final LoRA adapter is also preserved separately in: `kenya-agri-llama-adapter-v5/` --- ## Dataset The final V5 training configuration used: - Training examples: 214 - Validation examples: 20 - Test examples: 20 - Format: LLaMA instruction/chat JSONL - Messages per example: - system - user - assistant The dataset was validated for: - JSON structure - correct message ordering - system-prompt consistency - duplicate questions - train/validation/test overlap - tokenizer length constraints The final training set is: `data/train_v3.jsonl` Validation: `data/val.jsonl` Test: `data/test.jsonl` --- ## System Prompt The model was trained with the following system behavior: > You are a Kenyan agricultural advisory assistant. Provide practical, accurate, safety-conscious agricultural guidance grounded in verified Kenyan agricultural sources. Do not invent recommendations, pesticide rates, fertilizer rates, yield guarantees, or government requirements. Where professional or official verification is required, direct the farmer to the appropriate agricultural extension officer, government agency, or qualified professional. --- ## QLoRA Configuration Final training configuration: - LoRA rank: 16 - LoRA alpha: 32 - LoRA dropout: 0.05 - Target modules: - q_proj - …

Visit

github.com

Tasks

language modeling

Similar

mulukadan/afyaplus-AI-agentspkibe/kenya-agri-datahubEliusCaleb/kenya-agri-farmwisehassanbett4-commits/Kenya-agri-analysisGeoGuessr Countries Finetuneuknowae58/bambara-finetune

mulukadan/afyaplus-AI-agent

Audit-ready medical insurance verification & clinical-routing agent for AfyaPlus Health — RAG-ground

spkibe/kenya-agri-datahub

An end-to-end agricultural data engineering platform for ingesting, transforming, modeling, and serv

EliusCaleb/kenya-agri-farmwise

# Kenya AgriConnect 🌾 ### AI-Powered Agricultural Platform for Kenyan Farmers ## 🎯 Problem Sta

hassanbett4-commits/Kenya-agri-analysis

# Kenya Agricultural Market Analysis (2019–2023) Analysis of smallholder crop performance across 10

GeoGuessr Countries Finetune

Google Earth images from around the world with the country as the target label. Split Samples trai

uknowae58/bambara-finetune

# Bambara Fine-tuning Fine-tuning Qwen3.5 on Bambara language using Unsloth. ## Requirements - GP