this post was submitted on 11 Jul 2023
354 points (96.3% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

53939 readers
306 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder


💰 Please help cover server costs.

Ko-FiLiberapay


founded 1 year ago
MODERATORS
 

My best list of free ChatGPT and other models. Required - no signups.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (3 children)

Is it cost prohibitive to adopt your own chatgpt?

[–] [email protected] 8 points 1 year ago

I've tinkered with a Discord bot using the official gpt3.5 API. It's astonishingly cheap. Using the 3.5-turbo model, I've never cracked $1 in a month and usually am just a couple cents a week. Obviously this would be different if you're running a business with it or something, but for personal use like answering questions, writing short blurbs, and entertaining us while drunk...it's not bad at all in my experience.

[–] [email protected] 5 points 1 year ago (2 children)

You're billed per token usage. GPT-3.5-Turbo price per 1K tokens is quite low now.

I kinda made my own Custom ChatGPT with Python (and LOTS of coding help from Web CharGPT). It evolved from a few lines shitty script to a version that uses Langchain and has access to custom tools, including custom data indexes and has a persistent memory.

What will ramp up the cost are things like how much context (memory) you want the chatbot to have. If you use something like a recursive summarizer, that summarizes a text by chunks over and over until the text is below a set length, that also uses many API calls that consume tokens. Also, if you want your chatbot to use custom info that you provided to it, solutions like LlamaIndex are easy to use, but require quite some tokens per query.

On my worst month, with lots of usage due to testing and without the latest price drop, I reached 70$.

[–] [email protected] 3 points 1 year ago (1 children)

I’m working on a similar project right now with zero coding knowledge. I’ve been trying to find something like langchain all day. I built (by which I mean I coached GPT into building) a web scraper script that can interact with the web to perform searches and then parse the results, but the outputs are getting too big to manage in a hacked together terminal interface.

How are you doing the UI? That’s what I’m finding to be the biggest puzzle that isn’t fun to solve. I’ve been looking at react as a way to do it.

[–] [email protected] 1 points 1 year ago (1 children)

I use a Gradio chatbot interface. While Gradio has all kinds of interfaces and there's one specially designed for chatbots.

IDK if it's the best option, but it's what I found on shitty blog tutorials when I started. Even Stable Diffusion WebUI uses it.

It's quite powerful, but a bitch to learn to use, IMO.

[–] [email protected] 2 points 1 year ago

Thanks for the tip! I’ve been looking for something like that. It’ll save me a lot of frustration

[–] [email protected] 3 points 1 year ago (1 children)

Loved the depth of this info - although it's over my head. But I kind of understood? I have a project for next while to focus on. But I hear that it's possible to do, and that's exciting

[–] [email protected] 0 points 1 year ago

I know, it's fuxxing dense all the info about the Open API and Python to create a model.

I don't even know how I got so far.

[–] [email protected] 4 points 1 year ago

Of the language models you can run locally, I’ve found them to be awkward to use and not perform too well. If anyone knows of any newer ones that do a better job I’d love to know.