Back to all models

Unable to determine this model’s pipeline type. Check the docs .

Monthly model downloads

loodos/electra-small-turkish-cased-discriminator loodos/electra-small-turkish-cased-discriminator
last 30 days



Contributed by

loodos loodos
6 models

How to use this model directly from the 🤗/transformers library:

Copy to clipboard
from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("loodos/electra-small-turkish-cased-discriminator") model = AutoModelForPreTraining.from_pretrained("loodos/electra-small-turkish-cased-discriminator")

Turkish Language Models with Huggingface's Transformers

As R&D Team at Loodos, we release cased and uncased versions of most recent language models for Turkish. More details about pretrained models and evaluations on downstream tasks can be found here (our repo).

Turkish ELECTRA-Small-discriminator (cased)

This is ELECTRA-Small model's discriminator which has 12 encoder layers with 256 hidden layers size trained on cased Turkish dataset.


Using AutoModelWithLMHead and AutoTokenizer from Transformers, you can import the model as described below.

from transformers import AutoModel, AutoModelWithLMHead

tokenizer = AutoTokenizer.from_pretrained("loodos/electra-small-turkish-cased-discriminator")

model = AutoModelWithLMHead.from_pretrained("loodos/electra-small-turkish-cased-discriminator")

Details and Contact

You contact us to ask a question, open an issue or give feedback via our github repo.


Many thanks to TFRC Team for providing us cloud TPUs on Tensorflow Research Cloud to train our models.