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

  • Log In
  • Sign Up

mysmmurf12
/
sentiment-analyzer

Text Classification
PEFT
Safetensors
Transformers
English
sentiment-analysis
opinion-mining
emotion-detection
nlp
natural-language-processing
lora
adapter
fine-tuning
gemma
gemma-2b
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use mysmmurf12/sentiment-analyzer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use mysmmurf12/sentiment-analyzer with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2b")
    model = PeftModel.from_pretrained(base_model, "mysmmurf12/sentiment-analyzer")
  • Transformers

    How to use mysmmurf12/sentiment-analyzer with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="mysmmurf12/sentiment-analyzer")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("mysmmurf12/sentiment-analyzer", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
sentiment-analyzer
12.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
mysmmurf12's picture
mysmmurf12
Update README.md
616103c verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    3.08 kB
    Update README.md 4 months ago
  • adapter_config.json
    968 Bytes
    Upload folder using huggingface_hub 4 months ago
  • adapter_model.safetensors
    3.7 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • special_tokens_map.json
    636 Bytes
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    4.19 MB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.model
    4.24 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    40 kB
    Upload folder using huggingface_hub 4 months ago