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

stanleychu2
/
roberta-fever

Text Classification
Transformers
PyTorch
roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use stanleychu2/roberta-fever with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use stanleychu2/roberta-fever with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="stanleychu2/roberta-fever")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("stanleychu2/roberta-fever")
    model = AutoModelForSequenceClassification.from_pretrained("stanleychu2/roberta-fever", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
roberta-fever
1.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
stanleychu2's picture
stanleychu2
Update from stanley
15491e8 about 5 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • config.json
    840 Bytes
    Update from stanley about 5 years ago
  • merges.txt
    456 kB
    Update from stanley about 5 years ago
  • optimizer.pt
    997 MB
    xet
    Update from stanley about 5 years ago
  • pytorch_model.bin
    499 MB
    xet
    Update from stanley about 5 years ago
  • rng_state.pth
    14.7 kB
    xet
    Update from stanley about 5 years ago
  • scaler.pt
    559 Bytes
    xet
    Update from stanley about 5 years ago
  • scheduler.pt
    623 Bytes
    xet
    Update from stanley about 5 years ago
  • special_tokens_map.json
    772 Bytes
    Update from stanley about 5 years ago
  • tokenizer.json
    1.36 MB
    Update from stanley about 5 years ago
  • tokenizer_config.json
    1.07 kB
    Update from stanley about 5 years ago
  • trainer_state.json
    23.2 kB
    Update from stanley about 5 years ago
  • training_args.bin
    2.48 kB
    xet
    Update from stanley about 5 years ago
  • vocab.json
    798 kB
    Update from stanley about 5 years ago