Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text classification

gpt-news-model

by Mohit Raj Nayak Mohitnayakai/gpt-news-model

gpt-news-model is an open-weight model for text classification from Mohit Raj Nayak, released under Apache License 2.0. It has 82M parameters. At 16-bit it needs about 0.2 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

This model is a fine-tuned version of distilgpt2 on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 2e-05 - trainbatchsize: 16 - evalbatchsize: 16 …

Parameters82M
Context—
Weights327.7 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve gpt-news-model (82M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.2 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 18, 2026.

gpt-news-model on every accelerator the SAVRN Index prices, at every precision

Model Card

By Mohit Raj Nayak, published under apache-2.0, revision 06358127545d.

This model is a fine-tuned version of distilgpt2 on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 2e-05 - trainbatchsize: 16 - evalbatchsize: 16 - lrschedulertype: linear - numepochs: 3 - Transformers 5.16.1 - Pytorch 2.11.0+cu128 - Datasets 4.8.5 - Tokenizers 0.23.1

Read Mohit Raj Nayak's full model card

This model is a fine-tuned version of distilgpt2 on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.2710 - Accuracy: 0.898 - F1 Weighted: 0.8982 - F1 Macro: 0.8984

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training: - learning_rate: 2e-05 - train_batch_size: 16 - eval_batch_size: 16 - seed: 42 - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 3

Training results

Training Loss Epoch Step Validation Loss Accuracy F1 Weighted F1 Macro
0.6035 1.0 150 0.4915 0.83 0.8288 0.8282
0.3753 2.0 300 0.4087 0.865 0.8642 0.8636
0.3724 3.0 450 0.3754 0.8775 0.8769 0.8763

Framework versions

  • Transformers 5.16.1
  • Pytorch 2.11.0+cu128
  • Datasets 4.8.5
  • Tokenizers 0.23.1

Configuration

Architecture
GPT2ForSequenceClassification
Vocabulary size
50,257
Model type
gpt2

Identity and Version

Repository
Mohitnayakai/gpt-news-model
Publisher
Mohit Raj Nayak
Task
Text classification
Modality
Text
Library
transformers
Parameters
82M parameters
Languages
Not stated by the source
Revision
06358127545d9a272112379145cb37406a3f9edc
First published
2026-09-27
Last updated
2026-09-27

Files and Weights

5 files, 327.7 MB in total. The weights are 2 files totalling 327.7 MB in bin, safetensors.

Weights2 files · 327.7 MB
Configuration1 file · 1.2 KB
Documentation1 file · 1.7 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights327.7 MB 0cb9fe0bb954
training_args.binWeights5.2 KB 44cd96857729
config.jsonConfiguration1.2 KB —
README.mdDocumentation1.7 KB —
.gitattributesRepository1.5 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
327.7 MB
Download from Mohit Raj Nayak

Released by Mohit Raj Nayak through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published327.7 MB
16-bit0.2 GB
8-bit0.1 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About gpt-news-model

How much GPU memory does gpt-news-model need?

About 0.2 GB at 16-bit and 0 GB at 4-bit: the weights (82M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run gpt-news-model on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use gpt-news-model commercially?

Yes. gpt-news-model is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text classification

gpt-news-model

Aman Ankit

This model is a fine-tuned version of distilgpt2 on an unknown dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 2e-05 - trainbatchsize: 16 - evalbatchsize: 16 - lrschedulertype: linear - numepochs: 3 - Transformers 5.17.0 - Pytorch 2.11.0+cu130 - Datasets 4.8.5 - Tokenizers 0.23.2

Open weights apache-2.0 82M parameters transformers

Model · Text classification

Toxic-Not-Toxic

Saber Bounehas

This model is a fine-tuned version of distilroberta-base on the None dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 5e-05 - trainbatchsize: 8 - evalbatchsize: 8 - lrschedulertype: linear - numepochs: 10 - Transformers 5.19.0 - Pytorch 2.14.1 - Datasets 5.1.0 - Tokenizers 0.23.2

Open weights apache-2.0 82M parameters 514 tokens transformers

This model is a fine-tuned version of distilroberta-base on the financialphrasebank dataset. It achieves the following results on the evaluation set: This model is a distilled version of the RoBERTa-base model. It follows the same training procedure as DistilBERT. The code for the distillation process can be found here. The model has 6 layers, 768 dimension and 12 heads, totalizing 82M parameters (compared to 125M parameters for RoBERTa-base). On average DistilRoBERTa is twice as fast as Roberta-base. Polar sentiment dataset of sentences from financial news. The dataset consists of 4840 sentences from English language financial news categorised by sentiment. The dataset is divided by…

Open weights apache-2.0 82M parameters 514 tokens transformers

Model · Text classification

kobert

Kong

This model is a fine-tuned version of skt/kobert-base-v1 on the None dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 2e-05 - trainbatchsize: 16 - evalbatchsize: 16 - lrschedulertype: linear - numepochs: 5 - Transformers 5.17.0 - Pytorch 2.11.0+cu130 - Datasets 4.8.5 - Tokenizers 0.23.2

Open weights 92M parameters 512 tokens transformers

Model · Text classification

Llama-Prompt-Guard-2-22M-onnx

AthithyaSakthivel8

This repository provides a ONNX converted and quantized version of meta-llama/Llama-Prompt-Guard-2-22M - Meta LLaMA – Foundation model powering the classifier - Hugging Face Transformers – Model and tokenizer loading - ONNX – Model export and runtime format - ONNX Runtime – Efficient inference backend We use jackhhao/jailbreak-classification for the evaluation (train+test) You can find the full source code, CLI tools, and evaluation scripts in the official GitHub repository.

Open weights llama4 71M parameters 512 tokens

Model · Text classification

scb-banking77-distilbert-test-3

CK Tsai

This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

Open weights 67M parameters 512 tokens transformers