File size: 1,990 Bytes
567f8b3
 
 
 
 
 
 
 
 
 
 
 
 
a7e528c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
567f8b3
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
---
license: mit
base_model:
- openai-community/gpt2
pipeline_tag: text-generation
library_name: transformers
tags:
- text-generation-inference
- geopolitics
- speech
- Trump
---

# 🧠 TrumpGeneration

**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.

---

## πŸ”— Model Card

- **Model Name**: `TrumpGeneration`
- **Base Model**: [`gpt2`](https://huggingface.co/gpt2)
- **Author**: [@71821Nikki](https://huggingface.co/71821Nikki)
- **License**: MIT
- **Intended Use**: Text generation
- **Not intended for**: Factual Q&A, neutral summarization, or sensitive applications

---

## πŸš€ Usage

```python
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("71821Nikki/TrumpGeneration")
model = AutoModelForCausalLM.from_pretrained("71821Nikki/TrumpGeneration")

prompt = "The American people"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(
    **inputs,
    max_length=100,
    do_sample=True,
    top_k=50,
    top_p=0.95,
    temperature=0.9
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```

---

## πŸ’¬ Example Output

```
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.
```

---

## ⚠️ Disclaimer

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.

---

## πŸ™Œ Acknowledgements

- Built using Hugging Face Transformers
- Base model: OpenAI GPT-2
- Trained and released by [@71821Nikki](https://huggingface.co/71821Nikki)