Better HN
topnewbestaskshowjobs
Log inSign up

WithinReason

11,861 karma · joined Sep 24, 2021 (5y ago) · 2,474 submissions

WithinReasonHNs at duck dot com
Submissions

comment 3y ago · link · parent

It doesn't if you fix the network's code

comment 3y ago · link · parent

Is it possible to block this behavior at the browser level? Other than an addon: https://addons.mozilla.org/en-US/firefox/addon/re-enable-rig...

comment 3y ago · link · parent

Sure, but will the unintended consequences be worse than not importing 8% of UK energy from North Africa? Because that will have consequences too.

comment 3y ago · link · parent

> Are they e2ee between Signal SMS users?

Fun fact, they used to be. When I started using Signal that's how it worked.

comment 3y ago · link · parent

You really don't see a difference between today and 200 years ago?

comment 3y ago · link · parent

I have no clue where LLMs will lead in 6 months, so we're pretty much there already.

comment 3y ago · link · parent

If you look at how much infrastructure was quickly developed around Stable Diffusion, the same might repeat here. This also depends on how useful the model is but from the scores it looks like it's quite useful, and it's "uncensored" unlike commercial "online" models which is valuable on it's own. I suspect Facebook won't care and will be happy to get people to use an offline model since that means Microsoft and Google will make less money from online models. The model itself is licenced under the GPL, but I have no idea what that means when it comes to model weights.

Edit: It looks like it can code, I tried to autocomplete the first 2 lines and it wrote the rest. Local Github Copilot here we come?:

    //find index of element in sorted array in O(log(N)) time using binary search
    int find_idx(int a[N], int element) {
        int low = 0, high = N-1;
        while (low <= high) {
            int mid = (low + high) / 2;
            if (a[mid] == element)
                return mid;
            else if (a[mid] < element)
                low = mid + 1;
            else
                high = mid - 1;
        }
        return -1;
    }

comment 3y ago · link · parent

I could drop the batch size to 5, then the VRAM use seemed to be around 15GB. Some of that I'm sure is not necessary, and if you rewrite the outer products to use less VRAM you might get away with even less. Eventually someone will make a library so you can run it without extra work.

comment 3y ago · link · parent

4090, about 10 seconds to load the weights and another 15 seconds to generate all the completions from the example script

comment 3y ago · link · parent

Looks like the weights are legit, I got the 7B model to generate some text (on a single GPU). Using the 1st prompt from the script it generated this:

[I believe the meaning of life is] to be happy, and it is also to live in the moment. I think that is the most important thing. I'm not really a party girl. I'm not a girl's girl. I have a really small group of close girlfriends and that's all I need. I believe in equal rights for everyone. I'm not a rebel. I don't really rebel against anything. I'm a very traditional girl, very loyal. I'm a mum's girl and I'm a dad's girl. People have a right to know what's going on. I don't care about the haters, because at the end of the day they're just going to have to deal with themselves. I've been getting more and more into fashion since I was about 16. I know I'm a little different, but so what? I think that's good. I don't think you should be like everyone else. It's my birthday, and I'll cry if I want to. I've always been a huge fan of fashion, and I've always liked to dress up

Another one:

[Building a website can be done in 10 simple steps:] 1. Defining Goals 2. Your Branding and Web Presence 3. Defining Your Marketing Strategy 4. Creating Your Website 5. Your Website Design 6. Your Website Development 7. Your Website Launch 8. Your Website’s Content 9. Your Website’s Conversion Rate 10. Measuring Your Results As a small business owner, you may want to spend as little money as possible on your website. But if you want to see a positive ROI, you will need to spend some money. Defining goals is critical when building a website. You should know what you want to accomplish with your website. You need to know what you want your website to achieve. You need to know who you want to convert to a customer. You need to know how you want to reach your goals. You need to know what the timeframe is for your website goals. You need to know what you want to get out of your website. When building a website, you need to clearly define your goals. Once you have defined your goals, you need to make sure your website supports them. If you want to reach your goals, you

comment 3y ago · link · parent

The code (including the model) is here:

https://github.com/facebookresearch/llama

I already got the 7B model to generate text using my GPU! The 1st example prompt generated this:

[I believe the meaning of life is] to be happy, and it is also to live in the moment. I think that is the most important thing. I'm not really a party girl. I'm not a girl's girl. I have a really small group of close girlfriends and that's all I need. I believe in equal rights for everyone. I'm not a rebel. I don't really rebel against anything. I'm a very traditional girl, very loyal. I'm a mum's girl and I'm a dad's girl. People have a right to know what's going on. I don't care about the haters, because at the end of the day they're just going to have to deal with themselves. I've been getting more and more into fashion since I was about 16. I know I'm a little different, but so what? I think that's good. I don't think you should be like everyone else. It's my birthday, and I'll cry if I want to. I've always been a huge fan of fashion, and I've always liked to dress up

comment 3y ago · link · parent

It's possible they only donate the minimum to get into the tier

comment 3y ago · link · parent

It will say something nice to you for $3.50

comment 3y ago · link · parent

The pth file seems to be a model and weights, saved as described here:

https://pytorch.org/tutorials/beginner/saving_loading_models...

.chk file is am md5 hash of the file, the .json file contains this for the 7B model:

    {"dim": 4096, "multiple_of": 256, "n_heads": 32, "n_layers": 32, "norm_eps": 1e-06, "vocab_size": -1}

comment 3y ago · link · parent

Folder structure for the 2 smaller models look like this:

    LLAMA
    │   tokenizer.model
    │   tokenizer_checklist.chk
    │
    ├───13B
    │       checklist.chk
    │       consolidated.00.pth
    │       consolidated.01.pth
    │       params.json
    │
    └───7B
            checklist.chk
            consolidated.00.pth
            params.json

comment 3y ago · link · parent

A large dose of LSD in the wrong setting: bad

Small dose in wrong setting: maybe not great but you'll be fine

Large dose in good setting: good

comment 3y ago · link · parent

It's a matter of compatibility, e.g. you're not going to start measuring length in meters when everyone else in your country is using feet. That's why I said UTC is a time zone, nobody uses it outside of the UTC time zone, therefore nobody uses it outside of the UTC time zone.

comment 3y ago · link · parent

I would use UTC of course. Why would you do anything else?

1339.

LEDs from Dubai (2021)(hackaday.com ↗)

91 points · by WithinReason · 3y ago · 77 comments

comment 3y ago · link · parent

UTC is effectively a timezone.

Putting tomezones on top means people have to look up more.

comment 3y ago · link · parent

I think having a unified time everywhere is a really obvious advantage. Time being measured differently based on geographic location is completely silly. You would still need to look up how a different location is scheduled but you also need to do that with timezones so there's no disadvantage, only an advantage.

comment 3y ago · link · parent

Abolish them entirely. Your second link is silly and is not a serious counterargument.

comment 3y ago · link · parent

Come on, even Earth doesn't need timezones.

comment 3y ago · link · parent

It's possible to update the HTML standard while the entire world is using it.

1345.

Hidden Corridor in Great Pyramid of Giza seen for first time(bbc.co.uk ↗)

2 points · by WithinReason · 3y ago · 1 comment

comment 3y ago · link · parent

But why ban hydrogen fuelled cars?

comment 3y ago · link · parent

I didn't realize you can mix Nim an Assembler like this:

https://github.com/mratsim/constantine/blob/1cb6c3d/constant...

comment 3y ago · link · parent

How many algorithms don't benefit from optimisations you think?

comment 3y ago · link · parent

Many capitalist countries have affordable healthcare.

comment 3y ago · link · parent

Rule 1 of Fight Club
1
444546
83