Instructions to use PhucMap/ViSenSum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PhucMap/ViSenSum 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="PhucMap/ViSenSum")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("PhucMap/ViSenSum") model = AutoModelForSeq2SeqLM.from_pretrained("PhucMap/ViSenSum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sentencepiece.bpe.model from PhucMap/ViSenSum: direct link, hf CLI and curl.
- Browser
- Download file 5.07 MB
-
https://huggingface.co/PhucMap/ViSenSum/resolve/main/sentencepiece.bpe.model
- Command line
-
hf download hf://PhucMap/ViSenSum/sentencepiece.bpe.model
-
curl -L -o sentencepiece.bpe.model https://huggingface.co/PhucMap/ViSenSum/resolve/main/sentencepiece.bpe.model
5.07 MB
- Xet hash:
- ad3e6aac23a8a87f79c4164f1ce17d9d5bbbd51e8edd05bd00e3d06dd9e802a8
- Size of remote file:
- 5.07 MB
- SHA256:
- cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.