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

hiraltalsaniya
/
phi-2-test

PEFT
Safetensors
phi
custom_code
Model card Files Files and versions
xet
Community

Instructions to use hiraltalsaniya/phi-2-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use hiraltalsaniya/phi-2-test with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
    model = PeftModel.from_pretrained(base_model, "hiraltalsaniya/phi-2-test")
  • Notebooks
  • Google Colab
  • Kaggle
phi-2-test
50.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
hiraltalsaniya's picture
hiraltalsaniya
Upload modeling_phi.py
0540c20 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    5.09 kB
    Upload 14 files over 2 years ago
  • adapter_config.json
    591 Bytes
    Upload 14 files over 2 years ago
  • adapter_model.safetensors
    31.5 MB
    xet
    Upload 14 files over 2 years ago
  • added_tokens.json
    1.08 kB
    Upload 14 files over 2 years ago
  • config.json
    863 Bytes
    Rename config (1).json to config.json over 2 years ago
  • configuration_phi.py
    9.26 kB
    Upload configuration_phi.py over 2 years ago
  • merges.txt
    456 kB
    Upload 14 files over 2 years ago
  • modeling_phi.py
    62.7 kB
    Upload modeling_phi.py over 2 years ago
  • optimizer.pt
    15.9 MB
    xet
    Upload 14 files over 2 years ago
  • rng_state.pth
    14.2 kB
    xet
    Upload 14 files over 2 years ago
  • scheduler.pt
    1.06 kB
    xet
    Upload 14 files over 2 years ago
  • special_tokens_map.json
    473 Bytes
    Upload 14 files over 2 years ago
  • tokenizer.json
    2.12 MB
    Upload 14 files over 2 years ago
  • tokenizer_config.json
    7.42 kB
    Upload 14 files over 2 years ago
  • trainer_state.json
    902 Bytes
    Upload 14 files over 2 years ago
  • training_args.bin
    4.73 kB
    xet
    Upload 14 files over 2 years ago
  • vocab.json
    798 kB
    Upload 14 files over 2 years ago