SAVRN
Search Contact SAVRN

Open-weight model · Text classification

koelectra-small-v3-nsmc

by Daekeun Kim daekeun-ml/koelectra-small-v3-nsmc

It uses the interface of the SageMaker Inference Toolkit as is, so it can be easily deployed to SageMaker Endpoint.

Parameters14M
Context512
Weights113.1 MB
Licensemit
AccessOpen weights
Monthly Downloads1.6M

Runs On

What it takes to serve koelectra-small-v3-nsmc (14M 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.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.0 GB 0.0 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 Sep 18, 2026.

SAVRN's Notes on koelectra-small-v3-nsmc

The memory line on this page reads 0.0 GB at every precision, and that is the main thing to know about koelectra-small-v3-nsmc. It is a 14M-parameter text classifier with 12 layers, about 113 MB of float32 weights on disk. The cheapest card our Index lists, one MI300X with 192 GB at $1.85 an hour, is far more than it needs, so in our facilities a model this size never gets a GPU to itself. Inputs top out at 512 tokens, which suits short text, not long documents.

MIT terms permit commercial use, modification and redistribution as long as the copyright and permission notices travel with the files. Before committing, check that the nsmc data it was trained on matches the text you plan to classify. Daekeun Kim wrapped it for the SageMaker Inference Toolkit; in your own facility you write the serving layer yourself.

Model Card

By Daekeun Kim, published under mit, revision d1c0233fc013.

Sentiment Binary Classification (fine-tuning with KoELECTRA-Small-v3 model and Naver Sentiment Movie Corpus dataset)

Usage (Amazon SageMaker inference applicable)

It uses the interface of the SageMaker Inference Toolkit as is, so it can be easily deployed to SageMaker Endpoint.

inference_nsmc.py

Read the full model card (351 words)

Configuration

Architecture
ElectraForSequenceClassification
Context length (tokens)
512
Layers
12
Hidden size
256
Feed-forward size
1,024
Attention heads
4
Vocabulary size
35,000
Stored precision
float32
Model type
electra

Identity and Version

Repository
daekeun-ml/koelectra-small-v3-nsmc
Publisher
Daekeun Kim
Task
Text classification
Modality
Text
Library
transformers
Parameters
14M parameters
Languages
ko
Revision
d1c0233fc013ae8bd879d7b61f2bec69aa3af4c9
First published
2022-03-02
Last updated
2025-03-09

Files and Weights

10 files, 113.9 MB in total. The weights are 3 files totalling 113.1 MB in bin, safetensors.

Weights3 files · 113.1 MB
Configuration2 files · 1.0 KB
Tokenizer3 files · 797.5 KB
Documentation1 file · 5.1 KB
Repository1 file · 1.2 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights56.5 MB 012a5926dcfe
pytorch_model.binWeights56.6 MB 756dde30d2f3
training_args.binWeights1.5 KB 6f8238eebcbe
config.jsonConfiguration914 B
special_tokens_map.jsonConfiguration112 B
README.mdDocumentation5.1 KB
.gitattributesRepository1.2 KB
tokenizer.jsonTokenizer533.7 KB
tokenizer_config.jsonTokenizer414 B
vocab.txtTokenizer263.3 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
113.1 MB
Download from Daekeun Kim

Released by Daekeun Kim through its official repository on Hugging Face. Read the license.

Built From

  • Trained on (disclosed) nsmc

Memory Requirements

PrecisionWeights in memory
As published113.1 MB
16-bit0.0 GB
8-bit0.0 GB
4-bit0.0 GB

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

Questions About koelectra-small-v3-nsmc

How much GPU memory does koelectra-small-v3-nsmc need?

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

What is the cheapest GPU to run koelectra-small-v3-nsmc 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 koelectra-small-v3-nsmc commercially?

Yes. koelectra-small-v3-nsmc is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is koelectra-small-v3-nsmc's context length?

512 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text classification

rubert-tiny-toxicity

David Dale

This is the cointegrated/rubert-tiny model fine-tuned for classification of toxicity and inappropriateness for short informal Russian texts, such as comments in social networks. The problem is formulated as multilabel classification with the following classes: - non-toxic: the text does NOT contain insults, obscenities, and threats, in the sense of the OK ML Cup competition. - insult - obscenity - threat - dangerous: the text is inappropriate, in the sense of Babakov et.al., i.e. it can harm the reputation of the speaker. A text can be considered safe if it is BOTH non-toxic and NOT dangerous. The function below estimates the probability that the text is either toxic OR dangerous: The model…

Open weights mit 12M parameters 512 tokens transformers

Model · Text classification

finbert

Prosus AI

FinBERT is a pre-trained NLP model to analyze sentiment of financial text. It is built by further training the BERT language model in the finance domain, using a large financial corpus and thereby fine-tuning it for financial sentiment classification. Financial PhraseBank by Malo et al. (2014) is used for fine-tuning. For more details, please see the paper FinBERT: Financial Sentiment Analysis with Pre-trained Language Models and our related blog post on Medium. The model will give softmax outputs for three labels: positive, negative or neutral. About Prosus Prosus is a global consumer internet group and one of the largest technology investors in the world. Operating and investing globally…

Open weights 512 tokens transformers

Model · Text classification

twitter-roberta-base-sentiment-latest

Cardiff NLP

This is a RoBERTa-base model trained on ~124M tweets from January 2018 to December 2021, and finetuned for sentiment analysis with the TweetEval benchmark. The original Twitter-based RoBERTa model can be found here and the original reference paper is TweetEval. This model is suitable for English. 0 -> Negative; 1 -> Neutral; 2 -> Positive This sentiment analysis model has been integrated into TweetNLP. You can access the demo here.

Open weights cc-by-4.0 514 tokens transformers

Model · Text classification

ms-marco-MiniLM-L-6-v2

Joshua

https://huggingface.co/cross-encoder/ms-marco-MiniLM-L-6-v2 with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights 512 tokens transformers.js

Model · Text classification

twitter-xlm-roberta-base-sentiment

Cardiff NLP

This is a multilingual XLM-roBERTa-base model trained on ~198M tweets and finetuned for sentiment analysis. The sentiment fine-tuning was done on 8 languages (Ar, En, Fr, De, Hi, It, Sp, Pt) but it can be used for more languages (see paper for details). This model has been integrated into the TweetNLP library.

Open weights 514 tokens transformers

Model · Text classification

finbert-tone

Yi

FinBERT is a BERT model pre-trained on financial communication text. The purpose is to enhance financial NLP research and practice. It is trained on the following three financial communication corpus. The total corpora size is 4.9B tokens. More technical details on FinBERT: Click Link This released finbert-tone model is the FinBERT model fine-tuned on 10,000 manually annotated (positive, negative, neutral) sentences from analyst reports. This model achieves superior performance on financial tone analysis task. If you are simply interested in using FinBERT for financial tone analysis, give it a try. If you use the model in your academic work, please cite the following paper: Huang, Allen H.…

Open weights 512 tokens transformers