## trained using older library that is transformers textdataset

```python
from transformers import TextDataset

# Load the training text from the text file
tokenized_dataset = TextDataset(
    tokenizer=tokenizer,
    file_path="train_clm_scifi_webnovel_data.txt",
    block_size=128,
)
```
{"license": "mit", "tags": ["generated_from_trainer"], "base_model": "gpt2", "widget": [{"text": "My Name is Huda. I am a", "example_title": "The I Am"}, {"text": "Once upon a time", "example_title": "A tale"}, {"text": "In the year 3023, aboard", "example_title": "Interstellar Adventures"}, {"text": "One day in futuristic city", "example_title": "Sci-Fi Odyssey"}, {"text": "On a foggy night in the small town of", "example_title": "Whodunit Chronicles"}, {"text": "Once upon a time, a detective", "example_title": "Mysterious Puzzles"}, {"text": "Deep in the heart of the untamed wilderness,", "example_title": "Epic Expeditions"}, {"text": "Once upon a time, a fearless explorer", "example_title": "Daring Journeys"}, {"text": "In the pages of history, I am", "example_title": "Epic Conqueror"}], "model-index": [{"name": "clm_gpt2_scifi_webnovel", "results": []}]}
transformers safetensors gpt2 text-generation generated_from_trainer base_model:gpt2 license:mit autotrain_compatible endpoints_compatible has_space text-generation-inference region:us