Merge branch 'main' of https://huggingface.co/flax-community/alberti-bert-base-multilingual-cased into main
Browse files
README.md
CHANGED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: es
|
3 |
+
license: CC-BY 4.0
|
4 |
+
tags:
|
5 |
+
- multilingual
|
6 |
+
- bert
|
7 |
+
pipeline_tag: fill-mask
|
8 |
+
widget:
|
9 |
+
- text: "¿Qué es la vida? Un [MASK]."
|
10 |
+
---
|
11 |
+
|
12 |
+
# ALBERTI
|
13 |
+
|
14 |
+
ALBERTI is a set of two BERT-based multilingual model for poetry. One for verses and another one for stanzas. This model has been further trained with the PULPO corpus for verses using [Flax](https://github.com/google/flax), including training scripts.
|
15 |
+
|
16 |
+
This is part of the
|
17 |
+
[Flax/Jax Community Week](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104), organised by [HuggingFace](https://huggingface.co/) and TPU usage sponsored by Google.
|
18 |
+
|
19 |
+
## PULPO
|
20 |
+
|
21 |
+
PULPO, the Prodigious Unannotated Literary Poetry Corpus, is a set of multilingual corpora of verses and stanzas with over 95M words.
|
22 |
+
|
23 |
+
The following corpora has been downloaded using the [Averell](https://github.com/linhd-postdata/averell/) tool, developed by the [POSTDATA](https://postdata.linhd.uned.es/) team:
|
24 |
+
|
25 |
+
### Spanish
|
26 |
+
- [Disco v3](https://github.com/pruizf/disco)
|
27 |
+
- [Corpus of Spanish Golden-Age Sonnets](https://github.com/bncolorado/CorpusSonetosSigloDeOro)
|
28 |
+
- [Corpus general de poesía lírica castellana del Siglo de Oro](https://github.com/bncolorado/CorpusGeneralPoesiaLiricaCastellanaDelSigloDeOro)
|
29 |
+
- [Gongocorpus](https://github.com/linhd-postdata/gongocorpus) - [source](http://obvil.sorbonne-universite.site/corpus/gongora/gongora_obra-poetica)
|
30 |
+
### English
|
31 |
+
- [Eighteenth-Century Poetry Archive (ECPA)](https://github.com/alhuber1502/ECPA)
|
32 |
+
- [For better for verse](https://github.com/waynegraham/for_better_for_verse)
|
33 |
+
### French
|
34 |
+
- [Métrique en Ligne](https://crisco2.unicaen.fr/verlaine/index.php?navigation=accueil) - [source](https://github.com/linhd-postdata/metrique-en-ligne)
|
35 |
+
### Italian
|
36 |
+
- [Biblioteca italiana](https://github.com/linhd-postdata/biblioteca_italiana) - [source](http://www.bibliotecaitaliana.it/)
|
37 |
+
### Czech
|
38 |
+
- [Corpus of Czech Verse](https://github.com/versotym/corpusCzechVerse)
|
39 |
+
### Portuguese
|
40 |
+
- [Stichotheque](https://gitlab.com/stichotheque/stichotheque-pt)
|
41 |
+
|
42 |
+
Also, we obtained the following corpora from these sources:
|
43 |
+
### Spanish
|
44 |
+
- [Poesi.as](https://github.com/linhd-postdata/poesi.as) - [source](http://www.poesi.as/)
|
45 |
+
### English
|
46 |
+
- [A Gutenberg Poetry Corpus](https://github.com/aparrish/gutenberg-poetry-corpus)
|
47 |
+
### Arabic
|
48 |
+
- [Arabic Poetry dataset](https://www.kaggle.com/ahmedabelal/arabic-poetry)
|
49 |
+
### Chinese
|
50 |
+
- [THU Chinese Classical Poetry Corpus](https://github.com/THUNLP-AIPoet/Datasets/tree/master/CCPC)
|
51 |
+
### Finnish
|
52 |
+
- [SKVR](https://github.com/sks190/SKVR)
|
53 |
+
### German
|
54 |
+
- [TextGrid Poetry Corpus](https://github.com/linhd-postdata/textgrid-poetry) - [source](https://textgrid.de/en/digitale-bibliothek)
|
55 |
+
- [German Rhyme Corpus](https://github.com/tnhaider/german-rhyme-corpus)
|
56 |
+
### Hungarian
|
57 |
+
- [verskorpusz](https://github.com/ELTE-DH/verskorpusz)
|
58 |
+
### Portuguese
|
59 |
+
- [Poems in Portuguese](https://www.kaggle.com/oliveirasp6/poems-in-portuguese)
|
60 |
+
### Russian
|
61 |
+
- [19 000 Russian poems](https://www.kaggle.com/grafstor/19-000-russian-poems)
|
62 |
+
|
63 |
+
## Team members
|
64 |
+
|
65 |
+
- Álvaro Pérez ([alvp](https://huggingface.co/alvp))
|
66 |
+
- Javier de la Rosa ([versae](https://huggingface.co/versae))
|
67 |
+
- Aitor Díaz ([aitordiaz](https://huggingface.co/aitordiaz))
|
68 |
+
- Elena González-Blanco
|
69 |
+
- Salvador Ros ([salva](https://huggingface.co/salva))
|
70 |
+
|
71 |
+
## Useful links
|
72 |
+
|
73 |
+
- [Community Week timeline](https://discuss.huggingface.co/t/open-to-the-community-community-week-using-jax-flax-for-nlp-cv/7104#summary-timeline-calendar-6)
|
74 |
+
- [Community Week README](https://github.com/huggingface/transformers/blob/master/examples/research_projects/jax-projects/README.md)
|
75 |
+
- [Community Week thread](https://discuss.huggingface.co/t/bertin-pretrain-roberta-large-from-scratch-in-spanish/7125)
|
76 |
+
- [Community Week channel](https://discord.com/channels/858019234139602994/859113060068229190)
|
77 |
+
- [Masked Language Modelling example scripts](https://github.com/huggingface/transformers/tree/master/examples/flax/language-modeling)
|
78 |
+
- [Model Repository](https://huggingface.co/flax-community/alberti-bert-base-multilingual-cased/)
|
79 |
+
|
80 |
+
## Acknowledgments
|
81 |
+
|
82 |
+
This project would not have been possible without the infrastructure and resources provided by HuggingFace and Google Cloud. Moreover, we want to thank POSTDATA Project (ERC-StG-679528) and the Computational Literary Studies Infrastructure (CLS INFRA No. 101004984) of the European Union's Horizon 2020 research and innovation programme for their support and time allowance.
|