Spaces:
Build error
Build error
Updated the README.md
Browse files- README.md +32 -16
- app/app.py +6 -6
README.md
CHANGED
|
@@ -8,26 +8,42 @@ app_file: app/app.py
|
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
-
#
|
|
|
|
| 12 |
|
| 13 |
-
`title`: _string_
|
| 14 |
-
Display title for the Space
|
| 15 |
|
| 16 |
-
|
| 17 |
-
Space emoji (emoji-only character allowed)
|
| 18 |
|
| 19 |
-
|
| 20 |
-
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
| 21 |
|
| 22 |
-
|
| 23 |
-
Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
|
| 24 |
|
| 25 |
-
|
| 26 |
-
Can be either `gradio` or `streamlit`
|
| 27 |
|
| 28 |
-
|
| 29 |
-
Path to your main application file (which contains either `gradio` or `streamlit` Python code).
|
| 30 |
-
Path is relative to the root of the repository.
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Indonesian GPT-2 Applications
|
| 12 |
+
This is a collection of Applications that generates sentences using Indonesian GPT-2 models!
|
| 13 |
|
|
|
|
|
|
|
| 14 |
|
| 15 |
+
## How did we create it
|
|
|
|
| 16 |
|
| 17 |
+
## Development
|
|
|
|
| 18 |
|
| 19 |
+
### Dependencies Installation
|
|
|
|
| 20 |
|
| 21 |
+
### Inference Pipeline
|
|
|
|
| 22 |
|
| 23 |
+
## Authors
|
|
|
|
|
|
|
| 24 |
|
| 25 |
+
- [Akmal](https://github.com/Wikidepia)
|
| 26 |
+
- [Alvin Watner](https://github.com/alvinwatner)
|
| 27 |
+
- [Cahya Wirawan](https://github.com/cahya-wirawan)
|
| 28 |
+
- [Galuh Sahid](https://github.com/galuhsahid)
|
| 29 |
+
- [Muhammad Agung Hambali](https://github.com/magungh1)
|
| 30 |
+
- [Samsul Rahmadani](https://github.com/acul3)
|
| 31 |
+
|
| 32 |
+
## Acknowledgements
|
| 33 |
+
|
| 34 |
+
- 🤗 Hugging Face for organizing [the FLAX/JAX community week](https://github.com/huggingface/transformers/tree/master/examples/research_projects/jax-projects)
|
| 35 |
+
- Google [TPU Research Cloud (TRC) program](https://sites.research.google/trc/) for providing computing resources
|
| 36 |
+
- [Weights & Biases](https://wandb.com/) for providing the infrastructure for experiment tracking and model management
|
| 37 |
+
|
| 38 |
+
## Citing Indonesian GPT-2 Applications
|
| 39 |
+
|
| 40 |
+
If you find this is useful in your research or wish to refer, please use the following BibTeX entry.
|
| 41 |
+
|
| 42 |
+
```
|
| 43 |
+
@misc{Dayma_DALL·E_Mini_2021,
|
| 44 |
+
author = {Akmal, Alvin Watner, Cahya Wirawan, Galuh Sahid, Muhammad Agung Hambali, Samsul Rahmadani},
|
| 45 |
+
title = {Indonesian GPT-2 Applications},
|
| 46 |
+
url = {https://github.com/indonesian-nlp/gpt2-app},
|
| 47 |
+
year = {2021}
|
| 48 |
+
}
|
| 49 |
+
```
|
app/app.py
CHANGED
|
@@ -16,37 +16,37 @@ MODELS = {
|
|
| 16 |
"Indonesian GPT-2 Small": {
|
| 17 |
"group": "Indonesian GPT-2",
|
| 18 |
"name": "flax-community/gpt2-small-indonesian",
|
| 19 |
-
"description": "The original Indonesian
|
| 20 |
"text_generator": None
|
| 21 |
},
|
| 22 |
"Indonesian GPT-2 Medium": {
|
| 23 |
"group": "Indonesian GPT-2",
|
| 24 |
"name": "flax-community/gpt2-medium-indonesian",
|
| 25 |
-
"description": "The original Indonesian
|
| 26 |
"text_generator": None
|
| 27 |
},
|
| 28 |
"Indonesian Literature - GPT-2 Small": {
|
| 29 |
"group": "Indonesian Literature",
|
| 30 |
"name": "cahya/gpt2-small-indonesian-story",
|
| 31 |
-
"description": "The Indonesian Literature Generator using fine-tuned
|
| 32 |
"text_generator": None
|
| 33 |
},
|
| 34 |
"Indonesian Literature - GPT-2 Medium": {
|
| 35 |
"group": "Indonesian Literature",
|
| 36 |
"name": "cahya/gpt2-medium-indonesian-story",
|
| 37 |
-
"description": "The Indonesian Literature Generator using fine-tuned
|
| 38 |
"text_generator": None
|
| 39 |
},
|
| 40 |
"Indonesian Academic Journal - GPT-2 Small": {
|
| 41 |
"group": "Indonesian Journal",
|
| 42 |
"name": "Galuh/id-journal-gpt2",
|
| 43 |
-
"description": "The Indonesian Journal Generator using fine-tuned
|
| 44 |
"text_generator": None
|
| 45 |
},
|
| 46 |
"Indonesian Persona Chatbot - GPT-2 Small": {
|
| 47 |
"group": "Indonesian Persona Chatbot",
|
| 48 |
"name": "cahya/gpt2-small-indonesian-personachat",
|
| 49 |
-
"description": "The Indonesian Persona Chatbot using fine-tuned
|
| 50 |
"text_generator": None
|
| 51 |
},
|
| 52 |
}
|
|
|
|
| 16 |
"Indonesian GPT-2 Small": {
|
| 17 |
"group": "Indonesian GPT-2",
|
| 18 |
"name": "flax-community/gpt2-small-indonesian",
|
| 19 |
+
"description": "The original Indonesian GPT-2 small model.",
|
| 20 |
"text_generator": None
|
| 21 |
},
|
| 22 |
"Indonesian GPT-2 Medium": {
|
| 23 |
"group": "Indonesian GPT-2",
|
| 24 |
"name": "flax-community/gpt2-medium-indonesian",
|
| 25 |
+
"description": "The original Indonesian GPT-2 medium model.",
|
| 26 |
"text_generator": None
|
| 27 |
},
|
| 28 |
"Indonesian Literature - GPT-2 Small": {
|
| 29 |
"group": "Indonesian Literature",
|
| 30 |
"name": "cahya/gpt2-small-indonesian-story",
|
| 31 |
+
"description": "The Indonesian Literature Generator using fine-tuned GPT-2 small model.",
|
| 32 |
"text_generator": None
|
| 33 |
},
|
| 34 |
"Indonesian Literature - GPT-2 Medium": {
|
| 35 |
"group": "Indonesian Literature",
|
| 36 |
"name": "cahya/gpt2-medium-indonesian-story",
|
| 37 |
+
"description": "The Indonesian Literature Generator using fine-tuned GPT-2 medium model.",
|
| 38 |
"text_generator": None
|
| 39 |
},
|
| 40 |
"Indonesian Academic Journal - GPT-2 Small": {
|
| 41 |
"group": "Indonesian Journal",
|
| 42 |
"name": "Galuh/id-journal-gpt2",
|
| 43 |
+
"description": "The Indonesian Journal Generator using fine-tuned GPT-2 small model.",
|
| 44 |
"text_generator": None
|
| 45 |
},
|
| 46 |
"Indonesian Persona Chatbot - GPT-2 Small": {
|
| 47 |
"group": "Indonesian Persona Chatbot",
|
| 48 |
"name": "cahya/gpt2-small-indonesian-personachat",
|
| 49 |
+
"description": "The Indonesian Persona Chatbot using fine-tuned GPT-2 small model.",
|
| 50 |
"text_generator": None
|
| 51 |
},
|
| 52 |
}
|