Spaces:
Runtime error
Is this model still available?
Hi, I'm trying to check how this model works but looks like is not available. Could you help me to understand how could I use it?
Yes it is. For some reason this space that was working is not anymore. But the same model works in this spaces when I tried today.
https://huggingface.co/spaces/ajitrajasekharan/self-supervised-ner-biomedical
Thank you!
I am trying to extract PHI entities from a text. Do you know some model I could use directly in this format:
"""
from transformers import pipeline
Replace this with your own checkpoint
model_checkpoint = "ajitrajasekharan/model"
token_classifier = pipeline(
"token-classification", model=model_checkpoint, aggregation_strategy="simple"
)
entities = token_classifier("A eGFR below 60 indicates chronic kidney disease")
"""
Thank you in advance
Sorry for my late response. This model cannot be used in the pipeline format because it is not a supervised model. It is just a pretrained model as is. So we need the github repo to use https://github.com/ajitrajasekharan/unsupervised_NER