Skip to content

BigDaMa/NST-FGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NST-FGPT

This solution is developed based on FlashGPT3[1] proposed by Microsoft. OpenAI API token and Ollama are required to run the experiments. flashgpt3/cache/default.json and flashgpt3/cache/toi.json are cache files for queries and TOIs, respectively. Delete flashgpt3/cache/default.json to obtain new query results. Delete flashgpt3/cache/toi.json and set NSTLearning = true to obtain new NSTs.

Run the Experiments

The easiest way to get started is installing Visual Studio and loading the solution (FlashGPT3.sln). All required dependencies can be easily installed through NuGet. Code was tested in a .NET 6.0 environment.

API Location

Create file ollamaapi.txt and openaikey.txt under ./flashgpt3 directory. ollamaapi.txt should contain http://your.ollama.address:port/api, and openaikey.txt should contain your OpenAI API Key or Project Key.

Related Links

[1] Gust Verbruggen, Vu Le, and Sumit Gulwani. 2021. Semantic programming by example with pre-trained models. Proc. ACM Program. Lang. 5, OOPSLA, Article 100 (October 2021), 25 pages. https://doi.org/10.1145/3485477

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages