|
|
--- |
|
|
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) |