Downloads · 30 days
0
Chandij123/websockets
websockets is a machine learning model from Chandij123. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains the client-side model (first 4 layers) for a split learning implementation of GPT-2 Small with LoRA fine-tuning.
Downloads · 30 days
0
Access
Public
Updated Dec 15, 2025
Repo size
3.5 GB
Likes
0
Public
Click a slice to open those files.
.pth1.4 GB · 100%
From the Hugging Face model README
This repository contains the client-side model (first 4 layers) for a split learning implementation of GPT-2 Small with LoRA fine-tuning.
import torch
from huggingface_hub import hf_hub_download
# Download model
model_path = hf_hub_download(repo_id="Chandij123/websockets", filename="client_model.pth")
# Load checkpoint
checkpoint = torch.load(model_path)
model_state = checkpoint['model_state_dict']
config = checkpoint['model_config']
# Initialize and load your FirstPartModel here
# first_part_model.load_state_dict(model_state)
This model works in conjunction with a server-side model that contains the remaining layers.
Dataset: WikiText-2
Training configuration:
MIT License