afrideva / gpt2-small-danish-GGUF

huggingface.co
Total runs: 862
24-hour runs: -70
7-day runs: 80
30-day runs: 661
Model's Last Updated: December 29 2023
text-generation

Introduction of gpt2-small-danish-GGUF

Model Details of gpt2-small-danish-GGUF

KennethTM/gpt2-small-danish-GGUF

Quantized GGUF model files for gpt2-small-danish from KennethTM

Original Model Card:

What is this?

A GPT-2 model (small version, 124 M parameters) for Danish text generation. The model was not pre-trained from scratch but adapted from the English version.

How to use

Test the model using the pipeline from the 🤗 Transformers library:

from transformers import pipeline

generator = pipeline("text-generation", model = "KennethTM/gpt2-small-danish")
text = generator("Manden arbejdede som")

print(text[0]["generated_text"])

Or load it using the Auto* classes:

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("KennethTM/gpt2-small-danish")
model = AutoModelForCausalLM.from_pretrained("KennethTM/gpt2-small-danish")

Model training

The model is trained using the Danish part of the oscar dataset ('unshuffled_deduplicated_da') and a context length of 1024 tokens.

The model weights are initialized from the English GPT-2 small model with new word token embeddings created for Danish using WECHSEL .

Initially, only the word token embeddings are trained using 50.000 samples. Finally, the whole model is trained using 1.000.000 samples.

For reference, the model achieves a perplexity of 33.5 on 5.000 random validation samples.

Model training is carried out on an 8 GB GPU.

Notes

This is a pre-trained model, for optimal performance it should be finetuned for new tasks.

Runs of afrideva gpt2-small-danish-GGUF on huggingface.co

862
Total runs
-70
24-hour runs
-15
3-day runs
80
7-day runs
661
30-day runs

More Information About gpt2-small-danish-GGUF huggingface.co Model

gpt2-small-danish-GGUF huggingface.co

gpt2-small-danish-GGUF huggingface.co is an AI model on huggingface.co that provides gpt2-small-danish-GGUF's model effect (), which can be used instantly with this afrideva gpt2-small-danish-GGUF model. huggingface.co supports a free trial of the gpt2-small-danish-GGUF model, and also provides paid use of the gpt2-small-danish-GGUF. Support call gpt2-small-danish-GGUF model through api, including Node.js, Python, http.

gpt2-small-danish-GGUF huggingface.co Url

https://huggingface.co/afrideva/gpt2-small-danish-GGUF

afrideva gpt2-small-danish-GGUF online free

gpt2-small-danish-GGUF huggingface.co is an online trial and call api platform, which integrates gpt2-small-danish-GGUF's modeling effects, including api services, and provides a free online trial of gpt2-small-danish-GGUF, you can try gpt2-small-danish-GGUF online for free by clicking the link below.

afrideva gpt2-small-danish-GGUF online free url in huggingface.co:

https://huggingface.co/afrideva/gpt2-small-danish-GGUF

gpt2-small-danish-GGUF install

gpt2-small-danish-GGUF is an open source model from GitHub that offers a free installation service, and any user can find gpt2-small-danish-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of gpt2-small-danish-GGUF install, users can directly use gpt2-small-danish-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

gpt2-small-danish-GGUF install url in huggingface.co:

https://huggingface.co/afrideva/gpt2-small-danish-GGUF

Url of gpt2-small-danish-GGUF

gpt2-small-danish-GGUF huggingface.co Url

Provider of gpt2-small-danish-GGUF huggingface.co

afrideva
ORGANIZATIONS

Other API from afrideva

huggingface.co

Total runs: 584
Run Growth: 138
Growth Rate: 23.63%
Updated:December 18 2023
huggingface.co

Total runs: 577
Run Growth: 159
Growth Rate: 27.56%
Updated:December 08 2023