FurFriends RAG v6

The pet-care assistant model of FurFriends, a pet health records app made as a student thesis project (Philippines, 2026). It writes answers only from the checked passages the app gives it: FurFriends' first-aid guides, the team's checked answers and CDC/FDA pages. When the passages don't answer the question, it says so instead of guessing.

v6 is the first version trained with the owner's pet profile: when the owner picks one of their pets, the app gives the model that pet's details (species, breed, age and life stage, weight and weight trend, allergies, medicines, medical history, vaccines, diet, last checkup and the app's health check).

It is not a vet and does not diagnose. It is a study prototype, on trial. The team has no veterinarian; the app checks every answer against its passages, and adds notes from the pet's records itself (it replaces any the model writes), so an owner never sees a wrong fact about their pet from the model. The earlier version stays available at DevShin00/furfriends-rag-v2.

Model

  • Base: Qwen/Qwen2.5-0.5B-Instruct (Apache 2.0)
  • Fine-tuning: LoRA on the attention layers, 1 epoch over 1,113 examples (up to 1,024 tokens), on a laptop CPU
  • File: onnx/model_q4.onnx: 4-bit weights (blocks of 32) with full-precision maths, about 430 MB. Runs on the CPU (and WebGPU or WASM in the browser).

Training data

  • 582 examples from FurFriends' own checked answers, first-aid guides and public-domain US CDC (Healthy Pets) and FDA pages, in English and Tagalog/Taglish, including follow-up questions, near misses (only look-alike passages, answered "I couldn't find this in FurFriends' checked sources") and out-of-scope questions.
  • 531 copies of those with a simulated pet profile: 102 made-up pets with full histories, stored in a private FurFriends training account so the team could check them. No real owner's pet is used. When the pet's records are about the question, the answer ends with the notes the app adds ("From Bori's records: ..."); otherwise none.
  • No question from the team's evaluation sets is in the training data, and the 34 evaluation pets were left out.

Test results (2026-11-13, offline, with the app's own prompts)

  • Pet profiles: on 68 questions about the 34 evaluation pets it never saw, v6 invented no health fact about the pet (v2: 1) and never got the species wrong.
  • Declining: on 62 answerable benchmark questions that got a right passage, v6's own answer passed the app's checks for 47 (v2: 61); it said "couldn't find" for 11 (v2: 1). On questions the library can't answer it answered 3% (v2: 6%). When it declines, the app shows its closest checked answer instead.

Use

import { pipeline } from "@huggingface/transformers";
const generator = await pipeline("text-generation", "DevShin00/furfriends-rag-v6", { dtype: "q4" });

The prompt (system instructions, pet details and how the passages are given) is in the FurFriends repository: src/lib/aiPrompt.json, src/lib/prompt.js and ai-server/prompting.py.

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

Model tree for DevShin00/furfriends-rag-v6

Quantized
(409)
this model