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

Chiaki111
/
phi4-lora

PEFT
Safetensors
Transformers
lora
Model card Files Files and versions
xet
Community

Instructions to use Chiaki111/phi4-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Chiaki111/phi4-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/Phi-4-mini-instruct")
    model = PeftModel.from_pretrained(base_model, "Chiaki111/phi4-lora")
  • Transformers

    How to use Chiaki111/phi4-lora with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Chiaki111/phi4-lora", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
phi4-lora / checkpoint-138
53.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Chiaki111's picture
Chiaki111
Upload folder using huggingface_hub
e6cff71 verified 4 months ago
  • README.md
    5.18 kB
    Upload folder using huggingface_hub 4 months ago
  • adapter_config.json
    1.09 kB
    Upload folder using huggingface_hub 4 months ago
  • adapter_model.safetensors
    12.6 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • chat_template.jinja
    423 Bytes
    Upload folder using huggingface_hub 4 months ago
  • optimizer.pt
    25.2 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • rng_state.pth
    14.6 kB
    xet
    Upload folder using huggingface_hub 4 months ago
  • scheduler.pt
    1.47 kB
    xet
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    15.5 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    321 Bytes
    Upload folder using huggingface_hub 4 months ago
  • trainer_state.json
    1.33 kB
    Upload folder using huggingface_hub 4 months ago
  • training_args.bin
    5.14 kB
    xet
    Upload folder using huggingface_hub 4 months ago