Downloads · 30 days
13
19% of all-time downloads
stochastic-sisyphus/gpt2-bulgarian-merged
gpt2-bulgarian-merged is a machine learning model from stochastic-sisyphus. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
I will be training a much larger sample in the coming days (1k is small - but my computers bandwidth is smaller)
Downloads · 30 days
13
19% of all-time downloads
All-time downloads
70
Public
Parameters
355M
1.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.4 GB · 100%
From the Hugging Face model README
I will be training a much larger sample in the coming days (1k is small - but my computers bandwidth is smaller)
This model is a fine-tuned and merged version of openai-community/gpt2-medium, adapted to Bulgarian using the LoRA technique. Training was performed on a filtered sample of the Bulgarian subset of the CC100 dataset using PEFT.
openai-community/gpt2-mediumc_attncc100.bg (1000 filtered samples)This model is a fine-tuned and merged version of openai-community/gpt2-medium, adapted to Bulgarian using the LoRA technique. Training was performed on a filtered sample of the Bulgarian subset of the CC100 dataset using PEFT.
openai-community/gpt2-mediumc_attncc100.bg (1000 filtered samples)from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("your-username/gpt2-bulgarian-merged")
tokenizer = AutoTokenizer.from_pretrained("your-username/gpt2-bulgarian-merged")
inputs = tokenizer("България е известна със своите", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
For educational purposes, experimentation, and research on low-resource language modeling in Bulgarian.
Developed by Vanessa Beck on Google Colab using 🤗 Transformers + PEFT.