ChatGPT as Your Expert Helper

ChatGPT can help us learn new programming languages, courses, techniques, and skills. It has become a go-to tool for many professionals seeking to improve their workflows or learn something new. ChatGPT expert helper prompts can reduce our dependence on Google and provide detailed plans for achieving goals.

In this post, you will learn to leverage simple ChatGPT prompts for learning a technique or performing specialized tasks. Specifically, you will learn how to:

  • Generate instructions for training a model on a TPU (Tensor Processing Unit).
  • Generate detailed instructions for safely cutting down a tree.
  • Craft expert helper prompts.

Get started and apply ChatGPT with my book Maximizing Productivity with ChatGPT. It provides real-world use cases and prompt examples designed to get you using ChatGPT quickly.


Let’s get started.

ChatGPT as Your Expert Helper
Picture generated by Adrian Tam using Stable Diffusion. Some rights reserved.

Overview

This post is divided into three parts; they are

  • Accelerating Machine Learning Models with TPUs
  • A Guide to Safely Cutting Down a Tree
  • Tips on Writing Expert Helper Prompts

Accelerating Machine Learning Models with TPUs

In the first example, you will address a specialized issue many data scientists may be unaware of. To accelerate machine learning model training, most engineers currently utilize GPUs (Graphics Processing Units) or multiple GPUs. However, TPUs (Tensor Processing Units) can provide even faster training times. You may not be able to find many instructions to use TPUs, but you can ask ChatGPT for help by writing a correct prompt.

In your prompt, you should define:

  • Actor: ChatGPT should behave as a professional Machine Learning Engineer.
  • Request: write code for training image classifier on TPU.
  • Environment: Google Colab.

For example, the prompt can be the following:

Act as a professional Machine Learning Engineer and write the Python code for training the TensorFlow Image classification model on TPU. The computing environment is Google Colab.

This is the output you may see from ChatGPT’s response:

The ChatGPT example demonstrates how to train a model on TPU by generating Python code with placeholders. To properly execute the code, you must replace the placeholders with your dataset loading and preprocessing code, model architecture, loss function, evaluation metrics, optimizer, training parameters, training data, and test data.

After replacing the code, you can copy and paste it into a new Colab notebook and run the code with TPU hardware acceleration. The code you obtained may not be fully executable and may contain some bugs. However, you should be able to identify them and correct them easily.

Note: Output from ChatGPT is not always correct. You must verify the accuracy using other means.

A Guide to Safely Cutting Down a Tree

In the second example, you will focus on the non-technical techniques required to cut down the tree safely. To get appropriate instructions, you must provide sufficient circumstances in the prompt, such as:

  • Actor: ChatGPT should behave as an experienced professional arborist.
  • Request: List down the steps required for cutting down a tree safely.
  • Environment: The tree is Box Elder, 50 feet tall, in between two houses.
  • Location: Suburbs, Mountain View, and California.

As an example, the prompt to ChatGPT can be:

Act as an experienced professional arborist and list the critical safety procedures for removing a 50-foot-tall Box Elder tree located between two houses in a suburban neighborhood in Mountain View, California.

This is what you may see in the output:

As an experienced professional arborist, I can provide you with a list of critical safety procedures for removing a 50-foot-tall Box Elder tree located between two houses in a suburban neighborhood in Mountain View, California. It’s important to note that tree removal can be dangerous, and I highly recommend consulting with a certified arborist or tree removal professional for such a task. Nevertheless, here are some general safety procedures to consider:

 

  1. Perform a thorough assessment: Before starting the tree removal process, assess the tree’s condition, potential hazards, and the surrounding area. Look for signs of decay, disease, or structural weaknesses that may affect the tree’s stability.
  2. Obtain necessary permits: Check with the local authorities and obtain any required permits or permissions for tree removal in Mountain View, California. Compliance with local regulations is crucial to ensure safety and avoid legal issues.
  3. Use proper personal protective equipment (PPE): Wear appropriate PPE, including a hard hat, safety glasses, ear protection, gloves, and sturdy, non-slip boots. PPE helps protect against falling debris and other potential hazards.
  4. Establish a safety zone: Clearly mark and secure the area around the tree to prevent unauthorized access. Use caution tape or barricades to keep pedestrians and vehicles away from the work zone.
  5. Plan for equipment and personnel: Determine the necessary equipment, tools, and personnel required for safe tree removal. This may include chainsaws, ropes, rigging equipment, and an experienced crew.
  6. Engage in proper pruning techniques: If necessary, perform tree pruning to remove dead branches or reduce the tree’s weight before the main removal process. Proper pruning techniques help prevent accidents and control the tree’s fall direction.
  7. Conduct controlled tree felling: When felling the tree, employ proper cutting techniques to ensure a controlled fall. Consider the tree’s lean, surrounding obstacles, wind direction, and other factors that might influence its fall path.
  8. Use rigging and lowering devices: If the tree’s location poses a risk to nearby structures or obstacles, utilize rigging and lowering devices to safely control the tree’s descent. This technique helps minimize the potential for property damage and injury.
  9. Perform tree removal in sections: When dealing with larger trees, it’s often safer to remove them in sections. This involves carefully cutting and lowering smaller portions of the tree to the ground rather than attempting to fell the entire tree at once.
  10. Use proper tree removal techniques: Follow industry best practices for tree removal, including making precise cuts, avoiding excessive force, and maintaining control throughout the process. Be aware of potential hazards such as limb kickback and split wood.
  11. Consider hiring professionals: Given the complexity and potential risks involved in removing a 50-foot-tall tree between two houses, it’s strongly recommended to engage the services of a certified arborist or experienced tree removal company. Their expertise and specialized equipment will help ensure a safe and efficient removal process.

 

Remember, tree removal can be extremely hazardous, especially when dealing with large trees or those in close proximity to structures. Prioritizing safety at all times is essential to protect yourself, your crew, and the surrounding property.

The list generated covered many important safety steps. However, removing a large tree like the one described is a complex undertaking that likely requires specialized equipment, trained personnel, required permits, proper techniques, access to key details, and contingency planning. Even if you hire professionals, you need access to the tree’s location, area, and spread before giving a green light.

In conclusion, it may not be a good idea to follow ChatGPT’s instructions to do such work, even though it gives many details on how to do so. Hiring a certified arborist and insured tree removal company to do this job may be a wiser decision.

Tips on Writing Expert Helper Prompts

Think of speaking with a real professional lawyer or doctor — you wouldn’t walk in and vaguely say “I need help.” You would thoroughly explain the who, what, where, why, and how behind your specific request. The same principle applies when using ChatGPT expert helpers.

To generate effective expert helper prompts with ChatGPT, provide it with as much relevant context as possible. Explain:

  • The role or profession of the expert you want assistance from. Be specific. For example: “a certified arborist”
  • The nature of the task or request. Be clear, direct, and provide key details. For example: “Safely remove this 50-foot tall tree between two houses.”
  • Any variables, constraints, or conditions that impact the situation. Give measurements, locations, and specifications as needed.
    Environmental factors, circumstances, or obstacles that introduce complexity.
  • The required outcome or goal you hope to achieve.

The more accurate, specific, and robust the description of your scenario, the more precise and useful ChatGPT’s response will likely be. ChatGPT’s ability to simulate an “expert” is constrained by the clarity and completeness of the information you provide to frame the context.

Summary

In this post, we discussed how to craft ChatGPT expert helper prompts to generate helpful responses. Specifically, we covered:

  • How to write a well-explained prompt for accelerating machine learning models training with TPUs.
  • How to generate a list of the critical safety procedures for removing a tree. It is more complex than you think.
  • Tips for crafting more targeted prompts that provide a clear description of the task from the perspective of the relevant expert include necessary variables and a defined objective.

Maximize Your Productivity with ChatGPT!

Maximizing Productivity with ChatGPT

Let Generative AI Help You Work Smarter

...by leveraging the power of advanced AI from ChatGPT, Google Bard, and many other tools online

Discover how in my new Ebook:
Maximizing Productivity with ChatGPT

It provides great tips with examples of all kinds to make you the boss of AI robots
for brainstorming, editing, expert helper, translator, and much more...

Make AI work for you with my latest book


See What's Inside

No comments yet.

Leave a Reply