sambitsingha commited on
Commit
438877d
·
verified ·
1 Parent(s): 78168f1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +69 -36
README.md CHANGED
@@ -1,36 +1,69 @@
1
- ---
2
- language: en
3
- license: mit
4
- tags:
5
- - conversational
6
- - chatbot
7
- - fine-tuned
8
- datasets:
9
- - custom
10
- ---
11
-
12
- # Mr.Bully Chatbot Model
13
-
14
- This is a fine-tuned conversational AI model trained on custom dialogue data.
15
-
16
- ## Usage
17
-
18
- ```python
19
- from transformers import AutoTokenizer, AutoModelForCausalLM
20
-
21
- tokenizer = AutoTokenizer.from_pretrained("sambitsingha/mrbully-chatbot")
22
- model = AutoModelForCausalLM.from_pretrained("sambitsingha/mrbully-chatbot")
23
-
24
- # Generate response
25
- prompt = "User: Hello\nMr.Bully:"
26
- inputs = tokenizer.encode(prompt, return_tensors="pt")
27
- outputs = model.generate(inputs, max_length=150, temperature=0.7)
28
- response = tokenizer.decode(outputs[0], skip_special_tokens=True)
29
- print(response)
30
- ```
31
-
32
- ## Model Details
33
-
34
- - Base model: GPT-2 (or specify your base model)
35
- - Fine-tuned on custom conversational data
36
- - Optimized for romantic/affectionate conversations
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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