Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

HelloImSteven
/
AppleScript-Summarizer

Summarization
Transformers
PyTorch
Safetensors
English
bart
text2text-generation
applescript
code
Model card Files Files and versions
xet
Community
1

Instructions to use HelloImSteven/AppleScript-Summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use HelloImSteven/AppleScript-Summarizer with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="HelloImSteven/AppleScript-Summarizer")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("HelloImSteven/AppleScript-Summarizer")
    model = AutoModelForSeq2SeqLM.from_pretrained("HelloImSteven/AppleScript-Summarizer")
  • Notebooks
  • Google Colab
  • Kaggle
AppleScript-Summarizer
1.48 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
HelloImSteven's picture
HelloImSteven
initial commit
1434d4e about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago