71821Nikki commited on
Commit
a7e528c
Β·
verified Β·
1 Parent(s): edcce52

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +71 -3
README.md CHANGED
@@ -1,3 +1,71 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 🧠 TrumpGeneration
2
+
3
+ **TrumpGeneration** is a fine-tuned version of OpenAI's GPT-2, trained on the speeches of **Donald J. Trump**. This model is designed to generate text in Trump's distinctive rhetorical style β€” bold, direct, and uniquely expressive.
4
+
5
+ ---
6
+
7
+ ## πŸ”— Model Card
8
+
9
+ - **Model Name**: `TrumpGeneration`
10
+ - **Base Model**: [`gpt2`](https://huggingface.co/gpt2)
11
+ - **Author**: [@71821Nikki](https://huggingface.co/71821Nikki)
12
+ - **License**: MIT
13
+ - **Intended Use**: Text generation
14
+ - **Not intended for**: Factual Q&A, neutral summarization, or sensitive applications
15
+
16
+ ---
17
+
18
+ ## πŸš€ Usage
19
+
20
+ ```python
21
+ from transformers import AutoTokenizer, AutoModelForCausalLM
22
+
23
+ tokenizer = AutoTokenizer.from_pretrained("71821Nikki/TrumpGeneration")
24
+ model = AutoModelForCausalLM.from_pretrained("71821Nikki/TrumpGeneration")
25
+
26
+ prompt = "The American people"
27
+ inputs = tokenizer(prompt, return_tensors="pt")
28
+ outputs = model.generate(
29
+ **inputs,
30
+ max_length=100,
31
+ do_sample=True,
32
+ top_k=50,
33
+ top_p=0.95,
34
+ temperature=0.9
35
+ )
36
+
37
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
38
+ ```
39
+
40
+ ---
41
+
42
+ ## πŸ’¬ Example Output
43
+
44
+ ```
45
+ The American people are stronger than ever before. We've created more jobs, lowered taxes, and taken care of our veterans like nobody else. We're bringing back common sense, we're bringing back greatness β€” and we're never going to stop. Believe me.
46
+ ```
47
+
48
+ ---
49
+
50
+ ## ⚠️ Disclaimer
51
+
52
+ This model may generate biased, exaggerated, or politically charged content. It reflects the tone and rhetoric of Donald Trump's public speaking and is intended for **educational and creative use only**. Use responsibly.
53
+
54
+ ---
55
+
56
+ ## πŸ™Œ Acknowledgements
57
+
58
+ - Built using Hugging Face Transformers
59
+ - Base model: OpenAI GPT-2
60
+ - Trained and released by [@71821Nikki](https://huggingface.co/71821Nikki)
61
+
62
+ ---
63
+ ```
64
+
65
+ ---
66
+ license: mit
67
+ base_model:
68
+ - openai-community/gpt2
69
+ pipeline_tag: text-generation
70
+ library_name: transformers
71
+ ---