Downloads · 30 days
10
26% of all-time downloads
ahmetcangunay/MammoBiradsScore_encoderfile
MammoBiradsScore_encoderfile is a text classification model from ahmetcangunay. Use it when you need a label for a piece of text. It is set up for encoderfile. The card lists the license as apache-2.0.
[](https://github.com/mozilla-ai/encoderfile) []() [](LICENSE) [](https://huggingface.co/ahmetcangunay/MammoBiradsScore)
Downloads · 30 days
10
26% of all-time downloads
All-time downloads
39
Public
Repo size
497 MB
Likes
0
Public
Click a slice to open those files.
.encoderfile497 MB · 100%
From the Hugging Face model README
This repository contains a standalone, zero-dependency executable binary (.encoderfile) built with Mozilla AI's Encoderfile specification. It is fine-tuned from ahmetcangunay/MammoBiradsScore and designed for fast, CPU-optimized Turkish mammography report text classification into BIRADS (1-5) scores.
🏆 TEKNOFEST Achievement: Developed as part of the project that achieved 5th Place & Finalist status in the TEKNOFEST 2024 Sağlıkta Yapay Zekâ Yarışması (Üniversite ve Üzeri Seviyesi - Bilgisayarlı Görüyle Hastalık Tespiti Kategorisi).
You can download and run this executable directly on any x86_64 Linux machine without installing Python, PyTorch, Transformers, or SpaCy.
# Download the executable via Hugging Face CLI
hf download ahmetcangunay/MammoBiradsScore_encoderfile mammo-birads-classifier.x86_64-unknown-linux-gnu.encoderfile --local-dir .
# Make it executable
chmod +x mammo-birads-classifier.x86_64-unknown-linux-gnu.encoderfile
./mammo-birads-classifier.x86_64-unknown-linux-gnu.encoderfile infer "BILATERAL MAMOGRAFI INCELEMESI: Sağ meme üst dış kadranda yaklaşık 1 cm çapında düzgün sınırlı nodüler lezyon izlendi."
{
"results": [
{
"logits": [
-1.8540025,
-0.78142524,
2.4493582,
0.46748734,
-0.26670128
],
"scores": [
-1.8540025,
-0.78142524,
2.4493582,
0.46748734,
-0.26670128
],
"predicted_index": 2,
"predicted_label": "BIRADS3"
}
],
"model_id": "mammo-birads-classifier",
"metadata": {}
}
Start a lightweight local REST server:
./mammo-birads-classifier.x86_64-unknown-linux-gnu.encoderfile serve --http-port 8080
Start as a Model Context Protocol (MCP) server for integration with LLM agents:
./mammo-birads-classifier.x86_64-unknown-linux-gnu.encoderfile mcp
Evaluated on an independent test dataset of 200 clinical mammography report snippets:
Overall Accuracy: 94.00%
Weighted F1 Score: 0.9377
| Category | Precision | Recall | F1-Score |
|---|---|---|---|
| BIRADS 1 | 0.7500 | 0.6000 | 0.6667 |
| BIRADS 2 | 0.9677 | 0.7500 | 0.8451 |
| BIRADS 3 | 0.8333 | 1.0000 | 0.9091 |
| BIRADS 4 | 0.9821 | 1.0000 | 0.9910 |
| BIRADS 5 | 1.0000 | 1.0000 | 1.0000 |
Medical Safety Note: Critical categories (BIRADS 4 & 5) exhibit a 100% Recall rate, minimizing False Negatives for high-risk clinical findings.
Base Architecture: ahmetcangunay/MammoBiradsScore (Fine-tuned from savasy/bert-turkish-text-classification)
Runtime: CPU-bound PyTorch C++ / Standalone Rust Bindings
Output Classes: BIRADS1, BIRADS2, BIRADS3, BIRADS4, BIRADS5
Target OS: x86_64-unknown-linux-gnu