Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mikeee
/
phi-2-ft

PEFT
Safetensors
trl
sft
Generated from Trainer
Model card Files Files and versions
xet
Community

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

  • Libraries
  • PEFT

    How to use mikeee/phi-2-ft with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
    model = PeftModel.from_pretrained(base_model, "mikeee/phi-2-ft")
  • Notebooks
  • Google Colab
  • Kaggle
phi-2-ft
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
mikeee's picture
mikeee
phi-2-ft-evol-instruct-chinese-gpt4
1284f9f verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.07 kB
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago
  • adapter_config.json
    640 Bytes
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago
  • adapter_model.safetensors
    94.4 MB
    xet
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago
  • added_tokens.json
    1.08 kB
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago
  • merges.txt
    456 kB
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago
  • special_tokens_map.json
    473 Bytes
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago
  • tokenizer_config.json
    7.42 kB
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

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

    How to fix it?

    4.73 kB
    xet
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago
  • vocab.json
    999 kB
    phi-2-ft-evol-instruct-chinese-gpt4 over 2 years ago