Better HN
topnewbestaskshowjobs
Log inSign up

bestcoder69

985 karma · joined Apr 4, 2021 (5y ago) · 315 submissions

no
Submissions

comment 3y ago · link · parent

I've only seen people mention that it runs really slow, even on like A100s.

comment 3y ago · link · parent

Definitely don't quantize to 4-bit at this param count, if that's what you're doing. The redpajama.cpp repo is a bit crazy for making that the default.

I'd say at this size don't count on accuracy. Think: fancy auto-complete, simple NLP task-doer, or a base for fine-tuning a task specific model. IME RedPJ-3B was too small to do anything at all other than ramble. The novel contribution of this model here being you can use this at work, and it has a GGML implementation unlike Falcon and MPT (last I checked) - meaning CPU-based inference on the cloud VM you use at work, maybe.

63.

RedPajama 7B (an Apache 2.0-licensed LLaMa) is now available(together.xyz ↗)

85 points · by bestcoder69 · 3y ago · 25 comments

comment 3y ago · link · parent

Today I used it to rewrite a function in llama.cpp that compiled in gcc9 but not gcc7 (an avx2 intrinsic wasn’t available… idk specifics, I barely know C/C++). First attempt was wrong, so I had it write test code to debug. Using the test output it fixed the code afterward.

comment 3y ago · link · parent

Can also get rid of the `run` and move parens to simplify even further:

  function doWork() {
    const x = () => {
      if (foo()) return f();
      if (bar()) return g();
      return h();
    };
  
    return x() * 10;
  }

comment 3y ago · link · parent

ChatGPT plugins will be usable through the OpenAI API, and both of those services are available as ChatGPT plugins.

comment 3y ago · link · parent

Same. I feel like once you strip away the abstractions that you probably aren't going to use long-term, you're left with something that competes with python f-strings. And yep I've tried it at multiple points in its evolution and never found it useful even in my toy apps. It was just a time sink trying to figure out why their own abstractions didn't work with each other. For weeks after they released Chat API integration, I scoured the web for working examples of using an agent with ChatGPT-3.5turbo. Closest I got was Microsoft's VisualChatGPT, until I found out it used langchain+text-davinci, despite its name :(

Langchain really seems to be entirely hype, to me. Like, nothing in production I've heard about actually uses it AFAIK. Not AutoGPT, not BabyAGI, nothing at any of the big companies, etc. But it's available in 2 languages and has integrations with everything under the sun, making it easy to adopt! Despite this lack of production usage with positive anecdotes, you're still hearing about this library a lot! Definitely doing the VC playbook.

EDIT: Go to their discord and read the #ask-kapa-langchain channel. This is a retrieval augmented Q&A bot, powered by langchain, which (every time I've checked) has helped ~nobody. I'm really not trying to cherry-pick - this is something that should be rock solid if this software stack is useful at all.

comment 3y ago · link · parent

Has langchain had positive ROI for anyone beyond the initial prototype of their app? My experience has me skeptical - I end up feeling like I'm painted into a corner and need to start over. Maybe if I just used PromptTemplate and LLMChain, but at that point I can just use function composition and formatted strings.

Like I'd be blown away if someone had a production app where they were able to swap LLM providers (and nothing else) due to langchain. And if that expectation is too high then why not just code against the openai API?

comment 3y ago · link · parent

The media not describing a guy (who checks “Race: White, Ethnicity: Hispanic” on the census), who had a swastika and SS tattoo, as a “Hispanic supremacist” in headlines is maybe the weakest media criticism I’ve ever read.

I have the craziest hunch that maybe you aren’t being genuine, but I’ll leave that alone.

comment 3y ago · link · parent

Have you ever applied for a job in the US, or answered a census here? White is broken down into Hispanic White and non-Hispanic White in our racial categories. That’s about as official as you can get.

Also consider what “Hispanic” means in the first place. Plus, ultimately, anyone can have any beliefs if they really want to. If you’re non-white and try to be a white supremacist, it’s not like the universe will prevent you from doing so.

comment 3y ago · link · parent

In the US, if you fail to file then you won’t receive your EITC. In practice, in the US poor neighborhoods are littered with scammy tax preparers for this reason. I’d call our systems substantially different.

comment 3y ago · link · parent

Supposedly this is between gpt3.5 and 4, so pretty good.

comment 3y ago · link · parent

It's (GPT-4) tuned to give stackoverflow-like answers and respond that it can't provide you full working solutions if you ask for something complete. You have to play to its strengths and adapt your workflow to whatever its capabilities are today, for your specific project.

I've tried to get it to do 100% of my coding for smallish projects, and it's pretty frustrating. I'd only do that as a challenge.

comment 3y ago · link · parent

This has been fine-tuned! Chat, instruction, and long-fiction gen.

comment 3y ago · link · parent

To achieve 10x you need to learn exactly how lazy you can be and get the same results :P

me:

html select list of orderings: fifo, random, rr, lifo

GPT-4:

To create an HTML select list with different orderings, such as FIFO (First In, First Out), Random, RR (Round Robin), and LIFO (Last In, First Out), you can use the following HTML code:

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Select List of Orderings</title>
    </head>
    <body>
        <form>
            <label for="orderings">Choose an ordering method:</label>
            <select name="orderings" id="orderings">
                <option value="fifo">FIFO (First In, First Out)</option>
                <option value="random">Random</option>
                <option value="rr">RR (Round Robin)</option>
                <option value="lifo">LIFO (Last In, First Out)</option>
            </select>
            <button type="submit">Submit</button>
        </form>
    </body>
    </html>
This code creates a simple HTML page with a form containing a select list. The user can choose one of the ordering methods from the list, and the selected value can be submitted with the form.

---

OK not exactly the same but just wanted to GPT-golf it. When lazymaxing for real, I just try to keep in mind that ChatGPT is already fine-tuned to include certain things, like following proper conventions, explaining its steps, commenting code. And that most of the time it'll make an educated guess rather than looking at me going "huh?" if it's unsure - so if there's really only 1 reasonable interpretation of terse instructions, I can drop the human-friendly cruft text.

comment 3y ago · link · parent

See https://simonwillison.net/2023/Mar/27/ai-enhanced-developmen...

> What stack are they using? I am thinking it's pretty much any LLM (GPT-3/GPT-4), Lang chain with GPT Index.

I'm skeptical of any 'stack' that isn't just ChatGPT + GPT-4. It's probably whatever their flash in the pan startup is building right now. To me this seems like a horrible time to build up such a stack (personal or otherwise) rather than just getting proficient at ChatGPT and the plain old OpenAI API while waiting for new stuff like plugins to come out.

Personally I just have a go-to tech stack for GPT-based projects, composed of python, poetry, datasette, and click CLI's written by GPT-4 that can call out to OpenAI in order to manipulate databases (to then be viewed in datasette). But this is more for building little demos to try out GPT rather than incorporating into other work. Otherwise I just use ChatGPT alone. But TBH I'm far from 10x.

comment 3y ago · link · parent

It can draw a penis fyi

comment 3y ago · link · parent

Imagine I said whatever you wanted me to say to that and have fun with it, man. You deserve it.

comment 3y ago · link · parent

Laughing to myself imagining the people believing you, thinking “hmm methinks I could use a little intellectual diversity in my bubble”, they click over to 4chan, take a big sip of coffee, and… actually look at it. lol

e: I’ll concede you can find different opinions there. Just, I wanna see a video feed of an unsuspecting person actually trying to go there to, like, learn.

comment 3y ago · link · parent

Alright man if one guys obsession of his own work is hype, too, then hype now encompasses short-lived popular things as well as long-lived unpopular things, so in that case yes AI is hype and only hype, everything bad to you is hype and I’m hype too.

I’ll continue to use AI where it’s helpful, at very low cost, and know deep down that it’s hype.

comment 3y ago · link · parent

Not necessarily disagreeing, but I run a Slack bot that pretends to summarize URLs, as a joke feature. It’s kinda fun seeing how much it can get right or not from only a URL. So I really hope OpenAI keeps running the fun models that lie, too.

comment 3y ago · link · parent

Popular things = crypto ?

I’d say the differentiator is that in addition to hype scammers, you have people like Stephen Wolfram excited.

comment 3y ago · link · parent

Maybe if ChatGPT is blocked in enough countries with far-reaching libel laws, OpenAI will be able to let me make more than 25 requests in 3 hours.

comment 3y ago · link · parent

All true, stuff I didn’t like about her, but also ancient history (article is from 2014!)

And like I said, you can follow the links and see the brigade discussing something else entirely.

Personally I don’t want an OSS ecosystem that banishes trans people or people who had weird proto-alt-right politics pre-Trump. If you’re gonna banish anyone, banish the ones posing existential risks to projects by their brigading against contributors they don’t like.

comment 3y ago · link · parent

Click the 4chan links and you’ll see in their own words what this was really about (trans maintainer, channers worried about their waifu bot getting cucked.) Most seem to not know what they’re talking about- some admit to being retarded. Highly suspicious of this being tech related.

Also note the stats on GH subscribers and stuff. This is a lolcow dossier…

Events like this make me glad I don’t contribute OSS. I’ll keep my coombots proprietary.

comment 3y ago · link · parent

Also worth pointing out that you can follow the thread’s link to Rentry, which links to a 4chan (?) archived thread, where you can see anons getting worked up over jart being a trans internet celebrity. And unless you’re playing dumb, you have to admit they were looking for an excuse to troll jart. Unless you seriously want me to believe they were all that mad about… mmap

comment 3y ago · link · parent

USA! USA!

comment 3y ago · link · parent

OK then make it apples to apples and compare crime rates in your preferred manner? It’s hard to make the US look good no matter what grouping or aggregation or whatever you choose. There’s a clear difference in policies and their downstream effects (eg poverty rate) between the US and a random European city you select by throwing a dart at a map. Not all, but do a few trials and pretend not to see a pattern.

e: Also, sorry, it's ridiculous to say the US looks to Europe too much when discussing policy. This almost never happens, and when it does it's from the left, who has 0 actual influence. Every policy discussion should begin by talking about prior art & what we've observed about the effectiveness of policies as implemented elsewhere. It'll never show causality, but it'll start the discussion off with some possible causal links to explore w/ our own policy experiments!

12345
11