Mindket

mednli_laya

Newversion 1 · updated

Overview

Checks a medical claim against a piece of evidence and answers supported, unsupported or contradicted. A fine-tuned Laya model for English research on clinical-note text, not for clinical decisions.

mednli_laya is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python on Windows, macOS or Linux
  • The laya library, which the example code imports
  • About 644 MB of storage for the F16 weights
Runs in
  • Python: load the model with the laya library
  • Windows, macOS or Linux: download the files with Python
  • Research notebooks and scripts: score claim and evidence pairs one at a time
Start with
pip install -U huggingface_hub
hf download pavanmantha/mednli_laya

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

mednli_laya is a Laya decision model tuned to check medical claims three ways. You give it a claim and a piece of evidence, and it answers supported, unsupported or contradicted. Pavan Kumar Mantha trained it from a multilingual Laya checkpoint on the MedNLI dataset.

Who it suits

It suits researchers and developers who work with English clinical-note text and want a small model that judges whether evidence backs a claim.

Who might use it
IndustryWho uses itHow they use itExample
Medical NLP researchResearchersTest claim and evidence checking on clinical sentencesComparing a note line with a short claim about a lab value
Health-tech prototypingDevelopersPrototype a claim checker for research use onlyFlagging a claim that a note contradicts
Model evaluationML engineersStudy accuracy, calibration and resilience of a small classifierReading the benchmark tables and seed results

People who need clinical decisions, non-English text or long guideline passages can skip it.

Where to use it

  • Python: load the model with the laya library
  • Windows, macOS or Linux: download the files with Python
  • Research notebooks and scripts: score claim and evidence pairs one at a time
Jobs it does
Use caseWhoWhat they get back
Claim checkingResearchersOne of three verdicts for a claim and its evidence
BenchmarkingML engineersA model to compare against the original Laya checkpoint
Prototype checksDevelopersA verdict they can inspect before building further

How to set it up

You need these first:

  • Python on Windows, macOS or Linux
  • The laya library, which the example code imports
  • About 644 MB of storage for the F16 weights
  1. Install the Hugging Face hub package.
  2. Download the model files.
  3. Install the laya library, then run the usage code.
pip install -U huggingface_hub
hf download pavanmantha/mednli_laya

How to use it

Load the model, define a question with the three answer criteria, pass the claim and the evidence, and read the verdict. Pass the claim before the evidence, as the model saw them during training.

import laya

agent = laya.load("pavanmantha/mednli_laya")
questions = {
  "verdict": {
    "type": "choice",
    "instructions": "Decide whether the cited text supports the claim.",
    "criteria": {
      "supported": "the cited text confirms the claim",
      "unsupported": "the cited text does not say enough to confirm or deny the claim",
      "contradicted": "the cited text states the opposite of the claim"
    }
  }
}
state = {"claim": "Patient has elevated Cr", "evidence": "Labs were notable for Cr 1.7 (baseline 0.5)."}
print(agent.predict(state, questions)["answers"]["verdict"])
Calls used above
ToolWhat it does
laya.loadLoads the fine-tuned model by its Hugging Face name
agent.predictTakes the claim and evidence plus the question, and returns the answers

Example

You pass the claim that a patient has a raised creatinine level and a lab line showing a value well above baseline. The model returns one of its three labels: supported, unsupported or contradicted.

For newcomers and experts

If you are new to this, think of it as a referee that reads a claim and a note and says whether the note confirms it, says too little or says the opposite. Run the usage code once and change the claim to see the verdict move.

If you work in the field, it was tuned on MedNLI, where entailment, neutral and contradiction stand in for the three verdicts. On the 1422-item test split, accuracy rose from 0.4494 for the original to 0.7904, and the card reports it fixed 581 errors while adding 96. Claim-only accuracy of 0.4114 is above chance, which the card calls a known property of MedNLI. The option-order flip rate fell from 0.0816 to 0.0155.

  1. Write a claim and an evidence sentence
  2. Load the model with laya
  3. Ask the verdict question with three criteria
  4. Read supported, unsupported or contradicted

Good to know

The card reports results on the MedNLI test split only, where chance accuracy is 0.3333.

Accuracy on the MedNLI test split
Chance0.3333
Original Laya0.4494
This model0.7904
  • License: apache-2.0
  • Cost to run: none named
  • Data it reaches: the claim and evidence text you pass in, while training used the public MedNLI dataset
  • Not for: clinical decisions, long guideline passages or non-English text, and it is not a medical device

README and files

README

mednli_laya

Checks a medical claim against a piece of evidence and answers supported, unsupported or contradicted. A fine-tuned Laya model for English research on clinical-note text, not for clinical decisions.

Made by pavanmantha on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: mednli_laya is a Laya decision model tuned to check medical claims three ways. You give it a claim and a piece of evidence, and it answers supported, unsupported or contradicted. Pavan Kumar Mantha trained it from a multilingual Laya checkpoint on the MedNLI dataset.

Who it suits: It suits researchers and developers who work with English clinical-note text and want a small model that judges whether evidence backs a claim.

Title: Who might use it
Industry | Who uses it | How they use it | Example
Medical NLP research | Researchers | Test claim and evidence checking on clinical sentences | Comparing a note line with a short claim about a lab value
Health-tech prototyping | Developers | Prototype a claim checker for research use only | Flagging a claim that a note contradicts
Model evaluation | ML engineers | Study accuracy, calibration and resilience of a small classifier | Reading the benchmark tables and seed results

People who need clinical decisions, non-English text or long guideline passages can skip it.

Where to use it:

  • Python: load the model with the laya library
  • Windows, macOS or Linux: download the files with Python
  • Research notebooks and scripts: score claim and evidence pairs one at a time
Title: Jobs it does
Use case | Who | What they get back
Claim checking | Researchers | One of three verdicts for a claim and its evidence
Benchmarking | ML engineers | A model to compare against the original Laya checkpoint
Prototype checks | Developers | A verdict they can inspect before building further

How to set it up: You need these first:

  • Python on Windows, macOS or Linux
  • The laya library, which the example code imports
  • About 644 MB of storage for the F16 weights
  1. Install the Hugging Face hub package.
  2. Download the model files.
  3. Install the laya library, then run the usage code.
pip install -U huggingface_hub
hf download pavanmantha/mednli_laya

How to use it: Load the model, define a question with the three answer criteria, pass the claim and the evidence, and read the verdict. Pass the claim before the evidence, as the model saw them during training.

import laya

agent = laya.load("pavanmantha/mednli_laya")
questions = {
  "verdict": {
    "type": "choice",
    "instructions": "Decide whether the cited text supports the claim.",
    "criteria": {
      "supported": "the cited text confirms the claim",
      "unsupported": "the cited text does not say enough to confirm or deny the claim",
      "contradicted": "the cited text states the opposite of the claim"
    }
  }
}
state = {"claim": "Patient has elevated Cr", "evidence": "Labs were notable for Cr 1.7 (baseline 0.5)."}
print(agent.predict(state, questions)["answers"]["verdict"])
Title: Calls used above
Tool | What it does
laya.load | Loads the fine-tuned model by its Hugging Face name
agent.predict | Takes the claim and evidence plus the question, and returns the answers

Example: You pass the claim that a patient has a raised creatinine level and a lab line showing a value well above baseline. The model returns one of its three labels: supported, unsupported or contradicted.

For newcomers and experts: If you are new to this, think of it as a referee that reads a claim and a note and says whether the note confirms it, says too little or says the opposite. Run the usage code once and change the claim to see the verdict move.

If you work in the field, it was tuned on MedNLI, where entailment, neutral and contradiction stand in for the three verdicts. On the 1422-item test split, accuracy rose from 0.4494 for the original to 0.7904, and the card reports it fixed 581 errors while adding 96. Claim-only accuracy of 0.4114 is above chance, which the card calls a known property of MedNLI. The option-order flip rate fell from 0.0816 to 0.0155.

Write a claim and an evidence sentence
Load the model with laya
Ask the verdict question with three criteria
Read supported, unsupported or contradicted

Good to know: The card reports results on the MedNLI test split only, where chance accuracy is 0.3333.

Title: Accuracy on the MedNLI test split
Chance: 0.3333
Original Laya: 0.4494
This model: 0.7904
  • License: apache-2.0
  • Cost to run: none named
  • Data it reaches: the claim and evidence text you pass in, while training used the public MedNLI dataset
  • Not for: clinical decisions, long guideline passages or non-English text, and it is not a medical device

On Hugging Face, 13 November 2026

  • Task: text classification
  • Library: laya
  • Parameters: 322M
  • Weights: about 644 MB in F16; about 161 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 16
  • Likes: 8
  • License: apache-2.0
  • Languages: en
  • Based on: convaiinnovations/laya
  • Tags: laya, safetensors, claim-verification, medical, text-classification, model-index

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download pavanmantha/mednli_laya

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
mednli_laya This page168322Mapache-2.0
MANTA-27BShares medical · safetensors46427.5Bapache-2.0
DeepSeek-V4-ProShares safetensors322,1625,7021.6Tmit
Moirai-2.0-R-SmallShares safetensors262,1915311.4Mcc-by-nc-4.0
VLX-Seek-1.5-10BShares safetensors137,7723910Bapache-2.0
Hy-NomasShares safetensors90,896153—apache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Research

See all in Research

EarthJev

dBenf · Kit

Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…

New

getting-over-it-rl-jax

zimmerk4 · Kit

Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…

New

ReFoCo

yuji-nozawa · Kit

Pretrained vision transformer checkpoints in three sizes from a research paper on training attention heads to focus on image regions. For researchers who extra…

New