Instructions to use WilliamWen/summarization_02 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WilliamWen/summarization_02 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="WilliamWen/summarization_02")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("WilliamWen/summarization_02") model = AutoModelForSeq2SeqLM.from_pretrained("WilliamWen/summarization_02", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 6157347ac21ffb9faa1eeecd87b1edbe908b2eeb28d18aa0fe8a12155d2021bf
- Size of remote file:
- 2.11 MB
- SHA256:
- bea29af54361195798275864c74fa2b9c5cccf2a3e3df09662253422e9e324a2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.