Downloads · 30 days
154
1% of all-time downloads
merve/chatgpt-prompts-bart-long
chatgpt-prompts-bart-long is a machine learning model from merve. 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.
This model is a fine-tuned version of BART-large on a ChatGPT prompts dataset. It achieves the following results on the evaluation set: - Train Loss: 2.8329 - Validation Loss: 2.5015 - Epoch: 4
Downloads · 30 days
154
1% of all-time downloads
All-time downloads
12.1K
Public
Repo size
1.6 GB
Likes
57
Public
Click a slice to open those files.
.h51.6 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of BART-large on a ChatGPT prompts dataset. It achieves the following results on the evaluation set:
You can use this to generate ChatGPT personas. Simply input a persona like below:
from transformers import BartForConditionalGeneration, BartTokenizer
example_english_phrase = "photographer"
batch = tokenizer(example_english_phrase, return_tensors="pt")
generated_ids = model.generate(batch["input_ids"], max_new_tokens=150)
output = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
The following hyperparameters were used during training:
| Train Loss | Validation Loss | Epoch |
|---|---|---|
| 8.4973 | 6.3592 | 0 |
| 5.3145 | 3.2640 | 1 |
| 3.5899 | 2.8350 | 2 |
| 3.1044 | 2.6154 | 3 |
| 2.8329 | 2.5015 | 4 |