r/ChatGPTCoding • • Dec 11 '23

Discussion Guilty for using chatgpt at work?

I'm a junior programmer (1y of experience), and ChatGPT is such an excellent tutor for me! However, I feel the need to hide the browser with ChatGPT so that other colleagues won't see me using it. There's a strange vibe at my company when it comes to ChatGPT. People think that it's kind of cheating, and many state that they don't use it and that it's overhyped. I find it really weird. We are a top tech company, so why not embrace tech trends for our benefit?

This leads me to another thought: if chatgpt solves my problems and I get paid for it, what's the future of this career, especially for a junior?

301 Upvotes

275 comments sorted by

View all comments

219

u/pete_68 Dec 11 '23

People think that it's kind of cheating

A few years from now, these people will be referred to as "unemployed."

Our company has embraced it and any smart company will. You can use OpenAI's API, and it will not record your prompts. You can use a tool like TurboGPT to get the chat functionality aspect of ChatGPT.

Alternatively, if you have a decent video card (I have an RTX 3050) you can use Ollama locally (it's as fast as ChatGPT on a 3050, which is about a $260 card). Ollama is a cinch to install and has numerous models available.

I got up to speed enough on Angular from 6 weeks of using ChatGPT to write an Angular app, that my company now has me on a billable project where I'm doing some pretty advanced Angular stuff.

These tools are amazing time savers and anyone who isn't learning how to make use of them, isn't going to be very marketable down the road.

35

u/Dubabear Dec 11 '23

this is the way

18

u/[deleted] Dec 12 '23

To add, C++.

GPT is helping me understand C++.

My college professor ran through C++ and didn’t really help. That’s probably why I missed out on the 2010 boom. Oh well. I am picking up the skills now. They will be good somewhere.

5

u/CheetahChrome Dec 12 '23

My college professor ran through C++ and didn’t really help.

My best teacher for languages was in High School because he taught the language and not the application of the language. It seemed the college professors wanted everyone to solve the "Traveling salesman" problem instead of teaching us the patterns and practices of the target language. Once one understands the common patterns, learning new languages is not that hard.

4

u/[deleted] Dec 13 '23

This brings up a really big problem I see currently with ChatGPT: it is roughly an average/junior-ish programmer. If you know what you want (you’re fairly advanced in a language), it is very good at taking instructions. If you’re trying to learn a language, it’s not very good at pointing you much further than you are today. ChatGPT is only as good as you already know how to be.

→ More replies (2)
→ More replies (6)

5

u/[deleted] Dec 12 '23 edited Dec 12 '23

chatGPT (aka copilot) is baked into the latest release of vscode. You can now ask questions, get fix suggestions, code explanation, using the new chat window on the sidebar or inline by simply highligthing code snippets. No more back and forth between your IDE and a browser.

→ More replies (4)

2

u/DropEng Dec 12 '23

This is the way

6

u/Ishouldneverpost Dec 11 '23

Well you just gave me a weekend objective see if I can run this on a 4070 ti!

8

u/pete_68 Dec 11 '23

Oh man, with a 4070, you can share access with your 10 best friends and it'll still be faster than ChatGPT.

3

u/Ishouldneverpost Dec 11 '23

Oh you have no idea how excited I am. And I’m just a hobbyist with this stuff. Though I’ve been using gpt to learn bash scripting.

2

u/pknerd Dec 12 '23

Give me the access once you set it up

→ More replies (5)
→ More replies (2)

4

u/nokenito Dec 12 '23

I tell my coworkers all the time and they are not listening. I’ve now shut up about it and keep over producing and killin’ them.

4

u/pete_68 Dec 13 '23

Yeah, I stopped being a cheerleader at work and just started outperforming. It's also inspired me to do more personal projects, because it's taken over so much of the tedious coding.

→ More replies (1)

3

u/StatusAnxiety6 Dec 11 '23

Probably couldn't have said this better.

3

u/-UltraAverageJoe- Dec 12 '23

This is the modern equivalent of being able to google something.

→ More replies (2)

2

u/nikola1975 Dec 11 '23

What about quality of response for coding, is Ollama comparable to GPT4?

16

u/pete_68 Dec 11 '23

Ollama isn't a model. It's merely an interface for models. There are a HUGE number of models out there (thousands) and Ollama will work with any of them that are in .gguf format or can be converted into that format.

The quality varies based on model and the # of parameters in the model (a bunch of the models come in multiple versions with different # of parameters).

Deepseek coder 6.7b (6.7 billion parameters) is really good. In benchmarks it compares very favorably to ChatGPT 4.0 in code, but benchmarks aren't real world. I haven't really done a comparison with ChatGPT and I haven't used it extensively enough, so I can't say. But I've used it and been happy with the results so far.

I've also used CodeLllama and MagiCoder and they're pretty decent as well. But again, haven't done direct comparisons.

But there are much bigger models like Phind-CodeLlama 34b and Deepseek coder 33b. But they're too big for my 3050.

1

u/moric7 Dec 14 '23

Please say is it possible to send files for analysis and receive generated images, pdf, etc. from the models in Ollama in wsl2? The bot replies that generate file, but I can't find it nowhere.

2

u/pete_68 Dec 14 '23

It's an interface for a text model. You would need a front-end that can parse a PDF and extract the text and pass it. I don't know if any of the Ollama UIs (there are several already) support that. I know that the one I use, ollama-webui has that on their to-do list, but they haven't done it yet.

You could always write the program yourself (use an LLM to tell you how, if you're not a programmer), that can parse PDF files and send their text to Ollama.

As for images, I imagine the way ChatGPT performs that task, is to send the image to some sort of image recognition engine that returns a text description of the image, and then that description is incorporated into your prompt under the hood. So that would need both support from one of the front-ends as well as installing some sort of image recognition engine, of which I'm sure there are a ton.

→ More replies (1)
→ More replies (7)
→ More replies (1)

2

u/supamerz Dec 11 '23

Can you share a link to an example of the local setup, I'm curious to try it out myself, too. Thanks!

10

u/pete_68 Dec 12 '23

jmorganca/ollama: Get up and running with Llama 2 and other large language models locally (github.com)

The documentation on the site gives the options for setting it up. If you're using Windows like me, I recommend Docker. That's how I did it. They have a published docker image.

This is the Web UI I use, which I'm also running in Docker: ollama-webui/ollama-webui: ChatGPT-Style Web UI Client for Ollama 🦙 (github.com)

A note about setting up the server URL in ollama webui:

When I first installed it, it defaulted to this URL: http://localhost:11434

But that won't work. It should be: http://localhost:11434/api

I don't know why the default is wrong and it may be fixed by now. I've had it installed for a bit.

3

u/supamerz Dec 12 '23

Thank you kindly!

→ More replies (2)

2

u/rakedbdrop Dec 12 '23

Agreed. This IS the way. If you’re not using some form of LLM. You will be left behind. BUT. Just like stack overflow, DO NOT BLINDLY copy code. If you don’t understand it, then you will lose your edge. Use it like you said. A tutor. A pair programmer. At the end of the day, you always need to remember that you are the one responsible for your code.

→ More replies (26)