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

  • Log In
  • Sign Up

xy1e22
/
text-lora

PEFT
Safetensors
Transformers
lora
Model card Files Files and versions
xet
Community

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

  • Libraries
  • PEFT

    How to use xy1e22/text-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSeq2SeqLM
    
    base_model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-base")
    model = PeftModel.from_pretrained(base_model, "xy1e22/text-lora")
  • Transformers

    How to use xy1e22/text-lora with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("xy1e22/text-lora", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
text-lora
203 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
xy1e22's picture
xy1e22
Upload step_text_lora.txt with huggingface_hub
5041a9d verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    5.16 kB
    upload text LoRA adapter 3 months ago
  • adapter_config.json
    965 Bytes
    upload text LoRA adapter 3 months ago
  • adapter_model.safetensors
    201 MB
    xet
    upload text LoRA adapter 3 months ago
  • step_text_lora.txt
    341 Bytes
    Upload step_text_lora.txt with huggingface_hub 3 months ago
  • tokenizer.json
    2.11 MB
    upload text LoRA adapter 3 months ago
  • tokenizer_config.json
    2.35 kB
    upload text LoRA adapter 3 months ago