Instructions to use imvladikon/het5_small_summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use imvladikon/het5_small_summarization 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="imvladikon/het5_small_summarization")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("imvladikon/het5_small_summarization") model = AutoModelForSeq2SeqLM.from_pretrained("imvladikon/het5_small_summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (154021e63d9d07e2bf4854721cec7910bbe34ef8) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>5737103
-
Update README.md
acaf167
-
Update README.md
118bb1e -
Update README.md
f502dba -
Create README.md
5907c32 -
init
9892458
-
Update config.json
39c7b4a -
Update generation_config.json
f44a501 -
init
ee17d2b -
init
77542a1 -
initial commit
21ccc42