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

alaamostafa
/
Microsoft-Phi-2

PEFT
Safetensors
English
phi-2
lora
fine-tuned
neuroscience
Model card Files Files and versions
xet
Community

Instructions to use alaamostafa/Microsoft-Phi-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use alaamostafa/Microsoft-Phi-2 with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
    model = PeftModel.from_pretrained(base_model, "alaamostafa/Microsoft-Phi-2")
  • Notebooks
  • Google Colab
  • Kaggle
Microsoft-Phi-2
67.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
alaamostafa's picture
alaamostafa
Upload README.md with huggingface_hub
2eb58db verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.21 kB
    Upload README.md with huggingface_hub about 1 year ago
  • adapter_config.json
    771 Bytes
    Upload model about 1 year ago
  • adapter_model.safetensors
    62.9 MB
    xet
    Upload model about 1 year ago
  • added_tokens.json
    1.08 kB
    Upload tokenizer about 1 year ago
  • merges.txt
    456 kB
    Upload tokenizer about 1 year ago
  • special_tokens_map.json
    473 Bytes
    Upload tokenizer about 1 year ago
  • tokenizer.json
    3.57 MB
    Upload tokenizer about 1 year ago
  • tokenizer_config.json
    7.44 kB
    Upload tokenizer about 1 year ago
  • vocab.json
    798 kB
    Upload tokenizer about 1 year ago