Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 3y ago · link · parent

Tried the 30b-hf set too, but was too much (24GB available). 13b-hf works fine, maxing out at 17GB.

comment 3y ago · link · parent

Yes. Check `main.py`, rewrite it to load the text from whatever you want.

comment 3y ago · link · parent

I gave this a try and it seems to max out using about 12GB of VRAM on a RTX 3090 Ti.

comment 3y ago · link · parent

On that note, Bevy, a game engine in Rust, is looking to upgrade and improve how audio is being done in the engine, and they accept contributors of all skill levels, and are a very welcoming community :)

comment 3y ago · link · parent

If you're fine with using other individuals machines (meaning, you don't care about data privacy for the training set), using vast.ai is probably the cheapest way to do it today. But, quality of machines/network speed vary greatly as the machines are hosted by individuals around the world.

comment 3y ago · link · parent

When dealing with GPT/LLMs, latency of requests is a minimal part of the time spent, so I don't think geographic location will matter much for that.

comment 3y ago · link · parent

I used to agree with you but seems like the gmail filter is getting worse and worse, at least it has for me the last few years.

I mark everything that manages to bypass it as spam, but the day after almost identical spam messages manage to break through anyway...

comment 3y ago · link · parent

One way: Everyone has a code-word which they only share with humans, over "private" channels like direct voice calls. For example, I'm "pineapple", and you're "orange", when we're connected on a call, we share our code-words in order to "authenticate" the call.

Another way: have a passphrase with a group of people that you share with each other, that is hard to guess but memorable. "The sky was green this morning" for example, that everyone in your family knows is the "human passphrase".

Another way: ask personal questions only the actual human being would know, like inside jokes or specific details about their life.

Another way: verify through some out-of-band method (like text message) in order to confirm their identity.

Another way: start everything with a video call where they have to pass their hand in front of their face before switching to audio only

None of the methods are perfect, all come with pro and cons.

But writing all of this made me feel really dystopian for some reason...

comment 3y ago · link · parent

It makes business sense as well. It doesn't make much sense to build an entire company around the idea that OpenAI's APIs are always available and you won't eventually get screwed. "Be careful of basing your business on top of another" and all that yadda yadda.

If you want to build a business around LLMs, it makes a lot of sense to be able to run the core service of what you want to offer on your own infrastructure instead of rely on a 3rd party that most likely doesn't give more than 1% care about you.

comment 3y ago · link · parent

> Nextjs (and its contemporaries) work really well with .NET. Toss in your API calls into Next, write a beautiful front end, and now you've got separate front end and back end that works phenomenally together and can be tested separately using their strengths.

Is it somehow different than using any other language for your backend? Seems to me you're describing any frontend/backend split, nothing specific to either Nextjs or .NET here.

> I'm more shocked by you sticking with Javascript. Surely with your adoration of C# you would have moved to its closely related sibling Typescript. Although I guess there is that slight initial hump to move to TS from a purely vanilla project.

Some people prefer to stick with vanilla JS because that's what the browser ends up running anyways. Personally, TypeScript tends to get more in the way than be helpful for certain type of projects, while for others, TypeScript helps a lot but tends to be when the codebase involves a lot of contributors of varying skill-levels rather than a small circle of contributors with relatively high knowledge of programming and JavaScript in particular.

comment 3y ago · link · parent

Why not? That means we're making progress. If we're not calling today's technologies "outdated" in the future means we're stagnating.

Just like most programmers who get better year by year will look back at any code they used to write and say "How did I think that was good code?!"

comment 3y ago · link · parent

If you can detect AI-generated text you can detect human-"generated" text, and vice-versa. But currently, there is no way to do either.

comment 3y ago · link · parent

Betteridge's law of headlines

> Betteridge's law of headlines is an adage that states: "Any headline that ends in a question mark can be answered by the word no." It is named after Ian Betteridge, a British technology journalist who wrote about it in 2009, although the principle is much older. It is based on the assumption that if the publishers were confident that the answer was yes, they would have presented it as an assertion; by presenting it as a question, they are not accountable for whether it is correct or not.

https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline...

comment 3y ago · link · parent

> LLMs and diffusors are the first AI technology to keep the AI name

"AI" is not a static name that can be given to something and it remains AI. What was AI today will not be AI tomorrow, it'll be too simple by then.

Just as the AI written in the 1950s is not even AI by today standards, while it was groundbreaking at the time.

This moment will too come to pass, and people will look at 2023 AI as "AI that lost its naming rights".

comment 3y ago · link · parent

AI has been around for as long (or even longer, depending on how you see it) as the internet (counting the start of internet as the beginning of TCP/IP).

comment 3y ago · link · parent

Maybe he doesn't mention it because he didn't think it was revolutionary when it first appeared.

From https://www.nytimes.com/1997/03/14/news/skeptics-cite-overlo... (https://archive.is/r4F8T)

> Even Bill Gates, the founder and chairman of Microsoft Corp. and widely regarded as the crown prince of the World Wide Web, was taken unawares by the Internet's grassroots acceptance.

> In his book, "The Road Ahead" (not available on-line), Mr. Gates admitted that he believed the technology for "killer applications" was inadequate to lure consumers to the Internet.

Of course, like any smart person at the time, he changed his views as the internet became more popular and eventually mainstream.

comment 3y ago · link · parent

> Philanthropy is my full-time job these days, and I’ve been thinking a lot about how—in addition to helping people be more productive—AI can reduce some of the world’s worst inequities. Globally, the worst inequity is in health: 5 million children under the age of 5 die every year.

One great first step OpenAI can take towards this is by actually making their models open. As long as the models are intentionally kept back and intentionally profited from by already wealthy private citizens, inequality will grow, not shrink.

Not to mention that people in poor countries (which as Gates cites as the "hotspots" for inequality in health) won't be able to use some HTTP API based in US/SF. Not just that latency will kill requests, some of the places don't even have internet connectivity. How is OpenAI supposed to help those communities if the "inequality fighter GPT-4" is gate-kept behind a centralized HTTP API?

comment 3y ago · link · parent

Unsurprisingly, exactly the same pricing as OpenAI. So what ends up the benefits? I'm currently using GPT-4 for hacking around, and love it if I could get faster response times, would make the use case I'm hacking on a lot more attractive. If I use Microsofts API, would it be any faster compared to OpenAI?

comment 3y ago · link · parent

They also have the resources to build a huge training set, together with people who willingly upload their art and photos to them, which they can use to make the training set better than publicly available data.

comment 3y ago · link · parent

While I agree that some changes have to be done in your code, preventing the model from outputting text is relatively easy, you just have to have a strong system message to set the model to give you the output you want.

comment 3y ago · link · parent

No mentions about how it compares to GPT, anyone tried it out and have some experience to share?

comment 3y ago · link · parent

I'm surprised at seeing the parent so highly upvoted as well. There is no "rumors about hacks/leaks" just because some random comment of Reddit.

comment 3y ago · link · parent

I mean, if you're a self-hosted enthusiast, I don't think that project is what you are looking for, it's just the UI that is self-hosted, the meat of the project is still hosted at OpenAI so not that useful for self-hosted enthusiasts.

comment 3y ago · link · parent

And you are saying this is evidence of a security issue rather than a caching bug?

comment 3y ago · link · parent

Oh yeah, changing 33 lines is truly revolutionary!

comment 3y ago · link · parent

It seems like it's setting gpt-4 here as well: https://github.com/enricoros/nextjs-chatgpt-app/blob/466a366...

But come on, read through the source, look for the issue, I'm sure you can track down at least something :)

comment 3y ago · link · parent

Change this https://github.com/enricoros/nextjs-chatgpt-app/blob/466a366... to say "gpt-3.5-tubo" and it should work for you

comment 3y ago · link · parent

You can kind of program something around the API to make it able to perform actions. That's the way I'm guessing Microsoft did it with Bing. Here is an example:

System prompt:

    - You are a text-based AI delegates to other AIs.
    - You only respond in JSON with two keys `delegate_to` and `parameters`.
    - `delegate_to` defines what other AI you should delegate to.
    - `parameters` are parameters to send to that AI.
    - Here is the list of possible delegates
    - delegate_to: email_ai, parameters: $to $subject $body, used for sending emails
    - delegate_to: calendar_ai, parameters: $time, $date, $title, used for creating events in a calendar
    - delegate_to: search_ai, parameters: $search-term
    - Be creative and helpful.
    - Your goal is to take user input and successfully delegate the task you receive from the user to the correct AI.
    - Your initial message to the user should welcome them and ask them what you can do for them.
    
Example conversation:

    > {"message": "Welcome! I'm your AI assistant. What can I do for you today?"}
    
    > User: Send email to john@example.com asking if he wants to have dinner tonight
    
    {
      "delegate_to": "email_ai",
      "parameters": {
        "to": "john@example.com",
        "subject": "Dinner Invitation",
        "body": "Hi John, would you like to have dinner together tonight? Let me know your thoughts. Best regards."
      }
    }
Then you'd make your program read the JSON messages it generates and perform the correct action.

comment 3y ago · link · parent

It's true that you need explicit access to the GPT-4 to use the API, but again, it's not a different key. I'm using the same API key for accessing `gpt-3.5-turbo` as I use for `gpt-4`.
1
656667
307