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

  • Log In
  • Sign Up

Pashtu
/
llama2-d

PEFT
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • PEFT

    How to use Pashtu/llama2-d 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, "Pashtu/llama2-d")
  • Notebooks
  • Google Colab
  • Kaggle
llama2-d
35.4 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Imran1's picture
Imran1
Upload tokenizer
14bf6fd almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    435 Bytes
    Upload model almost 3 years ago
  • adapter_config.json
    449 Bytes
    Upload model almost 3 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    33.6 MB
    xet
    Upload model almost 3 years ago
  • special_tokens_map.json
    434 Bytes
    Upload tokenizer almost 3 years ago
  • tokenizer.json
    1.84 MB
    Upload tokenizer almost 3 years ago
  • tokenizer_config.json
    695 Bytes
    Upload tokenizer almost 3 years ago