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

vkrishnan569
/
gemma-law-lora

PEFT
Safetensors
gemma
4-bit precision
bitsandbytes
Model card Files Files and versions
xet
Community

Instructions to use vkrishnan569/gemma-law-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use vkrishnan569/gemma-law-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-2b-it-bnb-4bit")
    model = PeftModel.from_pretrained(base_model, "vkrishnan569/gemma-law-lora")
  • Notebooks
  • Google Colab
  • Kaggle
gemma-law-lora
2.17 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
vkrishnan569's picture
vkrishnan569
Upload model
1d72e50 verified about 2 years ago
  • .gitattributes
    1.57 kB
    Upload tokenizer about 2 years ago
  • README.md
    5.1 kB
    Upload 3 files about 2 years ago
  • adapter_config.json
    733 Bytes
    Upload model trained with Unsloth about 2 years ago
  • adapter_model.safetensors
    78.5 MB
    xet
    Upload model trained with Unsloth about 2 years ago
  • config.json
    1.11 kB
    Upload 3 files about 2 years ago
  • generation_config.json
    137 Bytes
    Upload 3 files about 2 years ago
  • model.safetensors
    2.07 GB
    xet
    Upload 3 files about 2 years ago
  • special_tokens_map.json
    636 Bytes
    Upload tokenizer about 2 years ago
  • tokenizer.json
    17.5 MB
    xet
    Upload tokenizer about 2 years ago
  • tokenizer.model
    4.24 MB
    xet
    Upload tokenizer about 2 years ago
  • tokenizer_config.json
    40.6 kB
    Upload tokenizer about 2 years ago