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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

zhangdah
/
phi-3-mini-LoRA

PEFT
TensorBoard
Safetensors
phi3
trl
sft
Generated from Trainer
custom_code
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use zhangdah/phi-3-mini-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use zhangdah/phi-3-mini-LoRA with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-4k-instruct")
    model = PeftModel.from_pretrained(base_model, "zhangdah/phi-3-mini-LoRA")
  • Notebooks
  • Google Colab
  • Kaggle
phi-3-mini-LoRA
7.68 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
zhangdah's picture
zhangdah
Upload tokenizer
ae5fa46 verified over 1 year ago
  • runs
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.09 kB
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • adapter_config.json
    735 Bytes
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • adapter_model.safetensors
    35.7 MB
    xet
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • added_tokens.json
    293 Bytes
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • config.json
    1.01 kB
    Upload Phi3ForCausalLM over 1 year ago
  • generation_config.json
    172 Bytes
    Upload Phi3ForCausalLM over 1 year ago
  • model-00001-of-00002.safetensors
    4.97 GB
    xet
    Upload Phi3ForCausalLM over 1 year ago
  • model-00002-of-00002.safetensors
    2.67 GB
    xet
    Upload Phi3ForCausalLM over 1 year ago
  • model.safetensors.index.json
    16.3 kB
    Upload Phi3ForCausalLM over 1 year ago
  • special_tokens_map.json
    447 Bytes
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • tokenizer.json
    1.85 MB
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • tokenizer.model
    500 kB
    xet
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • tokenizer_config.json
    3.33 kB
    zhangdah/adapter-phi-3-mini-test over 1 year ago
  • training_args.bin
    5.37 kB
    xet
    zhangdah/adapter-phi-3-mini-test over 1 year ago