Views
No views yet
central_trained_first_part_20251210_162256.pth: Client-side model (first 4 layers)central_trained_second_part_20251210_162256.pth: Server-side model (remaining 8 layers)1import torch
2from transformers import GPT2Config
3
4# Load the model parts
5first_part = torch.load('central_trained_first_part_20251210_162256.pth')
6second_part = torch.load('central_trained_second_part_20251210_162256.pth')
7
8# Use with the DisLLM architecture
9# (Requires FirstPartModel and SecondPartModel class definitions)