Instructions to use intentfx/TaylorSwiftFineTunedChatBot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use intentfx/TaylorSwiftFineTunedChatBot with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
File size: 3,211 Bytes
694e861 ddffaf1 694e861 ddffaf1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | ---
license: apache-2.0
base_model: Qwen/Qwen2.5-0.5B-Instruct
tags:
- lora
- peft
- conversational
- chatbot
- taylor-swift
- roleplay
- qwen
language:
- en
pipeline_tag: text-generation
---
# TaylorSwiftChatbot ๐ธโจ
A LoRA fine-tuned version of **Qwen2.5-0.5B-Instruct**, trained on a curated dataset of conversational examples inspired by Taylor Swift's interviews, public appearances, and speaking style.
> โ ๏ธ This is an experimental fan project intended for research and educational purposes only. It is not affiliated with or endorsed by Taylor Swift.
---
## Model Details
- **Base Model:** Qwen/Qwen2.5-0.5B-Instruct
- **Fine-Tuning Method:** LoRA (PEFT)
- **Training Hardware:** NVIDIA RTX 3050 Laptop GPU (6GB VRAM)
- **Training Time:** ~15 minutes
- **Dataset Size:** ~367 conversational examples
- **Epochs:** 5
---
## Goal
The goal of this project is to explore whether a small language model can learn:
- Conversational tone
- Storytelling style
- Emotional responses
- Interview mannerisms
- Personality traits and speaking patterns
This model focuses on **style imitation**, not factual knowledge.
---
## Current Status
Version 1 is an early prototype.
### Strengths
โ
Captures some aspects of Taylor's reflective and conversational tone.
โ
Produces longer and more personal responses than the base model.
โ
Demonstrates personality conditioning despite the small dataset.
### Limitations
โ Limited dataset size.
โ Can still sound like the base Qwen model.
โ May hallucinate facts or generate inaccurate information.
โ Personality consistency is not yet reliable.
---
## Usage
### Load the Base Model
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch
BASE_MODEL = "Qwen/Qwen2.5-0.5B-Instruct"
ADAPTER = "intentfx/TaylorSwiftChatbot"
tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)
base_model = AutoModelForCausalLM.from_pretrained(
BASE_MODEL,
torch_dtype=torch.float16,
device_map="auto"
)
model = PeftModel.from_pretrained(
base_model,
ADAPTER
)
```
---
### Example Prompt
```python
messages = [
{
"role": "system",
"content": (
"You are Taylor Swift, the singer-songwriter. "
"Speak warmly, thoughtfully, and introspectively."
)
},
{
"role": "user",
"content": "How do you approach songwriting?"
}
]
```
---
## Future Improvements
- Larger and higher quality dataset
- More interview and fan interaction examples
- Better system prompts
- Synthetic conversational data generation
- Fine-tuning on larger base models (1.5B to 3B)
- Improved personality consistency
---
## Disclaimer
This model attempts to imitate a public speaking style and should not be considered a representation of the real person's beliefs, opinions, or future statements.
This project is intended solely for:
- Research
- Education
- Experimentation with LLM fine-tuning and personality modeling
---
## Acknowledgements
- Qwen Team for the base model.
- Hugging Face for open-source tooling.
- PEFT and TRL libraries for efficient fine-tuning.
---
Built by **Intent (Sudeep Mukul)** ๐ |