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

snewcomer
/
phi-2-finetuned

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

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

  • Libraries
  • PEFT

    How to use snewcomer/phi-2-finetuned with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
    model = PeftModel.from_pretrained(base_model, "snewcomer/phi-2-finetuned")
  • Notebooks
  • Google Colab
  • Kaggle
phi-2-finetuned
11.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
snewcomer's picture
snewcomer
Upload PhiForCausalLM
ade8fc0 verified over 2 years ago
  • runs
    Model save over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.11 kB
    Model save over 2 years ago
  • adapter_config.json
    574 Bytes
    Model save over 2 years ago
  • adapter_model.safetensors
    105 MB
    xet
    Model save over 2 years ago
  • config.json
    895 Bytes
    Upload PhiForCausalLM over 2 years ago
  • generation_config.json
    69 Bytes
    Upload PhiForCausalLM over 2 years ago
  • model-00001-of-00003.safetensors
    4.98 GB
    xet
    Upload PhiForCausalLM over 2 years ago
  • model-00002-of-00003.safetensors
    4.98 GB
    xet
    Upload PhiForCausalLM over 2 years ago
  • model-00003-of-00003.safetensors
    1.15 GB
    xet
    Upload PhiForCausalLM over 2 years ago
  • model.safetensors.index.json
    35.7 kB
    Upload PhiForCausalLM over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

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

    How to fix it?

    4.73 kB
    xet
    Model save over 2 years ago