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