Text Classification
setfit
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
text-embeddings-inference
Instructions to use BarryRL/test_rad_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use BarryRL/test_rad_bert with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("BarryRL/test_rad_bert") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use BarryRL/test_rad_bert with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BarryRL/test_rad_bert") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
File size: 1,482 Bytes
192281a | 1 | {"0": "air bronchograms", "1": "annual screening", "2": "benign", "3": "calcification", "4": "calcified nodule", "5": "cardiomegaly", "6": "chest ct", "7": "clinical correlation", "8": "clinical monitoring", "9": "consolidation", "10": "copd", "11": "ct recommended", "12": "ct scan", "13": "effusion", "14": "follow-up", "15": "follow-uproutine follow-up", "16": "granuloma", "17": "hear size normal", "18": "heart size normal", "19": "hyperinflation", "20": "infection", "21": "infiltrates", "22": "large heart", "23": "large nodule", "24": "lungs clear", "25": "malignancy", "26": "no abnormalities", "27": "no acute findings", "28": "no acute issues", "29": "no calcification", "30": "no calcifications", "31": "no consolidation", "32": "no contraindications", "33": "no effusion", "34": "no follow-up needed", "35": "no granuloma", "36": "no infection", "37": "no infiltrates", "38": "no lymphadenopathy", "39": "no mass", "40": "no nodules", "41": "no pheumothorax", "42": "no pleural effusion", "43": "no pleurla effusion", "44": "no pneumothorax", "45": "no tuberculosis", "46": "nodule", "47": "nodules", "48": "normal chest xray", "49": "opacity", "50": "orthopedic consult", "51": "pleural effusion", "52": "pneumonia", "53": "pneumothorax", "54": "pneumothorax resolved", "55": "previous imaging", "56": "prior infection", "57": "pulmonary nodule", "58": "repeat imaging", "59": "rib fracture", "60": "smoker", "61": "suspicious", "62": "thoracic spine", "63": "urgent"} |