Views
No views yet
1from huggingface_hub import hf_hub_download
2import torch
3
4# Download model
5model_path = hf_hub_download(
6 repo_id="gurpreets64/gpt4o-output-token-predictor",
7 filename="best_model.pt"
8)
9
10# Load and use
11checkpoint = torch.load(model_path, map_location="cpu")
12# See full code at: github.com/gurpreeet-singh/llm-output-token-prediction1@software{gpt4o_token_predictor,
2 author = {Gurpreet Singh},
3 title = {GPT-4o Output Token Predictor},
4 year = {2025},
5 url = {https://github.com/gurpreeet-singh/llm-output-token-prediction}
6}