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
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
HelloImSteven's picture
HelloImSteven
Update README.md
2cff61c about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    3.72 kB
    Update README.md about 3 years ago
  • config.json
    1.7 kB
    Update model about 3 years ago
  • generation_config.json
    262 Bytes
    Update model about 3 years ago
  • merges.txt
    456 kB
    Upload tokenizer about 3 years ago
  • model.safetensors
    1.63 GB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin
    1.63 GB
    xet
    Update model about 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload tokenizer about 3 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer about 3 years ago
  • tokenizer_config.json
    349 Bytes
    Update model about 3 years ago
  • vocab.json
    798 kB
    Upload tokenizer about 3 years ago