模型:
merve/chatgpt-prompt-generator-v12
This model is a fine-tuned version of BART-large on a ChatGPT prompts dataset. It achieves the following results on the evaluation set: 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 |
---|---|---|
5.3808 | 3.3133 | 0 |
3.2642 | 3.0104 | 1 |
2.8886 | 2.8600 | 2 |
2.6594 | 2.7949 | 3 |
2.4800 | 2.7320 | 4 |