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