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

NbAiLab
/
nb-alpaca-lora-7b

Text Generation
PEFT
Safetensors
Norwegian
Norwegian Bokmål
Model card Files Files and versions
xet
Community
3

Instructions to use NbAiLab/nb-alpaca-lora-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use NbAiLab/nb-alpaca-lora-7b with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("decapoda-research/llama-7b-hf")
    model = PeftModel.from_pretrained(base_model, "NbAiLab/nb-alpaca-lora-7b")
  • Notebooks
  • Google Colab
  • Kaggle
nb-alpaca-lora-7b
33.6 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 11 commits
versae's picture
versae
librarian-bot's picture
librarian-bot
Librarian Bot: Add base_model information to model (#3)
c55350d over 2 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    5.31 kB
    Librarian Bot: Add base_model information to model (#3) over 2 years ago
  • adapter_config.json
    370 Bytes
    LoRA weights about 3 years ago
  • adapter_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    16.8 MB
    xet
    LoRA weights about 3 years ago
  • adapter_model.safetensors
    16.8 MB
    xet
    Adding `safetensors` variant of this model (#2) over 2 years ago
  • export_hf_checkpoint.py
    1.71 kB
    LoRA weights about 3 years ago
  • export_state_dict_checkpoint.py
    3.76 kB
    LoRA weights about 3 years ago
  • generate.py
    5.18 kB
    LoRA weights about 3 years ago