Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Iltaf
/
sst2-lora-distilbert

Text Classification
PEFT
Safetensors
lora
sentiment
sst2
distilbert
Model card Files Files and versions
xet
Community

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

  • Libraries
  • PEFT

    How to use Iltaf/sst2-lora-distilbert with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased-finetuned-sst-2-english")
    model = PeftModel.from_pretrained(base_model, "Iltaf/sst2-lora-distilbert")
  • Notebooks
  • Google Colab
  • Kaggle
sst2-lora-distilbert
3.68 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
Iltaf's picture
Iltaf
Upload README.md with huggingface_hub
a63b13e verified 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    5.26 kB
    Upload README.md with huggingface_hub 2 months ago
  • adapter_config.json
    1.19 kB
    Upload model 2 months ago
  • adapter_model.safetensors
    2.96 MB
    xet
    Upload model 2 months ago
  • tokenizer.json
    711 kB
    Upload tokenizer 2 months ago
  • tokenizer_config.json
    351 Bytes
    Upload tokenizer 2 months ago