qaqg
Indonesian Question Answering and Question Generation using Transformers
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: arxiv.org, ieee.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.1%) to scientific vocabulary
Keywords
Repository
Indonesian Question Answering and Question Generation using Transformers
Basic Info
Statistics
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Indonesian Question Answering and Question Generation using 🤗Transformers
idT5 for Question Generation and Question Answering
idT5 (Indonesian version of mT5) is fine-tuned on 30% of translated SQuAD v2.0 for Question Generation and Question Answering tasks.

Live Demo
Question Generation: ai.muchad.com/qg
Question Answering: t.me/caritahubot
Requirements
!pip install transformers==4.4.2
!pip install sentencepiece==0.1.95
!git clone https://github.com/muchad/qaqg.git
%cd qaqg/
Usage 🚀
Question Generation
``` from pipelineqg import pipeline #pipelineqg.py script in the cloned repo qg = pipeline()
sample
qg("Raja Purnawarman mulai memerintah Kerajaan Tarumanegara pada tahun 395 M.")
output
=> [{'answer': 'Raja Purnawarman','question': 'Siapa yang memerintah Kerajaan Tarumanegara?'}, {'answer': '395 M','question': 'Kapan Raja Purnawarman memerintah Kerajaan Tarumanegara?'}] ```
Question Answering
``` from pipelineqa import pipeline #pipelineqa.py script in the cloned repo qa = pipeline()
sample
qa({"context":"Raja Purnawarman mulai memerintah Kerajaan Tarumanegara pada tahun 395 M.","question":"Siapa pemimpin Kerajaan Tarumanegara?"})
output
=> Raja Purnawarman ```
Owner
- Name: muchad
- Login: muchad
- Kind: user
- Location: Malang Indonesia
- Company: duatiga IT Solutions
- Website: http://muchad.com
- Repositories: 1
- Profile: https://github.com/muchad
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Fuadi" given-names: "Mukhlish" orcid: "https://orcid.org/0000-0002-7595-7646" title: "Indonesian Question Answering and Question Generation using Transformers" version: 1.0.0 date-released: 2022-09-27 url: "https://github.com/muchad/qaqg"
GitHub Events
Total
- Watch event: 2
Last Year
- Watch event: 2