Instructions to use toolevalxm/MedicalAI-Pro-TestRepo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use toolevalxm/MedicalAI-Pro-TestRepo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="toolevalxm/MedicalAI-Pro-TestRepo")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("toolevalxm/MedicalAI-Pro-TestRepo") model = AutoModelForSequenceClassification.from_pretrained("toolevalxm/MedicalAI-Pro-TestRepo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from toolevalxm/MedicalAI-Pro-TestRepo: direct link, hf CLI and curl.
- Browser
- Download file 145 Bytes
-
https://huggingface.co/toolevalxm/MedicalAI-Pro-TestRepo/resolve/main/config.json
- Command line
-
hf download hf://toolevalxm/MedicalAI-Pro-TestRepo/config.json
-
curl -L -o config.json https://huggingface.co/toolevalxm/MedicalAI-Pro-TestRepo/resolve/main/config.json
145 Bytes
| { | |
| "model_type": "roberta", | |
| "architectures": [ | |
| "RobertaForSequenceClassification" | |
| ], | |
| "task": "medical_diagnosis", | |
| "num_labels": 10 | |
| } |