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

gabe-zhang
/
Llama-PaperSummarization-LoRA

Summarization
PEFT
Safetensors
PyTorch
Transformers
English
paper-summarization
lora
fine-tuning
llama
Model card Files Files and versions
xet
Community

Instructions to use gabe-zhang/Llama-PaperSummarization-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use gabe-zhang/Llama-PaperSummarization-LoRA with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B-Instruct")
    model = PeftModel.from_pretrained(base_model, "gabe-zhang/Llama-PaperSummarization-LoRA")
  • Transformers

    How to use gabe-zhang/Llama-PaperSummarization-LoRA with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="gabe-zhang/Llama-PaperSummarization-LoRA")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("gabe-zhang/Llama-PaperSummarization-LoRA", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Llama-PaperSummarization-LoRA
1.73 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
gabe-zhang's picture
gabe-zhang
Upload README.md with huggingface_hub
d5aeadf verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • LICENSE
    1.07 kB
    Upload LICENSE with huggingface_hub 4 months ago
  • LICENSE_Llama3.2
    7.67 kB
    Add Llama3.2 license over 1 year ago
  • Notice
    115 Bytes
    Create Notice over 1 year ago
  • README.md
    2.33 kB
    Upload README.md with huggingface_hub 4 months ago
  • adapter_config.json
    657 Bytes
    Upload finetuned model over 1 year ago
  • adapter_model.safetensors
    1.71 MB
    xet
    Upload finetuned model over 1 year ago
  • generation_config.json
    217 Bytes
    Upload finetuned model over 1 year ago