Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,36 +1,69 @@
|
|
| 1 |
-
---
|
| 2 |
-
language:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
-
|
| 6 |
-
|
| 7 |
-
-
|
| 8 |
-
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
model
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
base_model: microsoft/DialoGPT-small
|
| 6 |
+
tags:
|
| 7 |
+
- conversational
|
| 8 |
+
- chatbot
|
| 9 |
+
- romantic
|
| 10 |
+
- supportive
|
| 11 |
+
- fine-tuned
|
| 12 |
+
library_name: transformers
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Mr.Bully Chatbot 💕
|
| 17 |
+
|
| 18 |
+
A fine-tuned conversational AI model designed to be supportive, caring, and romantic in conversations.
|
| 19 |
+
|
| 20 |
+
## Model Description
|
| 21 |
+
|
| 22 |
+
Mr.Bully is a fine-tuned version of DialoGPT-small, specifically trained to provide supportive and romantic responses in conversations. The model maintains a caring, encouraging personality while engaging users in meaningful dialogue.
|
| 23 |
+
|
| 24 |
+
## Usage
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 28 |
+
|
| 29 |
+
tokenizer = AutoTokenizer.from_pretrained("sambitsingha/mrbully-chatbot")
|
| 30 |
+
model = AutoModelForCausalLM.from_pretrained("sambitsingha/mrbully-chatbot")
|
| 31 |
+
|
| 32 |
+
# Format your input
|
| 33 |
+
prompt = "User: Hello!\nMr.Bully:"
|
| 34 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 35 |
+
|
| 36 |
+
# Generate response
|
| 37 |
+
with torch.no_grad():
|
| 38 |
+
outputs = model.generate(
|
| 39 |
+
inputs.input_ids,
|
| 40 |
+
max_length=100,
|
| 41 |
+
temperature=0.7,
|
| 42 |
+
do_sample=True,
|
| 43 |
+
pad_token_id=tokenizer.eos_token_id
|
| 44 |
+
)
|
| 45 |
+
|
| 46 |
+
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 47 |
+
print(response)
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Training
|
| 51 |
+
|
| 52 |
+
This model was fine-tuned on conversational data with a focus on supportive and romantic dialogue patterns.
|
| 53 |
+
|
| 54 |
+
## Intended Use
|
| 55 |
+
|
| 56 |
+
- Personal AI companion
|
| 57 |
+
- Supportive conversations
|
| 58 |
+
- Romantic chat scenarios
|
| 59 |
+
- Mental health support conversations
|
| 60 |
+
|
| 61 |
+
## Limitations
|
| 62 |
+
|
| 63 |
+
- May occasionally generate repetitive responses
|
| 64 |
+
- Best suited for English conversations
|
| 65 |
+
- Requires proper prompt formatting for optimal results
|
| 66 |
+
|
| 67 |
+
## Model Card Authors
|
| 68 |
+
|
| 69 |
+
sambitsingha
|