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

aymanashour
/
summ2

Text Classification
Transformers
PyTorch
megatron-bert
Model card Files Files and versions
xet
Community
1

Instructions to use aymanashour/summ2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use aymanashour/summ2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="aymanashour/summ2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("aymanashour/summ2")
    model = AutoModelForSequenceClassification.from_pretrained("aymanashour/summ2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
summ2
4.27 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
aashour's picture
aashour
pushing model data
140e761 over 4 years ago
  • .gitattributes
    1.17 kB
    initial commit over 4 years ago
  • README.md
    28 Bytes
    initial commit over 4 years ago
  • config.json
    777 Bytes
    pushing model data over 4 years ago
  • optimizer.pt
    2.84 GB
    xet
    pushing model data over 4 years ago
  • pytorch_model.bin
    1.42 GB
    xet
    pushing model data over 4 years ago
  • rng_state.pth
    14.5 kB
    xet
    pushing model data over 4 years ago
  • scaler.pt
    559 Bytes
    xet
    pushing model data over 4 years ago
  • scheduler.pt
    623 Bytes
    xet
    pushing model data over 4 years ago
  • special_tokens_map.json
    125 Bytes
    pushing model data over 4 years ago
  • tokenizer.json
    1.17 MB
    pushing model data over 4 years ago
  • tokenizer_config.json
    396 Bytes
    pushing model data over 4 years ago
  • trainer_state.json
    1.5 kB
    pushing model data over 4 years ago
  • training_args.bin
    3.31 kB
    xet
    pushing model data over 4 years ago
  • vocab.txt
    379 kB
    pushing model data over 4 years ago