openai / gpt-2

Code for the paper "Language Models are Unsupervised Multitask Learners"
https://openai.com/blog/better-language-models/
Other
22.57k stars 5.53k forks source link

How to use gpt-2 for question answers task? #309

Open ayush431 opened 2 years ago

JsNx137 commented 1 year ago

G

Ashish-Waykar commented 1 year ago

Create virtual environment by : py- m venv env_name Run : Pip install -r requirements.txt Now after installation packages activate your environment & run the project

Moyulingjiu commented 1 year ago

Create virtual environment by : py- m venv env_name Run : Pip install -r requirements.txt Now after installation packages activate your environment & run the project

His question should be, give a sentence and gpt2 give an answer instead of writing a story. So that he can use gpt2 as a chatbot

Ashish-Waykar commented 1 year ago

@Moyulingjiu

Please reffer these Documentation: https://github.com/openai/gpt-2/blob/master/DEVELOPERS.md

Ashish-Waykar commented 1 year ago

@Moyulingjiu

Please reffer these Documentation: https://github.com/openai/gpt-2/blob/master/DEVELOPERS.md