Downloads · 30 days
0
0% of all-time downloads
thisjustinh/falcon-7b-cnn-dailymail
falcon-7b-cnn-dailymail is a machine learning model from thisjustinh. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is a fine-tuned version of ybelkada/falcon-7b-sharded-bf16 on the cnndailymail dataset.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
2
Public
Repo size
522 MB
Likes
0
Public
Click a slice to open those files.
.bin522 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of ybelkada/falcon-7b-sharded-bf16 on the cnn_dailymail dataset.
The model inherits the architecture and tokenizer from falcon-7b, but was finetuned using 4-bit quantization from bitsandbytes and QLORA from the peft library. The HuggingFace trl library has a SFTTrainer class that oversaw the fine-tune process.
The resulting model comes from fine-tuning on a single NVIDIA L4 instance (24 GB VRAM) from Google Cloud Platform.
The model is intended to be used for summarizing news articles. Since the fine-tuning dataset is cnn_dailymail, it's worth limiting to shorter articles from CNN and the Daily Mail for best results. The model is not intended for other summarization purposes, although it would be interesting to see if its summarization capabilities extend to other short forms of text.
The model was fine-tuned over the cnn_dailymail dataset (the train set specifically), where articles were the "prompts" and highlights were the "responses." Prior to training, the two columns were combined for the causal LM task.
Each observation was formatted as the following:
### Article
Article goes here...
### Summary
Highlights go here...
For inference, formatting the article in the same way and finishing with the summary tag indicates that the model should generate a summary.
The following hyperparameters were used during training:
Good question, haven't really looked into it yet. Also worth noting that these are generally arbitrary hyperparameters, since no tuning was performed.