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

Vishal24
/
trained-llama2

PEFT
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • PEFT

    How to use Vishal24/trained-llama2 with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("Vishal24/llama2-7B-base")
    model = PeftModel.from_pretrained(base_model, "Vishal24/trained-llama2")
  • Notebooks
  • Google Colab
  • Kaggle
trained-llama2
17.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Vishal24's picture
Vishal24
Update adapter_config.json
c63b82e over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    469 Bytes
    Upload 4 files over 2 years ago
  • adapter_config.json
    445 Bytes
    Update adapter_config.json over 2 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    16.8 MB
    xet
    Upload 2 files over 2 years ago
  • special_tokens_map.json
    411 Bytes
    Upload 4 files over 2 years ago
  • tokenizer.model
    500 kB
    xet
    Upload 2 files over 2 years ago
  • tokenizer_config.json
    824 Bytes
    Upload 4 files over 2 years ago