How to do few shot in context learning using GPT-NEO
Hello,I want to use the model from huggingfaceEleutherAI/gpt-neo-1.3B · Hugging Faceto do few shot learning.I write my customized prompt, denoted as my_customerized_prompt, like this,label:science technologycontent:Google Making ‘Project Tango’ Tablets With Advanced 3D Vision: Report###label:science technologycontent:Uber Confirms “Record Breaking” Fundraising, Interest In Driverless Ubers###label:healthcontent:‘Biggest investigation’ launched into effects of mobiles###label:businesscontent:Google Earnings Preview: What Wall Street’s Saying###label:healthcontent:OECD sees growth slowing as emerging markets lose steam###label:entertainmentcontent:Zac Efron says he’s up for more ‘High School Musical,’ and so are we###label:science technologycontent:An angry letter to eBay: 5 questions it must answer about its security breach###label:entertainmentcontent:Kate Mulgrew doesn’t think the sun orbits the Earth###label:science technologycontent:Lunar eclipse coming###label:entertainmentcontent:UK police probing Peaches Geldof’s sudden death###label:healthcontent:CDC: Maine tops nation in rate of long-term opiate prescriptions###label:entertainmentcontent:‘Animal House’ times 10###label:businesscontent:Google, Facebook best employers in US: Survey###label:businesscontent:No Change in Mortgage Rates at TD Bank Today - Tuesday April 15###label:healthcontent:Breakthrough hepatitis C treatment cures over 90 percent of patients with cirrhosis###label:polticscontent:and I want gpt-neo to write a new content based on the last “label:politics”, for example.So how can I put the prompt to gpt-neo.Should I just simply give it as the usual prompt, similar to gpt-2?like this?from transformers import pipelinegenerator = pipeline(‘text-generation’, model=‘EleutherAI/gpt-neo-1.3B’)generator(my_customerized_prompt,  do_sample=True, min_length=50)Thanks.