Lurker News

Comments (2,507) 254 threads

Show all comments

Showing thread 11 of 254

teruakohatu9 replies#
Access is invite only for the API, and rate limited for paid GPT+.

> gpt-4 has a context length of 8,192 tokens. We are also providing limited access to our 32,768–context (about 50 pages of text) version, gpt-4-32k, which will also be updated automatically over time (current version gpt-4-32k-0314, also supported until June 14). Pricing is $0.06 per 1K prompt tokens and $0.12 per 1k completion tokens.
The context length should be a huge help for many uses.

chis5 replies#
I'm really curious to see if expanding the context length this much will allow GPT to do typical software development tasks on a big codebase. If it can take in a github issue and produce decent code solving a complex issue across many files... will certainly be an interesting time.
layer82 replies#
My guess is that anything requiring nontrivial business/technical domain knowledge will be fairly safe. Also anything with a visual (or auditory) correlate, like UI work.
oezi2 replies#
Why would you think this? As long as the technical domain knowledge is at least partially published, I don't see them stopping becoming better.

UI stuff just has an input problem. But it is not that hard to think that ChatGPT could place widgets once it can consume images and has a way to move a mouse.

layer83 replies#
> As long as the technical domain knowledge is at least partially published

Most internal technical and business domain logic of companies isn’t published, though. Every time I asked ChatGPT about topics I had actually worked on over the past decade or two, or that I’m currently working on, it basically drew a blank, because it’s just not the category of topics that are discussed in detail (if at all) on the internet. At best it produced some vague generalisms.
> once it can consume images and has a way to move a mouse.
That’s quite far from ChatGPTs current capabilities, which is strongly tied to processing a linear sequence of tokens. We will certainly improve in that direction as we start combining it with image-processing AIs, but that will take a while.

cma1 reply#
I wonder if there will be a race to buy defunct companies for access to their now valuable junky tech-debt ridden hairball code, so they can train on it and benchmark on fixing bugs and stuff. With full source control history they could also find bug resolution diffs.
layer81 reply#
That source code isn’t worth much without the underlying domain knowledge, large parts of which only exist in the employees’ heads, more often than not. Maybe if the code is really, really well documented. ;)

Companies could in principle train an in-house AI with their corporate knowledge, and will likely be tempted to do so in the future. But that also creates a big risk, because whoever manages to get their hand on a copy of that model (a single file) will instantly have unrestrained access to that valuable knowledge. It will be interesting to see what mechanisms are found to mitigate that risk.

Continue this thread — 1 reply

dwaltrip#
Check out the announcement. GPT-4 accepts mixed-mode inputs of text and images.

Mouse cursor instructions aren’t a massive leap from the current capabilities, given the rate of progress and recent developments around LLM tool use and the like.

dw_arthur#
I think what you say goes for most jobs. Why would GPT know much detail about being a machinist or luthier?

Eventually job and role specific information will be fed into these models. I imagine corporations will have GPTs training on all internal communications, technical documentation, and code bases. Theoretically, this should result in a big increase in productivity.

barking_biscuit#
>UI stuff just has an input problem. But it is not that hard to think that ChatGPT could place widgets once it can consume images and has a way to move a mouse.

I remember one of the OpenAI guys on Lex Fridman podcast talking about how one of the early things they tried and failed at was training a model that could use websites, and he alluded to maybe giving it another go once the tech had matured a bit.
I think with GPT-4 being multi-modal, it's potentially a very close to being able to do this with the right architecture wrapped around it. I can imaging an agent using LangChain and feed it a series of screenshots and maybe it feeds you back a series of co-ordinates for where the mouse should go and what action to take (i.e. click). Alternatively, updating the model itself to be able to produce those outputs directly somehow.
Either way, I think that's going to happen.

dirheist#
Yeah, the example given in the OpenAI GPT4 twitter video is someone asking it to write a python script to analyze their monthly finances and it simply just importing dataframes, importing "finances.csv", running a columnar sum for all finances and then displaying the sum and the dataframe. I'm sure it's capable of some deeper software development but it almost always makes radical assumptions and is rarely ever self sufficient (you don't need to look it over and don't need to change the architecture of the code it produced).
graypegg3 replies#
How would you have it suggest solutions for multiple files? Has anyone gotten GPT-X to output a valid git patch or something?
fabiospampinato2 replies#
You just kind of concatenate the entire codebase into one file, tell the model to do something and output the modified codebase into another file, diff the two and produce a patch automatically.

Continue this thread — 2 replies

alexwebb21 reply#
Yep, I know that’s been possible since at least GPT-3 davinci

Continue this thread — 1 reply

gremlinsinc#
I think there's ways but you might have to use pinecone db or something like lang chain to essentially give it a long term memory...

or another option is having one instance or chat order code page and one that basically just has an API index and knows which chat has the related things.

2OEH8eoCRo0#
I'd love to get to a point where I can go: Add a cast button to this open source android video app.

I see some FOSS-boosting silver linings in all of this.

barking_biscuit#
>If it can take in a github issue and produce decent code solving a complex issue across many files... will certainly be an interesting time.

Oh snap. I didn't even think about that!
That gives me a fun idea!
I've got a repo that I built and setup CI/CD and setup renovate to automatically upgrade dependencies and merge them when all the tests pass, but of course sometimes there are breaking changes. I don't actively work on this thing and hence it's just got issues sitting there when upgrades fail. It's the perfect testing ground to see if I can leverage it to submit PRs to perform the fixes required for the upgrade to succeed! That'll be hectic if it works.

amelius#
It can't even do simple sysadmin tasks like fixing a broken installation, or fixing simple configure/make/make install issues.
sebastianconcpt1 reply#
And how it works? you can build a context and then ask something in a prompt using it?
teruakohatu1 reply#
Context is how many tokens it can be fed to produce an output. So now you can feed it up to 32k words (tokens).
minimaxir5 replies#
$0.12 per 1k completion tokens is high enough that it makes it prohibitively expensive to use the 32k context model. Especially in a chatbot use case with cumulative prompting, which is the best use case for such a large context vs. the default cheaper 8k window.

In contrast, GPT-3.5 text-davinci-003 was $0.02/1k tokens, and let's not get into the ChatGPT API.

weird-eye-issue#
I disagree that out of all possible use cases for a large context model that a chatbot is really the "best use case".
ml_basics1 reply#
> Especially in a chatbot use case with cumulative prompting, which is the best use case for such a large context vs. the default cheaper 8k window.

Depends on what is up with the images and how they translate into tokens. I really have no idea, but could be that 32k tokens (lots of text) translates to only a few images for few-shot prompting.
The paper seems not to mention image tokenization, but I guess it should be possible to infer something about token rate when actually using the API and looking at how one is charged.

minimaxir#
Currently, CLIP's largest size is at patch-14 for 336x336 images, which translates to 577 ViT tokens [(336/14)^2+1]. It might end up being token-efficient depending on how it's implemented. (the paper doesn't elaborate)
sebzim4500#
I would imagine most usecases for the 32k model have much longer prompts than completions, so the $0.06 per prompt token will be the real problem. I can't think of a usecase yet, but that might be because I haven't got a sense of how smart it is.
gremlinsinc1 reply#
can't you combine instances of 4k tokens in 3.5 to fake it? having one gpt context per code file, for instance and maybe some sort of index?

I'm not super versed on lang chain but that might be kinda what that solves...

minimaxir#
LangChain/context prompting can theoetically allow compression of longer conversation, which will likely be the best business strategy.
LeanderK2 replies#
> $0.12 per 1k completion tokens is high enough that it makes it prohibitively expensive to use the 32k context model.

this is a lot. I bet there's a quite a bit of profit in there

RosanaAnaDana#
Gotta pay back M$
csa#
> I bet there's a quite a bit of profit in there

Is this profit-seeking pricing or pricing that is meant to induce folks self-selecting out?
Genuine question — I don’t know enough about this area of pricing to have any idea.

Continue this thread — 6 more replies