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

kevinautomation
/
llama2_instruct_generation

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

Instructions to use kevinautomation/llama2_instruct_generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use kevinautomation/llama2_instruct_generation with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-hf")
    model = PeftModel.from_pretrained(base_model, "kevinautomation/llama2_instruct_generation")
  • Notebooks
  • Google Colab
  • Kaggle
llama2_instruct_generation
2.38 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
kevinautomation's picture
kevinautomation
kevinautomation/llama2-test2
338ce09 verified over 2 years ago
  • runs
    kevinautomation/llama2-test2 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.42 kB
    kevinautomation/llama2-test2 over 2 years ago
  • adapter_config.json
    601 Bytes
    kevinautomation/llama2-test2 over 2 years ago
  • adapter_model.safetensors
    48 Bytes
    xet
    kevinautomation/llama2-test1 over 2 years ago
  • special_tokens_map.json
    434 Bytes
    https://huggingface.co/kevinautomation/llama2_QLoRA over 2 years ago
  • tokenizer.json
    1.84 MB
    https://huggingface.co/kevinautomation/llama2_QLoRA over 2 years ago
  • tokenizer.model
    500 kB
    xet
    kevinautomation/llama2-test1 over 2 years ago
  • tokenizer_config.json
    890 Bytes
    https://huggingface.co/kevinautomation/llama2_QLoRA over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

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

    How to fix it?

    4.73 kB
    xet
    kevinautomation/llama2-test2 over 2 years ago