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
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (7b99eb50e5ea429fc71b724eae3363c550bd31d8) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>6c40c45
-
Update README.md
d105d62 -
Create README.md
0cdc65b -
Delete LICENSE
4ac33d0 -
Create LICENSE
8fde6d2
-
Upload tokenizer
ea0aa6c -
Upload MBartForConditionalGeneration
6d05e80 -
initial commit
70e6240