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

  • Log In
  • Sign Up

AlexMaclean
/
sentence-compression

Token Classification
Transformers
PyTorch
distilbert
Generated from Trainer
Model card Files Files and versions
xet
Community
12

Instructions to use AlexMaclean/sentence-compression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AlexMaclean/sentence-compression with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="AlexMaclean/sentence-compression")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("AlexMaclean/sentence-compression")
    model = AutoModelForTokenClassification.from_pretrained("AlexMaclean/sentence-compression")
  • Notebooks
  • Google Colab
  • Kaggle
sentence-compression
261 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Alex MacLean
End of Training
8b4cdfd over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • .gitignore
    13 Bytes
    End of Training over 4 years ago
  • README.md
    1.06 kB
    update model card README.md over 4 years ago
  • config.json
    584 Bytes
    End of Training over 4 years ago
  • pytorch_model.bin
    261 MB
    xet
    End of Training over 4 years ago
  • special_tokens_map.json
    112 Bytes
    End of Training over 4 years ago
  • tokenizer.json
    436 kB
    End of Training over 4 years ago
  • tokenizer_config.json
    332 Bytes
    End of Training over 4 years ago
  • training_args.bin
    2.8 kB
    xet
    End of Training over 4 years ago
  • vocab.txt
    213 kB
    End of Training over 4 years ago