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