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

  • Log In
  • Sign Up

Globaly
/
llama2-first-project

PEFT
Model card Files Files and versions
xet
Community
1

Instructions to use Globaly/llama2-first-project with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use Globaly/llama2-first-project with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("Trelis/Llama-2-7b-chat-hf-sharded-bf16")
    model = PeftModel.from_pretrained(base_model, "Globaly/llama2-first-project")
  • Notebooks
  • Google Colab
  • Kaggle
llama2-first-project
268 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Globaly's picture
Globaly
Upload model
42f61fe over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    435 Bytes
    Upload model over 2 years ago
  • adapter_config.json
    462 Bytes
    Upload model over 2 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    268 MB
    xet
    Upload model over 2 years ago