Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Elearon
/
deepseek-medical-lora

Question Answering
PEFT
TensorBoard
Safetensors
Transformers
lora
Model card Files Files and versions
xet
Metrics Training metrics Community

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
deepseek-medical-lora
2.41 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Elearon's picture
Elearon
Update README.md
1101873 verified about 1 year ago
  • checkpoint-300
    Upload folder using huggingface_hub about 1 year ago
  • runs
    Upload folder using huggingface_hub about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    7.42 kB
    Update README.md about 1 year ago
  • adapter_config.json
    922 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • adapter_model.safetensors
    600 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • chat_template.jinja
    459 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • special_tokens_map.json
    482 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer.json
    7.5 MB
    Upload folder using huggingface_hub about 1 year ago
  • tokenizer_config.json
    3.08 kB
    Upload folder using huggingface_hub about 1 year ago
  • training_args.bin

    Detected Pickle imports (10)

    • "transformers.training_args.TrainingArguments",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.SaveStrategy",
    • "transformers.training_args.OptimizerNames",
    • "torch.device",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "accelerate.utils.dataclasses.DistributedType"

    How to fix it?

    5.78 kB
    xet
    Upload folder using huggingface_hub about 1 year ago