Downloads · 30 days
177
3% of all-time downloads
jerteh/gpt2-vrabac
gpt2-vrabac is a text generation model from jerteh. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-sa-4.0.
<h4<i class="highlight-container"<b class="highlight"gpt2-vrabac</b</i — Mali generativni model za srpski jezik.</h4
Downloads · 30 days
177
3% of all-time downloads
All-time downloads
5.1K
Public
Parameters
136M
1 GB on disk
Likes
5
Public
Click a slice to open those files.
.bin507 MB · 50%
How the weights are stored.
F32124M · 91%
From the Hugging Face model README
>>> from transformers import pipeline, set_seed
>>> generator = pipeline('text-generation', model='jerteh/gpt2-vrabac')
>>> set_seed(23)
>>> generator("", max_length=30, num_return_sequences=5)
[{'generated_text': 'Ja, međutim, ne idem na put da idem već da se vratim na aerodrom.'},
{'generated_text': 'Domaćinstvo se nalazilo na mestu zvanom Kutuzov kod Niša.'},
{'generated_text': 'Regionalne razlike:'},
{'generated_text': 'Od tada do sada smo u veoma teškoj situaciji“, poručio je on.'},
{'generated_text': 'Iz tog razloga, na ovaj način u potpunosti bi se izbegla dodatna mogućnost da se sa istim problemima suoči i Vlada.'}]
Pored navedenih, model je obučavan i na ostalim korpusima Društva za jezičke resurse i tehnologije, uključujući korpuse savremenog srpskog jezika: SrpKor2013 i SrpKor2021, kao i korpus PDRS 1.0 razvijen od strane Instituta za Srpski jezik SANU.
<h4>U slučaju potrebe za većim modelom, pogledajte <a href="https://huggingface.co/jerteh/gpt2-orao" class="highlight-container"> <b class="highlight">gpt2-orao</b></a> — najveći generativni model za srpski jezik.</h4> <div class="inline-flex flex-col" style="line-height: 1.5;padding-right:40px"> <div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Autor</div> <a href="https://huggingface.co/procesaur"> <div class="flex"> <div style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%; background-size: cover; background-image: url('https://cdn-uploads.huggingface.co/production/uploads/1673534533167-63bc254fb8c61b8aa496a39b.jpeg?w=200&h=200&f=face')"> </div> </div> </a> <div style="text-align: center; font-size: 16px; font-weight: 800">Mihailo Škorić</div> <div> <a href="https://huggingface.co/procesaur"> <div style="text-align: center; font-size: 14px;">@procesaur</div> </a> </div> </div> </div> <div class="inline-flex flex-col" style="line-height: 1.5;padding-right:40px"> <div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Computation</div> <a href="https://www.ai.gov.rs/"> <div class="flex"> <div style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%; background-size: contain; background-image: url(https://www.ai.gov.rs/img/logo_60x120-2.png);background-repeat: no-repeat; background-position: center;"> </div> </div> </a> <div style="text-align: center; font-size: 16px; font-weight: 800" title="nVidia DGX-zasnovan sistem">Nacionalna AI platforma</div> <div> <a href="https://www.ai.gov.rs/"> <div style="text-align: center; font-size: 14px;">ai.gov.rs</div> </a> </div> </div> </div> <div class="inline-flex flex-col" style="line-height: 1.5;padding-right:40px"> <div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Data</div> <a href="https://jerteh.rs/"> <div class="flex"> <div style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%; background-size: contain; background-image: url(https://cdn-avatars.huggingface.co/v1/production/uploads/1673601491672-63bc254fb8c61b8aa496a39b.png?w=200&h=200&f=face);background-repeat: no-repeat; background-position: center;"> </div> </div> </a> <div style="text-align: center; font-size: 16px; font-weight: 800" title="Društvo za jezičke resurse i tehnologije">JeRTeh</div> <div> <a href="https://huggingface.co/jerteh"> <div style="text-align: center; font-size: 14px;">@jerteh</div> </a> </div> </div> </div>@article{skoric24modeli,
author = {Mihailo \vSkori\'c},
title = {Novi jezi\vcki modeli za srpski jezik},
journal = {Infoteka},
volume = {24},
issue = {1},
year = {2024},
publisher = {Zajednica biblioteka univerziteta u Srbiji, Beograd},
url = {https://arxiv.org/abs/2402.14379}
}
<style>
.ffeat: {
color:red
}
.cover {
width: 100%;
margin-bottom: 5pt
}
.highlight-container, .highlight {
position: relative;
text-decoration:none
}
.highlight-container {
display: inline-block;
}
.highlight{
color:white;
text-transform:uppercase;
font-size: 16pt;
}
.highlight-container{
padding:5px 10px
}
.highlight-container:before {
content: " ";
display: block;
height: 100%;
width: 100%;
margin-left: 0px;
margin-right: 0px;
position: absolute;
background: #e80909;
transform: rotate(2deg);
top: -1px;
left: -1px;
border-radius: 20% 25% 20% 24%;
padding: 10px 18px 18px 10px;
}
div.grb, #zastava>table {
position:absolute;
top:0px;
left: 0px;
margin:0px
}
div.grb>img, #zastava>table{
margin:0px
}
#zastava {
position: relative;
margin-bottom:120px
}
</style>