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
Commit ·
00c32c2
1
Parent(s): 40ed8e1
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
datasets:
|
| 4 |
+
- HelloImSteven/applescript-lines-annotated
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- applescript
|
| 9 |
+
- code
|
| 10 |
+
widget:
|
| 11 |
+
- text: on openFile(filePath, permission)
|
| 12 |
+
example_title: Handler Definition
|
| 13 |
+
- text: on openFile(filePath, permission)
|
| 14 |
+
example_title: Handler Definition
|
| 15 |
+
pipeline_tag: summarization
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Model Description
|
| 19 |
+
|
| 20 |
+
# Usage
|