Instructions to use Elearon/deepseek-medical-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Elearon/deepseek-medical-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("autodl-tmp") model = PeftModel.from_pretrained(base_model, "Elearon/deepseek-medical-lora") - Transformers
How to use Elearon/deepseek-medical-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Elearon/deepseek-medical-lora")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Elearon/deepseek-medical-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 386484dfc43168c77f0387361ef3eef2e1b38f5fa854e8237b275e1c822e9160
- Size of remote file:
- 5.78 kB
- SHA256:
- a322b52bff55b380cee78725b166a2b36a58a41286d126bb74705a6d3b875a13
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.