Instructions to use toolevalxm/MedAssist-TestRepo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use toolevalxm/MedAssist-TestRepo with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("toolevalxm/MedAssist-TestRepo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from toolevalxm/MedAssist-TestRepo: direct link, hf CLI and curl.
- Browser
- Download file 230 Bytes
-
https://huggingface.co/toolevalxm/MedAssist-TestRepo/resolve/main/config.json
- Command line
-
hf download hf://toolevalxm/MedAssist-TestRepo/config.json
-
curl -L -o config.json https://huggingface.co/toolevalxm/MedAssist-TestRepo/resolve/main/config.json
230 Bytes
| { | |
| "model_type": "gpt2-medical", | |
| "architectures": [ | |
| "MedAssistModel" | |
| ], | |
| "vocab_size": 50265, | |
| "n_positions": 1024, | |
| "n_ctx": 1024, | |
| "n_embd": 768, | |
| "n_layer": 12, | |
| "n_head": 12, | |
| "medical_domain": "clinical_nlp" | |
| } |