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

MohamedSayed112
/
sst2-distilbert-LoRA

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

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

  • Libraries
  • PEFT

    How to use MohamedSayed112/sst2-distilbert-LoRA with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForSequenceClassification
    
    base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased")
    model = PeftModel.from_pretrained(base_model, "MohamedSayed112/sst2-distilbert-LoRA")
  • Notebooks
  • Google Colab
  • Kaggle
sst2-distilbert-LoRA
4.27 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
MohamedSayed112's picture
MohamedSayed112
Update README.md
2eb046f verified 3 days ago
  • .gitattributes
    1.52 kB
    initial commit 4 days ago
  • README.md
    3.57 kB
    Update README.md 3 days ago
  • adapter_config.json
    1.18 kB
    Upload-a-Lora-distilbert-model 4 days ago
  • adapter_model.safetensors
    3.55 MB
    xet
    Upload-a-Lora-distilbert-model 4 days ago
  • tokenizer.json
    711 kB
    Upload-a-Lora-distilbert-tokenizer 4 days ago
  • tokenizer_config.json
    458 Bytes
    Upload-a-Lora-distilbert-tokenizer 4 days ago