abirmed_animal_slm β€” Veterinary and Animal Health Specialist Transformer

Part of the A.B.I.R Ecosystem

abirmed_animal_slm is a specialized veterinary medical language model developed as part of the A.B.I.R Ecosystem and the ABIRMED Modular Medical Specialist Transformer System, a distributed artificial intelligence architecture designed to replicate real-world medical specialization using modular transformer models.

This model functions as the Veterinary and Animal Health Specialist, designed to understand animal diseases, veterinary conditions, animal symptoms, and veterinary medical reasoning patterns across common domestic animals and veterinary healthcare scenarios.

This is Version 1.0, with future versions planned for expanded veterinary datasets, improved animal disease reasoning accuracy, and enhanced veterinary intelligence capabilities.


ABIRMED β€” Modular Medical Specialist Transformer System

ABIRMED is a modular medical AI ecosystem consisting of multiple specialist Small Language Models (SLMs), each trained for a specific medical domain. Instead of using a single large monolithic model, ABIRMED uses a distributed specialist architecture inspired by real-world clinical specialization.

Each model acts as an independent medical specialist while collectively forming a unified medical reasoning system.

This modular approach provides:

  • Higher accuracy within specialized domains
  • Lower computational requirements
  • CPU-efficient inference capability
  • Scalable and extensible medical intelligence architecture

Developed by: Abir Maheshwari
Architecture: Modular Decoder-only Transformer System
Framework: PyTorch + HuggingFace Transformers
Training Platform: Google Colab T4 GPU
License: MIT


Role of abirmed_animal_slm in the ABIRMED System

abirmed_animal_slm functions as the Veterinary Specialist, equivalent to a licensed veterinarian in real-world veterinary healthcare systems.

Its primary role is to provide veterinary medical reasoning capabilities including:

  • Animal disease interpretation
  • Animal symptom analysis
  • Veterinary condition explanation
  • Animal healthcare reasoning
  • Veterinary medical education support

This model complements other ABIRMED specialist models such as general medicine, diagnosis, pharmacology, pathology, emergency, psychiatry, dermatology, cardiology, and pediatric models.

This extends the ABIRMED ecosystem beyond human healthcare into veterinary medical intelligence.


Model Details

Model Name: abirmed_animal_slm
Version: 1.0
Developer: Abir Maheshwari
Organization: A.B.I.R Ecosystem
Model Type: Causal Language Model (Decoder-only Transformer)
Base Model: None (trained from scratch)
License: MIT


Technical Specifications

Architecture: Decoder-only Transformer

Parameters: ~38 Million

Transformer Layers: 8

Attention Heads: 8

Hidden Size: 512

Intermediate Size: 2048

Context Length: 256 tokens

Tokenizer: GPT-2 tokenizer with custom PAD token

Weight Sharing: Embedding and LM Head tied

Training Objective: Causal Language Modeling

Precision: FP16 mixed precision

Framework: PyTorch

Export Formats:

  • safetensors
  • PyTorch (.pt)

Checkpoint Support:

  • Full training state resume capability

Training Details

Training Dataset

Primary datasets include curated veterinary and animal health educational datasets containing:

  • Animal disease descriptions
  • Veterinary condition explanations
  • Animal symptom analysis examples
  • Veterinary clinical reasoning narratives

These datasets enable the model to learn relationships between animal symptoms and veterinary medical conditions.

The model is trained to support veterinary reasoning across common domestic animals such as:

  • Dogs
  • Cats
  • Companion animals
  • General veterinary cases

Training Procedure

Optimizer: AdamW

Learning Rate: 5e-4

Batch Size: 8

Gradient Accumulation Steps: 2

Training Platform:

  • Google Colab
  • NVIDIA T4 GPU

Training Objective:

  • Predict next token in veterinary reasoning sequences

Training Format:

Instruction β†’ Output

Converted to:

Question β†’ Answer format

Identity training lines were included to ensure ecosystem integration.


Capabilities

abirmed_animal_slm is capable of:

  • Understanding animal health symptoms
  • Explaining veterinary diseases
  • Supporting veterinary medical education
  • Providing veterinary reasoning explanations
  • Supporting veterinary AI research

Example:

Input: "Dog has loss of appetite and lethargy"

Output: "These symptoms may indicate infection, digestive disorders, or other veterinary medical conditions requiring evaluation."


Intended Use

This model is intended for:

  • Veterinary education
  • Veterinary AI research
  • Veterinary chatbot systems
  • Animal health education tools
  • Veterinary research support

Out-of-Scope Use

This model is not intended for:

  • Veterinary diagnosis
  • Veterinary treatment decisions
  • Clinical veterinary care
  • Replacement of licensed veterinarians

This is a research model only.


Limitations

abirmed_animal_slm:

  • Is not a licensed veterinary medical system
  • May produce incomplete veterinary assessments
  • Should not replace licensed veterinarians
  • May lack full veterinary clinical accuracy

Design Philosophy

The ABIRMED ecosystem follows a modular specialist architecture inspired by real-world healthcare systems.

Each model specializes in a specific domain.

abirmed_animal_slm extends this modular intelligence to veterinary medicine.

This architecture enables:

  • Specialist-level reasoning
  • Higher domain accuracy
  • Efficient computation
  • Modular scalability

A.B.I.R Ecosystem Integration

abirmed_animal_slm is part of the A.B.I.R Ecosystem, which includes:

  • Modular transformer intelligence systems
  • Language models
  • Domain-specialized AI systems
  • Medical and veterinary AI infrastructure

ABIRMED represents the medical and veterinary intelligence division of the A.B.I.R Ecosystem.


Version

Version: 1.0

Future versions will include:

  • Expanded veterinary datasets
  • Improved animal disease reasoning
  • Larger training datasets
  • Enhanced veterinary intelligence

Author

Abir Maheshwari
Independent AI Researcher
Founder, A.B.I.R Ecosystem

Hugging Face:
https://huggingface.co/abirmaheshwari


License

MIT License

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support