This repo contains simple usages for utilizing GPT API provided by OpenAI.
- GPT API usage : Basic OpenAI API usage for using GPT
- Wiki Summarize : Wikipedia Web crawling using Beautiful Soup + Summarization using GPT
- Retrieval-Augmented Generation : A minimal implementation of RAG using Wikipedia. Given the user's question, GPT first suggests entities for searching Wikipedia. Then, GPT summarizes the queried pages and the summarized sentences and the given question are combined and given to GPT to answer.
- Qaulity-Diversity Wiki Sampling: A quality-diversity based sampling using determinantal point processes where the kernel matrix is constructed from BERT distance measure. The initial sample is deterministically selected using the same BERT distance.
- GPT Fine-Tuning: Fine-tune GPT model using OpenAI API.
sungjoon dash choi at korea dot ac dot kr