How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="sshan95/medicoder-ai-v2-model")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("sshan95/medicoder-ai-v2-model")
model = AutoModelForSequenceClassification.from_pretrained("sshan95/medicoder-ai-v2-model")
Quick Links

MediCoder AI v2 - Fixed Model

This is a properly formatted version of the MediCoder model for medical code classification.

Usage

from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("sshan95/medicoder-ai-v2-model")
model = AutoModelForSequenceClassification.from_pretrained("sshan95/medicoder-ai-v2-model")

Configuration

  • Labels: 25,719 ICD-10 codes
  • Architecture: BERT-based
  • Task: Multi-label medical code classification
Downloads last month
-
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support