chaitanyababu5803/mahesh-SLM-scratch-tinystories-OCT-2025
0
Step 1: Import the Dataset
Step 2: Tokenize the Dataset
Step 3: Create Input-Output batches for the dataset
Step 4: Define the SLM Model Architecture
Step 5: Define the loss function
Step 6: Define SLM Training Configuration Part 1
Step 7: Define SLM Training Configuration Part 2
Step 8: Pre-train the SLM
Step 9: Plot the SLM Loss Function
Step 10: Run SLM Inference on our trained model
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
