import streamlit as st import numpy as np import torch import random from transformers import ( GPT2LMHeadModel, GPT2Tokenizer, Trainer, TrainingArguments, DataCollatorForLanguageModeling ) from datasets import Dataset from huggingface_hub import HfApi import plotly.graph_objects as go import time from datetime import datetime from typing import Dict, List, Any import pandas as pd # Added pandas import # Cyberpunk and Loading Animation Styling def setup_cyberpunk_style(): st.markdown("""