Instructions to use fcn94/phi-2-finetuned-med-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use fcn94/phi-2-finetuned-med-text with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "fcn94/phi-2-finetuned-med-text") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.safetensors from fcn94/phi-2-finetuned-med-text: direct link, hf CLI and curl.
- Browser
- Download file 31.5 MB
-
https://huggingface.co/fcn94/phi-2-finetuned-med-text/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://fcn94/phi-2-finetuned-med-text/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/fcn94/phi-2-finetuned-med-text/resolve/main/adapter_model.safetensors
31.5 MB
- Xet hash:
- 7adab702db31a4ec9286346958e1a94fbac5627bed8e9184aa786df84e9b5330
- Size of remote file:
- 31.5 MB
- SHA256:
- d05792479c7cabe312d7fc3c9d1e1d659c66f249abfcfad605f32d1ab10eaa1b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.