alakxender / dv-articles-sm-gpt2

huggingface.co
Total runs: 81
24-hour runs: 0
7-day runs: 9
30-day runs: 69
Model's Last Updated: May 29 2025
text-generation

Introduction of dv-articles-sm-gpt2

Model Details of dv-articles-sm-gpt2

Dhivehi GPT-2

A GPT-2 language model trained on Dhivehi text data for text generation.

Model Details
  • Architecture: GPT-2
  • Vocab Size: 32,000 tokens
  • Context Length: 1024 tokens
  • Embedding Size: 768
  • Layers: 12
  • Attention Heads: 12
  • Total Parameters: ~124M
Training

The model is trained on Dhivehi text data with the following configuration:

  • Training Epochs: 3
  • Batch Size: 16 (4 per device with gradient accumulation of 4)
  • Learning Rate: 5e-4 with cosine decay
  • Weight Decay: 0.01
  • Warmup: 10% of training steps
  • Mixed Precision Training (FP16)
  • Early Stopping with patience of 3
Usage
def simple_generate(prompt, model_path):
    from grapp import DhivehiGPT2Generator
    generator = DhivehiGPT2Generator(model_path)
    return generator.generate_text(prompt, max_length=200)[0]

# Example usage:
result = simple_generate("ސުރުޚީ: ރާއްޖޭގެ", "alakxender/dv-articles-sm-gpt2")
print(result)

Runs of alakxender dv-articles-sm-gpt2 on huggingface.co

81
Total runs
0
24-hour runs
4
3-day runs
9
7-day runs
69
30-day runs

More Information About dv-articles-sm-gpt2 huggingface.co Model

More dv-articles-sm-gpt2 license Visit here:

https://choosealicense.com/licenses/mit

dv-articles-sm-gpt2 huggingface.co

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

dv-articles-sm-gpt2 huggingface.co Url

https://huggingface.co/alakxender/dv-articles-sm-gpt2

alakxender dv-articles-sm-gpt2 online free

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

alakxender dv-articles-sm-gpt2 online free url in huggingface.co:

https://huggingface.co/alakxender/dv-articles-sm-gpt2

dv-articles-sm-gpt2 install

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

dv-articles-sm-gpt2 install url in huggingface.co:

https://huggingface.co/alakxender/dv-articles-sm-gpt2

Url of dv-articles-sm-gpt2

dv-articles-sm-gpt2 huggingface.co Url

Provider of dv-articles-sm-gpt2 huggingface.co

alakxender
ORGANIZATIONS

Other API from alakxender

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 16 2024