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:
- 39f560dc801400076f2aa46ad1cfd7e3f96c5ed2be763a776632e6764b25676f
- Size of remote file:
- 14.6 kB
- SHA256:
- 44455a209d6396dd37f30d59875b78cb30aeacd1b09c4380dab9743e5bd35a61
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.