Global AI and Data Science

Global AI & Data Science

Train, tune and distribute models with generative AI and machine learning capabilities

 View Only
Expand all | Collapse all

Prompt Engineering - Worth it?

  • 1.  Prompt Engineering - Worth it?

    Posted Fri December 15, 2023 06:48 AM

    I came to post this message on Prompt Engineering after learning about the several courses offered. What I'm wondering is: Yes, it is clearly useful to be able to 'instruct' (it's not engineering)the AI Model in a way that facilitates what you need...but compared to traditional Machine Learning programming techniques, how worthy is it?

    If it's only supplemental job field that's growing, it probably wouldn't hurt to learn it along with traditional AI programming techniques, right? Or should I just focus on the traditional AI programming courses and leave Prompt Engineering for later?



    ------------------------------
    Zachary Cairns
    ------------------------------

    #AIandDSSkills


  • 2.  RE: Prompt Engineering - Worth it?

    Posted Mon December 18, 2023 10:22 AM

    I believe it's one of those skills that is pretty fast to pickup, and it's one more plus for you. Although, long-term wise, I don't believe it's a role that will stick around, it is more of a current AI hype thing. So, if you are looking very short-term, give prompt engineering a try, otherwise go with the traditional courses, you will get a much more solid base that will let you understand how things work.



    ------------------------------
    Pedro Coelho
    ------------------------------



  • 3.  RE: Prompt Engineering - Worth it?

    Posted Fri December 22, 2023 12:00 PM
    It's an add-on general task-skill that everyone interacting with AI Tools, in one form or another, would eventually pick-up. It doesn't pass for a separate job-field or competency unit, by itself.  







  • 4.  RE: Prompt Engineering - Worth it?

    Posted Mon December 18, 2023 04:38 PM

    Hello Zachary,

    I think this answer depends upon your short term needs and long term goals.  Focus the learning energy where you'll provide short term wins for your team, but also be able to provide benefit for your professional growth long term.  I embrace both methods (machine learning & prompt tuning) and think examples of each will be best for your journey.  I'll choose a public dataset, IBM CloudPak for Data, AutoAI and watsonx to illustrate.  

    ---------- Machine Learning ----------

    For machine learning, the public dataset "Titanic" will be used.  This can be found at:  Link to Titanic Dataset on Kaggle.com

    I downloaded "train.csv" and utilized this file only to simplify the example.  It was uploaded to the IBM Cloud Object Storage (COS) bucket and run through Auto AI modeling Survivability.  The training set was split into 90% of the data for training and 10% for testing.  There are many examples online to cross reference and I won't go into it here.  I wanted to know the top 3 algorithms that best model survivability, and what is the accuracy using each algorithm?  The result is attached here:

    AutoAI - Titanic Survivability Modeling
    The algorithms I selected were XGB Classifier (Accuracy 0.83 out of 1.0), Extra Trees Classifier (Accuracy 0.797 out of 1.0) and Snap Logistic Regression (Accuracy 0.780 out of 1.0).  Now the accuracy number is calculated from the 10% testing dataset withheld from the model training.  Each pipeline could be exported to a Jupyter Notebook allowing Python cross checks, improving explainability and trust.  I could independently try neural networks and regression algorithms, but wanted to reduce time and let Auto AI do all the legwork.  
    ---------- Prompt Tuning ----------
    This example is completly text based using Generative AI and a foundation model to accomplish different tasks.  We've all heard about Generative AI providing answers, how about changing the prompt given to a Large Language Model (LLM) to modify the task accomplished?  These examples will use IBM watsonx with LLM llama-2-13b-chat only.  The prompts submitted are black text on a white background, and responses are black text on a light blue background.  
    First - Modify the prompt to obtain a summarized answer to the question:  What does the IBM corporation provide?
    What does IBM provide?
    Ok - but that is a bit wordy.  Feed this answer back and request a summary:
    Summarize text please
    Ok - Nicer answer.  Concise and ready to use in a presentation.  But I really want to share this concise version with Japanese colleagues:
    Japanese Translation
    Great!  But the meeting just changed and now will have a bit of fun, so how about a pirate voice on the original question:
    Pirate Voice
    Lastly I have a PowerPoint slide and want to auto extract and classify the title slide for my database.  And yes, everyone has a unique order to these elements so an automated solution is best:
    Prompt Tuning
    This is the power of Prompt Tuning using a single foundation model:  llama-2-13b-chat, and just scratches the surface regarding what is possible.  Again the only changes were my prompting text. 
    To create your own LLM, you'll need to procure many high powered GPUs that can take literally multiple months of GPU hours to build.  This method uses foundation models already created and adjusts the task for your specific needs.  
    ---------- Summary ----------
    Your needs will dictate your learning order.  I do suggest both to greatly boost your professional growth! 
    I hope this has been useful.  


    ------------------------------
    Daniel Morvay
    ------------------------------



  • 5.  RE: Prompt Engineering - Worth it?

    Posted Fri December 22, 2023 11:34 AM

    Acquiring prompt engineering skills is quick and beneficial in the short term, adding a plus to your profile. However, in the long run, it might not be a lasting role and seems more like a current AI trend. If you prioritize the short term, explore prompt engineering; otherwise, opt for traditional courses for a robust foundation in understanding the intricacies of the field.



    ------------------------------
    Josh Buttler
    ------------------------------



  • 6.  RE: Prompt Engineering - Worth it?

    Posted Fri January 05, 2024 06:44 PM

    In my experience, Prompt Engineering is a grossly undervalued skill. I don't believe it is the future of AI but it is very useful today. There are many who will argue that model tuning and other techniques are cheaper and better way to get great results. That may be true in the long run. But if you want to get things prototyped fast, if you want to get to market today and with a low price of entry, prompt engineering is great. These arguments remind me of C++ vs Python, Ruby on Rails etc. debates. If you have time, money and skill to develop a highly performing C++ code, great. But you can create a fully functional app to show off to investors in a fraction of the time.

    We (IBM Skills Network) have used prompting to get a few great solutions to market very quick and they are performing very well serving over 7.5 million of our learners. We have Tai, a teaching assistant powered by AI and Mark, an exercise and assignment grader powered by AI both using nothing more sophisticated than prompting and LangChain.

    If you want to learn Prompt Engineering, you can take our course on Prompt Engineering on Coursera. You will also have an opportunity to interact with Tai and use our fit for purpose AI Classroom tool to help you learn prompting with several LLMs. 

    I have been thoroughly surprised just how quickly . I am of the opinion  that it be of a diminished  actually  but it can provide really quick and very good rewards for 



    ------------------------------
    Leon Katsnelson
    Director and CTO
    IBM
    -
    ------------------------------



  • 7.  RE: Prompt Engineering - Worth it?

    Posted Tue January 16, 2024 04:58 PM
    Congratulation





  • 8.  RE: Prompt Engineering - Worth it?

    Posted Mon January 08, 2024 11:06 AM

    Prompt engineering is a very important skill not only in tech but in many other fields. Generative AI is now part and parcel of daily life and knowing how to prompt AI tools makes one more efficient and successful in their field of work or endeavor. I also recommend taking short but practical courses on this by IBM on fora like Coursera.



    ------------------------------
    Selase Kwami
    ------------------------------



  • 9.  RE: Prompt Engineering - Worth it?

    Posted Thu January 11, 2024 04:08 AM

    I did not know IBM now has a course on Coursera. Would check it out. Prompt Engineering is such an important skill to have now. There are now even competitions on prompt engineering. It is becoming a big skill to master.



    ------------------------------
    Engr. Chinwe Vivian Ononiwu
    Assistant Manager ICT: Data Engineering, Strategic Intelligence Unit, ISDMA STOG
    Federal Inland Revenue Service
    Abuja Nigeria
    ------------------------------



  • 10.  RE: Prompt Engineering - Worth it?

    Posted Mon January 22, 2024 10:12 AM

    Prompt engineering can be beneficial depending on your specific needs. It is a tool for customizing the behavior of the model to your needs.

    Prompt engineering abilities boost your profile and are quick and advantageous in the short term, if you are planning for a long term then i will suggest stick to the conventional courses.,



    ------------------------------
    Alex Fankle
    ------------------------------



  • 11.  RE: Prompt Engineering - Worth it?

    Posted Mon January 22, 2024 11:31 AM

    Absolutely! If you're navigating the vast realm of AI programming and contemplating the inclusion of Prompt Engineering as a supplemental skill for your WordPress gaming website, it's a strategic move. Combining traditional AI programming techniques with a focus on Prompt Engineering could potentially enhance the interactive and dynamic aspects of your gaming site. By incorporating both skill sets, you may create a more immersive and engaging user experience, aligning with the evolving trends in AI technology for gaming websites. In essence, consider it a dual approach, expanding your proficiency in both traditional AI and Prompt Engineering to future-proof your skill set for the dynamic landscape of AI in the gaming industry.



    ------------------------------
    M RIZWAN
    ------------------------------



  • 12.  RE: Prompt Engineering - Worth it?

    Posted Fri February 23, 2024 02:15 AM

    I have been learning prompt engineering and I have been through many resources, all they are discussing about what is Generative AI and this resource seems good but I want to learn more about Generative AI (https://research.ibm.com/blog/what-is-generative-AI). As far as I know it is part of prompt engineering and it plays an important role in the same.

    Thanks!



    ------------------------------
    Mach Brown
    ------------------------------



  • 13.  RE: Prompt Engineering - Worth it?

    Posted Mon February 26, 2024 02:18 AM

    I have recently earned my Watsonx.ai Sales Foundation badge and it is a great way to start learning about AI and Generative AI: Course: watsonx.ai Sales Foundation (ibm.com) Maybe you can have a look at this? Next is the Watsonx.ai Technical Sales Intermediate which goes a bit more in detail.

    Good luck



    ------------------------------
    Jean-Marie Smets
    ------------------------------