• Home
  • Home
  • Home
Tag:

GPT4

GPT is the greatest tool I've seen. But it takes some work to get the hang of it!
Journals

GPT Tales: A Night of Endless Trials

by Yasin Ghasemi 29 November 2023

Greetings fellows

Yesterday was an exciting day. I talked about how it began in the previous blog post. I used text-to-speech to jot down my thoughts while driving back home. Then used GPT to correct sentences grammatically and extend it a little bit. 

After I arrived home, I didn’t take a cold shower, unfortunately. I forgot to do so. Instead, I took a long nap. I realized I’m a bit lethargic from 10 am to 12 pm. That’s weird. I had a perfect 8-hour sleep last night, yet at 10 this morning, I felt I needed to wind down a bit for an hour or so. No matter when I wake up, 10 am is when my eyelashes become too heavy to hold up.

I spent the rest of yesterday working on BluLexi. I coded a Python script for Google OAuth. I didn’t think it would work. But it worked! And that boosted my confidence dramatically. When Pouya asked me to do it, I thought oh man, that would take years. But with some help from GPT, I did it. 

About GPT, something hilarious happened last night when I asked it to help me with the OAuth task. The prompt was simple and to the point, “give me a script for google oauth,” or something along these lines. It provided a bulk of code. Asked it to provide a test. Ran the code. An error popped up. Copied the error for GPT and asked it to solve the issue. Gave some suggestions. None of them worked. And it was when that endless cycle of trial and error started. I even used GPT4, and it didn’t return useful results.

The problem was that GPT was using libraries with deprecated methods. And it was not telling me what alternatives could be used for those methods! All of a sudden, something came to my mind. I asked it to handle the job without using any libraries. It returned a big block of code. It worked! I was happy deep inside. I ran it, and it worked.

The interesting thing is that as much as GPT can be useful and can make life easier, it can also make life much harder. If you’re completely unaware of a subject, like I was about Google OAuth, and if it gives you wrong information, you may spend the next couple of hours fixing a hot mess of wrong information. And it keeps getting worse when you ask it to fix bugs. Unless you suddenly realize what’s wrong and how to fix it. Use GPT for things you are familiar with.

Onto today, I had a lazy morning. Woke up immediately, grabbed my laptop, and started working on on BluLexi tasks. That Google OAuth had given me some good confidence and motivation. Had some breakfast. Eyelashes started to have a situation as described earlier. Winded down a little bit. Did some extra work on BluLexi. And now here I am.

Yesterday, I worked on a prompt to solve the issue with my code. I mean that code for the coding project. I need to work on it later today to see if I can finish it once and for all. I’m confident I can. If this bug is fixed, there will be only 2 more steps to finish the project off.

Let’s hope for the best, and shoot for the moon
Cheers

29 November 2023 0 comment
0 FacebookTwitterPinterestEmail
Optimized BluLexi's back-end. And I have some good plans for today.
Journals

Optimizing BluLexi: Behind the Scenes Part 1

by Yasin Ghasemi 26 November 2023

Hello dear reader

I spent all my time at home yesterday. I didn’t even go out running. I hadn’t done that in almost 6 months! It felt good. I think my body needed it. And I focused on BluLexi a lot, optimizing the back-end part of the website.

I didn’t go to Postex yesterday. I stayed home. I worked on the last report I had to give them. Then, I pinpointed my focus on BluLexi. You see, BluLexi uses a model train on OpenAI’s GPT 3.5 Turbo model. And we’re about to train a bigger, better model. But training a new model, or as they say, fine-tuning a model, can be a bit costly. So, I optimized the prompt we’re going to use. The old prompt was about 2100 tokens, and this new one is a little more than 600 tokens! That’s a big win.

The first phase of BluLexi is assessing writing for academic English tests like IELTS and TOEFL. This phase can be done by the end of this week. I think the bottleneck here is creating a good UI. That slows us down since Pouya is a little bit busy these days. We’re using Google Chats to manage the project. It’s handy and can be used for smaller groups. I like it.

One thing I realized yesterday was the significant internet speed drop from 6 to 10 pm. It’s weird. You can’t use the internet efficiently. This means I should arrange my schedule to finish working by 6, do other stuff after that, and then go to sleep. I watched a movie at around 9:30 pm last night when the internet started playing games with me.

Let’s talk about today. Today is the day that I focus on my coding project. Yes, I didn’t do anything about it yesterday. It gives me bad feelings. I should do it today. I am only 3 steps away from finishing it off. After that, I should write the text for this paper, which is much easier. So, that’s the priority for today.

I need to go to Postex today and collect my personal belongings. One of my friends’ younger sister asked me a Python question. I should find some time to help that poor thing. I should also go for a run. I feel my body needs some good training. Finally, I need to take care of some data-entry tasks related to BluLexi.

That’s it. See you around
Yasin

26 November 2023 0 comment
0 FacebookTwitterPinterestEmail
Coding, tea, and friendly get-togethers
Journals

Workday Adventures: Coding, Tea, and Friendly Get-togethers

by Yasin Ghasemi 23 November 2023

Good morning, beautiful people.
Yesterday’s bitter cold made for a slow start, taking me a good two hours into late morning to feel warm. I spent most of my morning writing yesterday’s blog post and experimenting with DALL-E 3.

The good news is that the coding issue has been resolved, and the bug is fixed. Before resuming my coding work, I remembered solving a similar problem four months ago. After checking my old files, I found a beautifully written Python script that worked well but didn’t interact with other files.

With some help from GPT and a substantial prompt, I identified the issue—just three lines of useless code ruining a DataFrame. A warm cup of tea and a chunky prompt later, I had a beautiful Python script. Testing it will have to wait until today since I was in a rush; let’s hope I finish the project today.

The atmosphere was surprisingly good at work, partly because senior directors were absent. They were either working remotely or elsewhere, sparing us from sudden delegations of unpleasant tasks. I relished the focus.

The day’s highlight was meeting a friend after work, our first get-together in nearly a month. We delved into various topics, from my trip to Istanbul to her struggles as a young woman in the Iranian community and the influence of society on life choices. It was enlightening.

I realized that societal pressure often drives major life decisions. People find partners or immigrate to fit in rather than out of genuine desire. It’s frustrating. I, too, am searching for a new romantic partner and contemplating immigration, but many around me do these things to maintain appearances, not fulfill true needs.

Enough of the philosophical musings; let’s dive into work. Today promises to be a beautiful day.
Hasta la vista, amigos!

23 November 2023 2 comments
0 FacebookTwitterPinterestEmail
An utterly cold morning run, while thinking about coding and stuff!
Journals

Life Revived: Resuming My 4-Month Coding Project

by Yasin Ghasemi 22 November 2023

Hi 🥱

As a person who has lived all of his Life in warmer climates, I should say that it was utterly cold this morning – though it was only 2°C! It hit me quite hard. I was wearing proper winter clothing, yet almost all of my morning energy was drained. That really sucks. It’s 9 am, and I feel like it’s 6 pm.

However, I enjoyed the company of one of my running mates, Mr. Rahimi, who accompanied me for the 14 km, even though one of his toes was a bit achy. I forgot to mention that the weather was spotless and beautiful, adding a touch of beauty to my Life. The sky was blue. Snow-capped mountains of far away could be clearly seen, making me appreciate the wonders of Life. I loved it overall, but I still feel cold 🥶

Aside from that, I’m happy to report that I started working on my coding project yesterday after 4 months! The onboarding process, knowing where I’d left off, took a while. But I started it nonetheless, breathing new Life into my project. GPT4 is really helpful. I love using it to simplify my Life. There’s a process step, though, that’s a bit buggy. I couldn’t solve the issue with the code yesterday, but I won’t let it disrupt my Life. I should do it today. I hope it doesn’t take long and can be solved fairly quickly to save me time in Life.

I need to work on the text for the paper, too. When I think of it, I see myself far behind the schedule, which stresses me out in Life. But there’s no way I can do it better. The push has come to shove! Gotta spend my entire time and energy on it before it’s too late in Life.

There’s also another thing that’s kept my mind busy for the past few months. I have started working on a joint project with my cousin Pouya. We’re harnessing the power of GPT to help learners of English learn better and faster, improving their Life skills. The first feature of the app we’re building together is up and running, which is a big milestone in our project and Life. I’m so excited. I believe we can do much more together to enhance people’s Lives.

Another feature will be released in a few days or so. We haven’t built a solid business model around it yet, but we’re optimistic about its potential in changing Lives. We’ll figure that out as we go by. For now, it’s free to use for the public, making it accessible to anyone seeking to improve their Life. It’s not indexed on Google, though. That should be done soon to reach a wider audience and impact more Lives.

About work, I don’t have any exciting new updates. I did some boring tasks yesterday, like translating brochures and some texts. I’m trying to manage my weekly workload in a way that doesn’t drain my energy much, preserving my energy for Life. And I don’t have many English tutoring sessions these days. I left early yesterday. That helped me sleep sooner and better, contributing to a healthier Life. I think I should work less. But since I need money, I should think about the ways I can earn money to support my Life. That’s serious. Because if I keep working like this, I’ll be dead before long, and that’s not how I want my Life to end!

Can’t wait for tomorrow to bring new opportunities and experiences to my Life!
See ya 👋🏼

22 November 2023 0 comment
0 FacebookTwitterPinterestEmail
Struggling with code, work conflicts, and low mood. Today's goal: finish code and academic paper. Routine tasks at work too.
Journals

Mood Swings and Mastering Code

by Yasin Ghasemi 21 November 2023

Hello hello hello

Unfortunately, I’m here to report that I couldn’t review my code yesterday and optimize it for one last time. It’s shameful. I have to finish it by the end of today; otherwise, I’ll go mad. So, that’s the main objective for today. But before I delve into today’s goals, let’s discuss yesterday.

Yesterday started with an enormous amount of enthusiasm and excitement. I wrote the blog post, and then suddenly, an overload of work hit me in the face! One of my superiors started a quarrel over a fundamentally unimportant task, which ruined my mood, and I was furious. I wanted only to get the task done and deliver it to her, and be done with it.

I did that and even completed another task that was a bit less boring. I designed a business plan for the company from scratch, utilizing GPT4 to finish the job in about 4 hours. GPT is really useful, and I love it. However, my mood was ruined, and my energy was drained, leading me to leave early. It took 3/15 hours to arrive home, though! That’s basically how yesterday went on. Time flies, and that workload flew by pretty fast.

Today, the most important task is doing the academic paper thingy. I really hate it when a task is half done like this; when it is almost over, and I give up doing it or distract myself to procrastinate and leave it be. I MUST finish it off. I’m sure I can do it, and it won’t take a great deal of time. I just have to do some copy-paste. Don’t be afraid of it, Yasin. You’ve got this boy.

I also have some routine tasks I have to follow up at work. I have to make some unnecessary changes to the business plan I talked about earlier. I also should review current company marketing material, like brochures, and see how we could improve them.

So, that’s it for today. I just hope tomorrow I’ll come here happily sharing the news of finishing the coding project ✌🏼

Until then 🎩

21 November 2023 0 comment
0 FacebookTwitterPinterestEmail

About Me

About Me

A Total Nerd & An Avid Runner

I'm interested in many topics, but Business, Python Programming, Language Learning, Philosophy, and Running are my favorites. I usually write about these stuff, and my daily routine life in here.

Recent Posts

  • OPTIMIZING BLULEXI: BEHIND THE SCENES PART 2

    6 December 2023
  • Friends’ Night Out

    3 December 2023
  • Python Scripting Adventures: Building a Telegram Bot

    2 December 2023
  • Discipline Is Destiny!

    1 December 2023
  • Friendship’s Twists and Turns: From Childhood to Adulthood

    30 November 2023

Categories

  • Journals (14)
  • Life (1)
  • Moments (1)
  • Nature (2)
  • Travel (1)
  • Uncategorized (1)

Instagram

Thanks for visiting my website

banner
Hi. I'm Yasin. Feel free to keep in touch and share your ideas. Who knows, we might build the next big thing togehter!

Popular Posts

  • 1

    My Baby Cactus

    7 June 2017
  • 2

    Green Corner in My Home

    7 June 2017
  • 3

    Twinkle Twinkle Little Star

    7 June 2017
  • Twitter
  • Instagram
  • Linkedin
  • Email
  • Github

© 2023 - All Rights Reserved. Designed and Developed with ❤️ by Afshin


Back To Top
Yasin's Personal Blog
  • Home