all AI news
Create a good prompt for openAI text-generation model
Jan. 19, 2022, 10:50 a.m. | /u/Dario_Della
Natural Language Processing www.reddit.com
Hi guys, I'm a data science student and i'm trying to build a new dataset using OpenAi framework.
My idea is to use 5000 phrases and triples to train a data-to-text OpenAi model which given a triple generates of the text.
reading the OpneAi documentation, I found this script for reference:
import os import openai openai.api_key = os.getenv("OPENAI_API_KEY") response = openai.Completion.create( engine="davinci", prompt="English: I do not speak French.\nFrench: Je ne parle pas français.\n\nEnglish: See you later!\nFrench: À tout à l'heure!\n\nEnglish: …!-->
More from www.reddit.com / Natural Language Processing
Anyone working on mathematics of transformers?
1 day, 21 hours ago |
www.reddit.com
What Do You Love About NLP?
2 days, 9 hours ago |
www.reddit.com
How to Install and Deploy LLaMA 3 Into Production
3 days, 2 hours ago |
www.reddit.com
The Languages AI Is Leaving Behind
6 days, 2 hours ago |
www.reddit.com
Feeling so inferior in the NLP job market.
6 days, 22 hours ago |
www.reddit.com
NLP: building a sentiment model
6 days, 23 hours ago |
www.reddit.com
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Senior AI & Data Engineer
@ Bertelsmann | Kuala Lumpur, 14, MY, 50400
Analytics Engineer
@ Reverse Tech | Philippines - Remote