Summarization
Transformers
PyTorch
TensorBoard
t5
text2text-generation
Generated from Trainer
Eval Results (legacy)
text-generation-inference
Instructions to use Hoax0930/summary_tutorial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hoax0930/summary_tutorial 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="Hoax0930/summary_tutorial")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Hoax0930/summary_tutorial") model = AutoModelForSeq2SeqLM.from_pretrained("Hoax0930/summary_tutorial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from Hoax0930/summary_tutorial: direct link, hf CLI and curl.
- Browser
- Download file 3.5 kB
-
https://huggingface.co/Hoax0930/summary_tutorial/resolve/main/training_args.bin
- Command line
-
hf download hf://Hoax0930/summary_tutorial/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Hoax0930/summary_tutorial/resolve/main/training_args.bin
3.5 kB
- Xet hash:
- cdaba89a66f7989b97d388926fd6d58ef96882f171343f678688641affd9cf4e
- Size of remote file:
- 3.5 kB
- SHA256:
- b5c8708790616b453a8831b95abb070fedf4efa01ad1d69891e2c1f7e82796b3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.