Instructions to use UCSC-VLAA/MedReason-Mistral with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UCSC-VLAA/MedReason-Mistral with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="UCSC-VLAA/MedReason-Mistral")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("UCSC-VLAA/MedReason-Mistral", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card: Add library name and pipeline tag
Verified signatureThis PR improves the model card by adding the `library_name` and `pipeline_tag` metadata. The `library_name` is set to `transformers` based on the provided usage example. The `pipeline_tag` is set to `question-answering` as per the paper abstract and prompt. Additionally, the content from the Github README has been incorporated to provide more comprehensive information about the model, data, training, and evaluation.c397729
-
Merge branch 'main' of hf.co:UCSC-VLAA/MedReason-Mistral
wenlong deng73e1ea3 -
Update README.md
Verified signature882934d -
Update README.md
Verified signature51628e9 -
add lfs
wenlong denga5ded4d -
initial commit
Verified signature5e4e75e