Instructions to use xtie/BART-PET-impression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xtie/BART-PET-impression 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="xtie/BART-PET-impression")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("xtie/BART-PET-impression") model = AutoModelForSeq2SeqLM.from_pretrained("xtie/BART-PET-impression", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
c404b13
-
Update README.md
42906b3 -
Update README.md
55ca429 -
Update README.md
aa3f882 -
Update README.md
319a5ab -
Update README.md
a71593d -
Update README.md
b665c66 -
Update README.md
01b084d -
Update README.md
ae47a25 -
Update README.md
a351f6a -
Update README.md
8b8d4e3 -
Update README.md
86d3e11 -
Update README.md
a9b531c -
Update README.md
bf7cd13 -
Update README.md
a3cb451 -
Update README.md
1a9088e -
Update README.md
bfcedf7 -
Update README.md
0b57d7e -
Initial commit
fa8a502
-
Create README.md
289c186 -
initial commit
ab36d7c