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

marcosremar2
/
ucast-subtitle-compressor

Token Classification
Transformers
ONNX
Safetensors
bert
subtitles
live-captioning
text-compression
llmlingua-2
deletion-only
Model card Files Files and versions
xet
Community

Instructions to use marcosremar2/ucast-subtitle-compressor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use marcosremar2/ucast-subtitle-compressor with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("token-classification", model="marcosremar2/ucast-subtitle-compressor")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForTokenClassification
    
    tokenizer = AutoTokenizer.from_pretrained("marcosremar2/ucast-subtitle-compressor")
    model = AutoModelForTokenClassification.from_pretrained("marcosremar2/ucast-subtitle-compressor", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ucast-subtitle-compressor / benchmark
9.63 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
marcosremar2's picture
marcosremar2
Retrained on YODAS2 (CC BY 3.0): CC BY 4.0 weights, ONNX for the app, default w 0.6
44bad0a verified 4 days ago
  • items-w0.6.jsonl
    3.86 kB
    Retrained on YODAS2 (CC BY 3.0): CC BY 4.0 weights, ONNX for the app, default w 0.6 4 days ago
  • items.json
    2.93 kB
    Deletion-only subtitle compressor: weights, inference code, benchmark 5 days ago
  • results.json
    2.85 kB
    Retrained on YODAS2 (CC BY 3.0): CC BY 4.0 weights, ONNX for the app, default w 0.6 4 days ago