Instructions to use genloop/FHIR_QnA_Relevance_Classification_Mistral-NeMo-Instruct-FT_T1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use genloop/FHIR_QnA_Relevance_Classification_Mistral-NeMo-Instruct-FT_T1 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="genloop/FHIR_QnA_Relevance_Classification_Mistral-NeMo-Instruct-FT_T1")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("genloop/FHIR_QnA_Relevance_Classification_Mistral-NeMo-Instruct-FT_T1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add metadata
Verified signatureThis PR adds the `library_name` metadata, ensuring the "how to use" button appears in the top right. It also adds a `pipeline_tag`, ensuring the model can be found at https://huggingface.co/models?pipeline_tag=question-answering.a9b53e8 -
Update README.md
Verified signature0a6ca37
-
Update README.md
Verified signature5435b16
-
Upload folder using huggingface_hub
Verified signatureb98a494 -
initial commit
Verified signature7fec1c2