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
Download label_map.json from BarryRL/test_rad_bert: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/BarryRL/test_rad_bert/resolve/main/label_map.json
- Command line
-
hf download hf://BarryRL/test_rad_bert/label_map.json
-
curl -L -o label_map.json https://huggingface.co/BarryRL/test_rad_bert/resolve/main/label_map.json
368 Bytes
| {"0": "annual screening", "1": "cardiomegaly", "2": "copd", "3": "ct recommended", "4": "malignancy", "5": "no follow-up needed", "6": "nodule", "7": "nodule (unspecified)", "8": "normal", "9": "opacity", "10": "pleural effusion", "11": "pneumonia", "12": "pneumothorax", "13": "repeat imaging", "14": "rib fracture", "15": "small nodules", "16": "suspicious nodules"} |