Close Menu
Ztoog
    What's Hot
    Mobile

    OnePlus Ace 3V is the first with the SD 7+ Gen 3

    Science

    Inside the Beef Industry’s Campaign to Influence Schoolchildren

    Mobile

    First images of iQOO Neo 8 and Neo 8 Pro appear online

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      OPPO launches A5 Pro 5G: Premium features at a budget price

      How I Turn Unstructured PDFs into Revenue-Ready Spreadsheets

      Is it the best tool for 2025?

      The clocks that helped define time from London’s Royal Observatory

      Summer Movies Are Here, and So Are the New Popcorn Buckets

    • Technology

      What It Is and Why It Matters—Part 1 – O’Reilly

      Ensure Hard Work Is Recognized With These 3 Steps

      Cicada map 2025: Where will Brood XIV cicadas emerge this spring?

      Is Duolingo the face of an AI jobs crisis?

      The US DOD transfers its AI-based Open Price Exploration for National Security program to nonprofit Critical Minerals Forum to boost Western supply deals (Ernest Scheyder/Reuters)

    • Gadgets

      Maono Caster G1 Neo & PD200X Review: Budget Streaming Gear for Aspiring Creators

      Apple plans to split iPhone 18 launch into two phases in 2026

      Upgrade your desk to Starfleet status with this $95 USB-C hub

      37 Best Graduation Gift Ideas (2025): For College Grads

      Backblaze responds to claims of “sham accounting,” customer backups at risk

    • Mobile

      Samsung Galaxy S25 Edge promo materials leak

      What are people doing with those free T-Mobile lines? Way more than you’d expect

      Samsung doesn’t want budget Galaxy phones to use exclusive AI features

      COROS’s charging adapter is a neat solution to the smartwatch charging cable problem

      Fortnite said to return to the US iOS App Store next week following court verdict

    • Science

      Nothing is stronger than quantum connections – and now we know why

      Failed Soviet probe will soon crash to Earth – and we don’t know where

      Trump administration cuts off all future federal funding to Harvard

      Does kissing spread gluten? New research offers a clue.

      Why Balcony Solar Panels Haven’t Taken Off in the US

    • AI

      Hybrid AI model crafts smooth, high-quality videos in seconds | Ztoog

      How to build a better AI benchmark

      Q&A: A roadmap for revolutionizing health care through data-driven innovation | Ztoog

      This data set helps researchers spot harmful stereotypes in LLMs

      Making AI models more trustworthy for high-stakes settings | Ztoog

    • Crypto

      Ethereum Breaks Key Resistance In One Massive Move – Higher High Confirms Momentum

      ‘The Big Short’ Coming For Bitcoin? Why BTC Will Clear $110,000

      Bitcoin Holds Above $95K Despite Weak Blockchain Activity — Analytics Firm Explains Why

      eToro eyes US IPO launch as early as next week amid easing concerns over Trump’s tariffs

      Cardano ‘Looks Dope,’ Analyst Predicts Big Move Soon

    Ztoog
    Home » Automated Mentoring with ChatGPT – O’Reilly
    Technology

    Automated Mentoring with ChatGPT – O’Reilly

    Facebook Twitter Pinterest WhatsApp
    Automated Mentoring with ChatGPT – O’Reilly
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    Ethan and Lilach Mollick’s paper Assigning AI: Seven Approaches for Students with Prompts explores seven methods to make use of AI in instructing. (While this paper is eminently readable, there’s a non-academic model in Ethan Mollick’s Substack.) The article describes seven roles that an AI bot like ChatGPT may play within the training course of: Mentor, Tutor, Coach, Student, Teammate, Student, Simulator, and Tool. For every function, it features a detailed instance of a immediate that can be utilized to implement that function, alongside with an instance of a ChatGPT session utilizing the immediate, dangers of utilizing the immediate, tips for academics, directions for college kids, and directions to assist trainer construct their very own prompts.

    The Mentor function is especially necessary to the work we do at O’Reilly in coaching folks in new technical expertise. Programming (like some other talent) isn’t nearly studying the syntax and semantics of a programming language; it’s about studying to unravel issues successfully. That requires a mentor; Tim O’Reilly has at all times stated that our books needs to be like “someone wise and experienced looking over your shoulder and making recommendations.” So I made a decision to offer the Mentor immediate a attempt on some quick packages I’ve written. Here’s what I realized–not notably about programming, however about ChatGPT and automatic mentoring. I received’t reproduce the session (it was fairly lengthy). And I’ll say this now, and once more on the finish: what ChatGPT can do proper now has limitations, however it is going to actually get higher, and it’ll in all probability get higher shortly.



    Learn quicker. Dig deeper. See farther.

    First, Ruby and Prime Numbers

    I first tried a Ruby program I wrote about 10 years in the past: a easy prime quantity sieve. Perhaps I’m obsessed with primes, however I selected this program as a result of it’s comparatively quick, and since I haven’t touched it for years, so I used to be considerably unfamiliar with the way it labored. I began by pasting within the full immediate from the article (it’s lengthy), answering ChatGPT’s preliminary questions on what I wished to perform and my background, and pasting within the Ruby script.

    ChatGPT responded with some pretty primary recommendation about following widespread Ruby naming conventions and avoiding inline feedback (Rubyists used to suppose that code needs to be self-documenting. Unfortunately). It additionally made a degree a few places() technique name inside the program’s most important loop. That’s fascinating–the places() was there for debugging, and I evidently forgot to take it out. It additionally made a helpful level about safety: whereas a primary quantity sieve raises few safety points, studying command line arguments straight from ARGV reasonably than utilizing a library for parsing choices might depart this system open to assault.

    It additionally gave me a brand new model of this system with these adjustments made. Rewriting this system wasn’t acceptable: a mentor ought to remark and supply recommendation, however shouldn’t rewrite your work. That needs to be as much as the learner. However, it isn’t a significant issue. Preventing this rewrite is so simple as simply including “Do not rewrite the program” to the immediate.

    Second Try: Python and Data in Spreadsheets

    My subsequent experiment was with a brief Python program that used the Pandas library to research survey knowledge saved in an Excel spreadsheet. This program had just a few issues–as we’ll see.

    ChatGPT’s Python mentoring didn’t differ a lot from Ruby: it instructed some stylistic adjustments, resembling utilizing snake-case variable names, utilizing f-strings (I don’t know why I didn’t; they’re one in every of my favourite options), encapsulating extra of this system’s logic in features, and including some exception checking to catch doable errors within the Excel enter file. It additionally objected to my use of “No Answer” to fill empty cells. (Pandas usually converts empty cells to NaN, “not a number,” and so they’re frustratingly laborious to deal with.) Useful suggestions, although hardly earthshaking. It can be laborious to argue in opposition to any of this recommendation, however on the identical time, there’s nothing I might think about notably insightful. If I had been a pupil, I’d quickly get pissed off after two or three packages yielded related responses.

    Of course, if my Python actually was that good, perhaps I solely wanted just a few cursory feedback about programming model–however my program wasn’t that good. So I made a decision to push ChatGPT somewhat tougher. First, I advised it that I suspected this system may very well be simplified by utilizing the dataframe.groupby() operate within the Pandas library. (I hardly ever use groupby(), for no good motive.) ChatGPT agreed–and whereas it’s good to have a supercomputer agree with you, that is hardly a radical suggestion. It’s a suggestion I might have anticipated from a mentor who had used Python and Pandas to work with knowledge. I needed to make the suggestion myself.

    ChatGPT obligingly rewrote the code–once more, I in all probability ought to have advised it to not. The ensuing code regarded cheap, although it made a not-so-subtle change in this system’s conduct: it filtered out the “No answer” rows after computing percentages, reasonably than earlier than. It’s necessary to be careful for minor adjustments like this when asking ChatGPT to assist with programming. Such minor adjustments occur often, they appear innocuous, however they’ll change the output. (A rigorous take a look at suite would have helped.) This was an necessary lesson: you actually can’t assume that something ChatGPT does is right. Even if it’s syntactically right, even when it runs with out error messages, ChatGPT can introduce adjustments that result in errors. Testing has at all times been necessary (and under-utilized); with ChatGPT, it’s much more so.

    Now for the following take a look at. I by accident omitted the ultimate strains of my program, which made various graphs utilizing Python’s matplotlib library. While this omission didn’t have an effect on the info evaluation (it printed the outcomes on the terminal), a number of strains of code organized the info in a manner that was handy for the graphing features. These strains of code had been now a form of “dead code”: code that’s executed, however that has no impact on the outcome. Again, I might have anticipated a human mentor to be throughout this. I might have anticipated them to say “Look at the data structure graph_data. Where is that data used? If it isn’t used, why is it there?” I didn’t get that form of assist. A mentor who doesn’t level out issues within the code isn’t a lot of a mentor.

    So my subsequent immediate requested for solutions about cleansing up the useless code. ChatGPT praised me for my perception and agreed that eradicating useless code was a good suggestion. But once more, I don’t need a mentor to reward me for having good concepts; I need a mentor to note what I ought to have seen, however didn’t. I need a mentor to show me to be careful for widespread programming errors, and that supply code inevitably degrades over time in case you’re not cautious–even because it’s improved and restructured.

    ChatGPT additionally rewrote my program but once more. This closing rewrite was incorrect–this model didn’t work. (It might need performed higher if I had been utilizing Code Interpreter, although Code Interpreter is not any assure of correctness.) That each is, and isn’t, a problem. It’s yet one more reminder that, if correctness is a criterion, it’s important to examine and take a look at all the things ChatGPT generates rigorously. But–within the context of mentoring–I ought to have written a immediate that suppressed code era; rewriting your program isn’t the mentor’s job. Furthermore, I don’t suppose it’s a horrible downside if a mentor sometimes offers you poor recommendation. We’re all human (no less than, most of us). That’s a part of the educational expertise. And it’s necessary for us to seek out functions for AI the place errors are tolerable.

    So, what’s the rating?

    • ChatGPT is nice at giving primary recommendation. But anybody who’s severe about studying will quickly need recommendation that goes past the fundamentals.
    • ChatGPT can acknowledge when the person makes good solutions that transcend easy generalities, however is unable to make these solutions itself. This occurred twice: once I needed to ask it about groupby(), and once I requested it about cleansing up the useless code.
    • Ideally, a mentor shouldn’t generate code. That may be fastened simply. However, if you’d like ChatGPT to generate code implementing its solutions, it’s important to examine rigorously for errors, a few of which can be refined adjustments in program’s conduct.

    Not There Yet

    Mentoring is a crucial software for language fashions, not the least as a result of it finesses one in every of their greatest issues, their tendency to make errors and create errors. A mentor that sometimes makes a nasty suggestion isn’t actually an issue; following the suggestion and discovering that it’s a useless finish is a crucial studying expertise in itself. You shouldn’t imagine all the things you hear, even when it comes from a dependable supply. And a mentor actually has no enterprise producing code, incorrect or in any other case.

    I’m extra involved about ChatGPT’s problem in offering recommendation that’s actually insightful, the form of recommendation that you just actually need from a mentor. It is ready to present recommendation whenever you ask it about particular issues–however that’s not sufficient. A mentor wants to assist a pupil discover issues; a pupil who’s already conscious of the issue is nicely on their manner in the direction of fixing it, and will not want the mentor in any respect.

    ChatGPT and different language fashions will inevitably enhance, and their potential to behave as a mentor can be necessary to people who find themselves constructing new sorts of studying experiences. But they haven’t arrived but. For the time being, if you’d like a mentor, you’re by yourself.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    Technology

    What It Is and Why It Matters—Part 1 – O’Reilly

    Technology

    Ensure Hard Work Is Recognized With These 3 Steps

    Technology

    Cicada map 2025: Where will Brood XIV cicadas emerge this spring?

    Technology

    Is Duolingo the face of an AI jobs crisis?

    Technology

    The US DOD transfers its AI-based Open Price Exploration for National Security program to nonprofit Critical Minerals Forum to boost Western supply deals (Ernest Scheyder/Reuters)

    Technology

    The more Google kills Fitbit, the more I want a Fitbit Sense 3

    Technology

    Sorry Shoppers, Amazon Says Tariff Cost Feature ‘Is Not Going to Happen’

    Technology

    Vibe Coding, Vibe Checking, and Vibe Blogging – O’Reilly

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    Gadgets

    Secure your data with a lifetime subscription to this 1TB cloud storage service for $119.97

    We might earn income from the merchandise out there on this web page and take…

    Crypto

    Securing Funding For Lawyers? Terra’s Do Kwon Sells More Bitcoin

    In the previous few months, Terraforms Labs (TFL) and co-founder Do Kwon have more and…

    Science

    Quantum theory is challenging long-standing ideas about entropy

    Quantum theory is poking holes in our understanding of entropyVICTOR de SCHWANBERG/SCIENCE PHOTO LIBRARY Measuring…

    Technology

    A student's AI tool wins a global contest to read the text inside a carbonized Herculaneum scroll, which had been unreadable since a volcanic eruption in AD 79 (Jo Marchant/Nature)

    Jo Marchant / Nature: A pupil’s AI tool wins a global contest to read the…

    Science

    Jupiter’s stormy surface replicated in lab

    Vortices on Jupiter, captured by NASA’s Juno mission in 2022NASA/JPL-Caltech/SwRI/MSSS/Brian Swift Stunning patterns in Jupiter’s…

    Our Picks
    Mobile

    Week 20 in review: HTC U23 Pro official, Xperia Pro’s cameras detailed

    AI

    Meet Tarsier: An Open Source Python Library to Enable Web Interaction with Multi-Modal LLMs like GPT4

    Crypto

    Two founders behind Russian crypto mixer Tornado Cash charged by US federal courts

    Categories
    • AI (1,483)
    • Crypto (1,745)
    • Gadgets (1,796)
    • Mobile (1,839)
    • Science (1,854)
    • Technology (1,790)
    • The Future (1,636)
    Most Popular
    Mobile

    Kuo posts his 2024 iPad forecast which includes a second larger-screened iPad Air

    Science

    Celebrate Jurassic Park’s birthday with new dino finds

    The Future

    Belkin offering up to 50% off selected devices as part if their Black Friday sale

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

    Type above and press Enter to search. Press Esc to cancel.