Downloads · 30 days
0
Nikilesh9/financial-language-model
financial-language-model is a machine learning model from Nikilesh9. 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.
Custom-trained Transformer for financial text generation.
Downloads · 30 days
0
Access
Public
Updated Nov 23, 2025
Repo size
4.4 GB
Likes
0
Public
Click a slice to open those files.
.pkl4.2 GB · 95%
From the Hugging Face model README
Custom-trained Transformer for financial text generation.
from huggingface_hub import hf_hub_download
import torch
import pickle
# Download files
model_path = hf_hub_download(repo_id="Nikilesh9/financial-language-model", filename="transformer_1gb_balanced_best.pth")
dataset_path = hf_hub_download(repo_id="Nikilesh9/financial-language-model", filename="mega_word_dataset.pkl")
# Load dataset
with open(dataset_path, 'rb') as f:
dataset = pickle.load(f)
# Load model
checkpoint = torch.load(model_path, map_location='cpu')
# ... create and load model ...
transformer_1gb_balanced_best.pth - Model checkpoint (50 MB)mega_word_dataset.pkl - Preprocessed dataset (2.2 GB)Full project: https://github.com/Nikilesh9/language-model-evolution