EphAsad / EphBactAID

huggingface.co
Total runs: 11
24-hour runs: 0
7-day runs: -8
30-day runs: -20
Model's Last Updated: December 29 2025
feature-extraction

Introduction of EphBactAID

Model Details of EphBactAID

Model Card: Core Schema Parsing LLM (Microbiology)
Model Overview

This model is a domain-adapted sequence-to-sequence language model designed to parse free-text microbiology phenotype descriptions into a structured core schema of laboratory test results and traits.

The model is intended to augment deterministic rule-based and extended parsers by recovering fields that may be missed due to complex phrasing, implicit descriptions, or uncommon linguistic constructions. It is not designed to operate as a standalone classifier or diagnostic system.

Base Model

Base architecture: google/flan-t5-base

Model type: Encoder–decoder (Seq2Seq), instruction-tuned

The FLAN-T5 base model was selected due to its strong instruction-following behaviour, stability during fine-tuning, and suitability for structured text generation tasks on limited hardware.

Training Data

The model was fine-tuned on 8,700 curated microbiology phenotype examples, each consisting of:

A free-text phenotype description

A deterministic target serialization of core schema fields and values

Data preprocessing:

The name field and all non-core schema fields were explicitly removed to prevent label leakage.

Target outputs were serialized deterministically using sorted schema keys (Field: Value format).

Inputs and targets were constrained to schema-relevant content only.

The dataset was split 80/20 into training and validation subsets.

Training Procedure

  • Epochs: 3

  • Optimizer: AdamW (default Hugging Face Trainer)

  • Learning rate: 1e-5

Batching:

  • Per-device batch size: 1

  • Gradient accumulation: 8 (effective batch size = 8)

  • Sequence lengths:

  • Max input length: 2048 tokens

  • Max output length: 2048 tokens

Precision:

  • bf16 on supported hardware (A100), otherwise fp16

  • Stability measures:

  • Gradient checkpointing enabled

  • Gradient clipping (max_grad_norm = 1.0)

  • Warmup ratio of 0.03

  • The model was trained using the Hugging Face Trainer API and saved after completion of all epochs.

Intended Use

This model is intended for:

Structured parsing of microbiology phenotype text into predefined schema fields

Use as a third-stage parser alongside rule-based and extended parsers

Supporting downstream deterministic scoring, ranking, and retrieval systems

Not intended for:

Standalone clinical diagnosis

Autonomous decision-making

Use without additional validation layers

Integration Context

In production, the model is used as a fallback and recovery mechanism within a hybrid parsing pipeline:

  • Rule-based parser (high precision)

  • Extended parser (schema-aware)

  • LLM parser (coverage and robustness)

Outputs are reconciled and validated downstream before being used for identification or explanation.

Limitations

Performance depends on coverage of the training schema and cannot generalize beyond it.

The model may hallucinate field values if used outside its intended constrained pipeline.

It is sensitive to extreme deviations in input style or unsupported terminology.

Ethical and Safety Considerations

The model does not provide medical advice or diagnoses.

Outputs should always be reviewed in conjunction with deterministic logic and domain expertise.

Training data was curated to minimize leakage and unintended inference.

Author

Developed and fine-tuned by Zain Asad as part of the BactAI-D project.

Runs of EphAsad EphBactAID on huggingface.co

11
Total runs
0
24-hour runs
-3
3-day runs
-8
7-day runs
-20
30-day runs

More Information About EphBactAID huggingface.co Model

More EphBactAID license Visit here:

https://choosealicense.com/licenses/apache-2.0

EphBactAID huggingface.co

EphBactAID huggingface.co is an AI model on huggingface.co that provides EphBactAID's model effect (), which can be used instantly with this EphAsad EphBactAID model. huggingface.co supports a free trial of the EphBactAID model, and also provides paid use of the EphBactAID. Support call EphBactAID model through api, including Node.js, Python, http.

EphBactAID huggingface.co Url

https://huggingface.co/EphAsad/EphBactAID

EphAsad EphBactAID online free

EphBactAID huggingface.co is an online trial and call api platform, which integrates EphBactAID's modeling effects, including api services, and provides a free online trial of EphBactAID, you can try EphBactAID online for free by clicking the link below.

EphAsad EphBactAID online free url in huggingface.co:

https://huggingface.co/EphAsad/EphBactAID

EphBactAID install

EphBactAID is an open source model from GitHub that offers a free installation service, and any user can find EphBactAID on GitHub to install. At the same time, huggingface.co provides the effect of EphBactAID install, users can directly use EphBactAID installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

EphBactAID install url in huggingface.co:

https://huggingface.co/EphAsad/EphBactAID

Url of EphBactAID

EphBactAID huggingface.co Url

Provider of EphBactAID huggingface.co

EphAsad
ORGANIZATIONS

Other API from EphAsad

huggingface.co

Total runs: 310
Run Growth: -72
Growth Rate: -23.00%
Updated:June 22 2026
huggingface.co

Total runs: 277
Run Growth: -54
Growth Rate: -18.95%
Updated:June 24 2026
huggingface.co

Total runs: 265
Run Growth: 106
Growth Rate: 44.35%
Updated:June 09 2026
huggingface.co

Total runs: 111
Run Growth: 9
Growth Rate: 8.26%
Updated:June 23 2026
huggingface.co

Total runs: 108
Run Growth: -44
Growth Rate: -41.90%
Updated:June 23 2026
huggingface.co

Total runs: 17
Run Growth: -14
Growth Rate: -82.35%
Updated:May 31 2026
huggingface.co

Total runs: 13
Run Growth: -92
Growth Rate: -707.69%
Updated:September 09 2026
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:December 29 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 07 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 13 2026