Downloads · 30 days
17
1% of all-time downloads
pszemraj/bart-base-instructiongen
bart-base-instructiongen is a machine learning model from pszemraj. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Instead of generating questions from text, generate instructions for LLMs!
Downloads · 30 days
17
1% of all-time downloads
All-time downloads
1.5K
Public
Parameters
139M
2.4 GB on disk
Likes
4
Public
Click a slice to open those files.
.onnx713 MB · 39%
From the Hugging Face model README
Instead of generating questions from text, generate instructions for LLMs!
Hypothesis: Apply text-to-text models to unlabeled domain-specific text to generate appropriate LLM instructions. Consequently, this may enable domain adaptation of instruction-tuned LLMs, making them more versatile for specific domains.
This model is a fine-tuned version of the facebook/bart-base model, fine-tuned using the pszemraj/fleece2instructions dataset.
It achieves the following results on the evaluation set:
This is just a base model/example. There is likely to be even better performance with larger models (click here to see other checkpoints)
Additionally, this was trained on a dataset of only instructions+outputs, with the inputs filtered out. This means that text of 1) cookies and cream 2) chocolate chip 3) mint chip 4) oreo will not get you "Rank the following ice cream flavors: oreo, mint chip, chocolate chip, cookies and cream".
See the linked dataset pszemraj/fleece2instructions - it is a filtered/formatted version of tatsu-lab/alpaca to generate instructions for arbitrary text.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|---|---|---|---|---|---|---|---|---|
| 1.2723 | 1.0 | 362 | 1.0325 | 61.6206 | 45.1199 | 59.6467 | 59.7534 | 14.0443 |
| 1.0157 | 2.0 | 724 | 1.0034 | 62.4433 | 46.0114 | 60.5355 | 60.6392 | 14.1807 |