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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Yuu-Xie
/
ModernBERT-Large-Amazon-Book-Review-Rating

Text Classification
Transformers
Safetensors
English
modernbert
sentiment-analysis
ordinal-regression
amazon-reviews
rating-prediction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Yuu-Xie/ModernBERT-Large-Amazon-Book-Review-Rating with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Yuu-Xie/ModernBERT-Large-Amazon-Book-Review-Rating with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Yuu-Xie/ModernBERT-Large-Amazon-Book-Review-Rating")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("Yuu-Xie/ModernBERT-Large-Amazon-Book-Review-Rating")
    model = AutoModelForSequenceClassification.from_pretrained("Yuu-Xie/ModernBERT-Large-Amazon-Book-Review-Rating", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ModernBERT-Large-Amazon-Book-Review-Rating
795 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Yuu-Xie's picture
Yuu-Xie
Update README.md
761f2a8 verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    359 Bytes
    Update README.md 5 months ago
  • config.json
    2.26 kB
    Upload ModernBertForSequenceClassification 5 months ago
  • model.safetensors
    792 MB
    xet
    Upload ModernBertForSequenceClassification 5 months ago
  • tokenizer.json
    3.58 MB
    Upload tokenizer 5 months ago
  • tokenizer_config.json
    396 Bytes
    Upload tokenizer 5 months ago