Downloads · 30 days
9
45% of all-time downloads
mrstarkng/financial-summarization-vit5-lora
financial-summarization-vit5-lora is a summarization model from mrstarkng. Use it when you need a shorter version of a longer text. It is set up for adapter-transformers. The card lists the license as mit.
financial-summarization-vit5-lora model, a fine-tuned version of the VietAI/vit5-base model using LoRA (Low-Rank Adaptation) for Vietnamese financial text summarization. The model achieves a ROUGE-L score of 34.45 on…
Downloads · 30 days
9
45% of all-time downloads
All-time downloads
20
Public
Repo size
79.5 MB
Likes
0
Public
Click a slice to open those files.
.pt52.6 MB · 49%
From the Hugging Face model README
financial-summarization-vit5-lora model, a fine-tuned version of the VietAI/vit5-base model using LoRA (Low-Rank Adaptation) for Vietnamese financial text summarization. The model achieves a ROUGE-L score of 34.45 on the test set, demonstrating its effectiveness in summarizing financial news articles.
The financial-summarization-vit5-lora model is a parameter-efficient fine-tuned version of the VietAI/vit5-base model, optimized for summarizing Vietnamese financial news. It uses the LoRA technique to adapt the pre-trained model with minimal additional parameters, making it suitable for training on limited hardware like Kaggle T4 GPUs.
This model can be used directly for summarizing Vietnamese financial texts. Example use cases include:
The model can be fine-tuned further for specific financial domains or integrated into larger NLP pipelines for text generation tasks.
The model was trained on a specific dataset of Vietnamese financial news, which may introduce biases related to the data source (e.g., specific news outlets or time periods). Limitations include:
Users should validate the model's outputs against ground truth data, especially for critical financial decisions. Awareness of potential biases and limitations is recommended.
Use the following code to get started with the model:
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
model_name = "mrstarkng/financial-summarization-vit5-lora"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
input_text = "summarize: [Your Vietnamese financial text here]"
inputs = tokenizer(input_text, return_tensors="pt", max_length=512, truncation=True, padding="max_length")
outputs = model.generate(**inputs, max_length=128)
summary = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(summary)
The model was trained on a dataset of Vietnamese financial news articles, sourced from vnexpress.vm/cafef.vn/thanhnnien.vn. The dataset includes train.csv (9217 samples) and val.csv (1153 samples), preprocessed with a task prefix "summarize: ".
VietAI/vit5-base tokenizer.max_length=512, and target sequences to max_length=128.-100 to be ignored in loss calculation.r=8, lora_alpha=16, lora_dropout=0.05, target_modules=["q", "k", "v", "o", "wi", "wo"]The model achieves a ROUGE-L score of 34.43, indicating good summarization performance for Vietnamese financial texts under the given constraints.
BibTeX:
@misc{financial-summarization-vit5-lora,
author = {mrstarkng},
title = {Financial Summarization with ViT5 and LoRA},
year = {2025},
url = {https://huggingface.co/mrstarkng/financial-summarization-vit5-lora}
}
APA: mrstarkng. (2025). Financial Summarization with ViT5 and LoRA. https://huggingface.co/mrstarkng/financial-summarization-vit5-lora
For questions or feedback, please contact mrstarkng via GitHub or the Hugging Face platform.