160 points · by meetpateltech · 2y ago · 182 comments
Looking forward to continued updates and releases of Llama (and SAM!) from Meta.
[1] https://www.theverge.com/2024/8/28/24229068/california-sb-10...
Disturbing approach to mitigating AI harms imo, this bill basically hopes it can limit the number of operators of an arbitrary model type so as to allow easier governance of AI model use. This ignores the reality that we already have large models openly released and easily modifiable (outside CA jurisdiction) which likely are capable of perpetuating “critical harms”, or that the information requirements to achieve the defined “critical harms” could be realized by an individual by simply reading a few books. There’s also no reason to simply assume that future models will require millions of dollars of compute to create; fulfilling the goals of this regulatory philosophy long term almost certainly requires the banning of general purpose compute to come close to the desired outcome of a supposed reduction in probability of some “critical harm” being perpetrated. We should be focusing on hardening society to the realities of the “critical harms” identified by this bill, rather than implicitly assuming the only reason we don’t see them as much irl is because everyone is stupid. The current paranoia wave around LLMs is just a symptom of people waking up to the fragility of the world we live in.
It is disheartening so see the damage capacity in the hands of a couple of paranoic people who perhaps read the wrong scifi and had lots of power to influence others. If California passes this law, in a few years the world economy will be very different.
Here are some counter-points:
Regulation:
- Very little effort is made to evaluate risk of over-regulating, regulatory capture and counterproductive wrong regulation
- The downside of under-regulating is vastly overemphasized, most arguments boil down to "we have to act FAST now or x BAD thing might happen"
- The risk of over/wrongly regulating is vastly under emphasized with the same FUD reasons.
- according to one of the many straw-men argument in the pod I'm a libertarian against any and all regulation because I criticize possible regulatory capture, I would enthusiastically support regulation that foundation models have to be:
-- given freely to public researchers/academics for in-depth independent safety-research
-- open weighted after a while (e.g. after ~ a year, safety concerns should be mostly ruled out and new generations are out so ROI is already likely there. [e.g. there's NO safety reason at all for ClosedAI to not release gpt-3.5, llama3 is better already])
Proposed FLOP cut-off of SB 1047:
- according to the pod, the cut off is much more advanced than anything currently released.
- The 10^26 FLOP cutoff is way to low, llama-405b is ~4×10^25 FLOPs
- 405B is maybe 20% smarter than 70B, while taking over an order of magnitude more FLOPS to train, the cutoff itself is very likely not much smarter than the current SOTA.
- IMO none of the current SOTA models are very dangerous, but kill switch regulation is.
Kill-Switches:
- SB 1047 is (non-explicitly) calling for kill-switches over the cut-off due to liability of the model creators and market dynamics
- Any kill-switch regulation means a complete dead-end to any advanced open-weights AI. This means that huge corporations and governments will control any and all advanced AI-development. This is top-down control of the maths you are allowed to run on your computer IMO that is Orwellian as fuck.
China:
- mentioning china is FUD 101, it's basically AI's "think of the children"
- If they think they can stop china from building their own advanced LLMs, they're delusional. This regulation might even help them to get there faster. They don't even need to steal, there maybe a year or two behind the SOTA and catching up fast.
I just don't get how so many people on a site with "hacker" in the name want to make it impossible to hack on these things for anyone not employed by the big corporate AI research labs.
My company is building an application for an university client, regarding the examination of research data written in "human language" (mostly notes and docs).
Due the high confidentiality of the subjects, as often they deal with non-patented information, we couldn't risk using frontier models, as it could break the novelty of the invention, therefore losing patentability.
Now with Llama3.1, we can simply run these models locally, on systems that is not even connected to the internet. LLMs are mostly good in examining massive amount of research papers and information, at least for the application we are aiming at, saving thousands of hours of tiresome (and very boring) human labour.
I am trying to endorse Meta or Zuckerberg or anything like that, but at least in this aspect, I think Llama being "open-source" is a very good aspect.
Open-Knowledge source with an Open-Inteligence that can guide you through the entire massive digital library of its own brain. Semantic data light-years beyond a Search Engine.
Also just to be clear, if you want to set up a RAG with an open weight model and a large dataset there's nothing stopping you. Download Red Pajama and Llama and give it a try.
This sounds like the usual AI marketing with the word "open" thrown in. It's not articulating something youc an only do with an open source LLM (and doesn't define what that means).
I'm personally not thrilled with how locked down LLMs are. But we'll need to do a better job at articulating (a) a definition and (b) the benefits of adhering to it versus the "you can run it on your own metal" definition Facebook is promulgating. Because a model meeting Facebook's definition has obvious benefits over proprietary models run on someone else's servers.
I believe our world fights to destroy ideas like this because our economy drives our entire life.
Is the concern that prompts could be re-used for training by the provider and such knowledge become part of the model?
We don't have a commonly-accepted definition of what open source means for LLMs. Just negating Facebook's doesn't advance the discussion.
The open-source community is fractured between those who want it to mean weights available (Facebook); weights and transformer available; weights with no use restrictions (I think this is you); and weights, transformer and training data with no restrictions (obviously not workable, not even the OSI's proposed definition goes that far [1]).
In a world where the only LLMs are proprietary or Llama and the open-source community either remains fractured or chooses an unworkable ask, the latter wil define how the term is used.
[1] https://opensource.org/deepdive/drafts/open-source-ai-defini...
If you distribute the output of bison (say, foo.c) and not the foo.y sources, you would get pushback.
Then there is the EULA which makes it closed source right from the start.
This makes an LLM (emphasis on large) that is open source per this definition legally impossible. In every jurisdiction of consequence.
People like the term open source. It will get used. It is currently undefined. If the choice is an impractical definition and a bad one, we'll get stuck with the bad one. (See: hacker v cracker, crypto(currency) v crypto(graphy), et cetera.)
GPLv3 defines "source code" as the preferred form for making changes.
For most normal software that is identical to what you'd use to recreate it... but the way to make changes to an LLM isn't to rebuild it, but is to run fine-tuning on it.
I agree that for Llama, things are weird and they want to cover their bases, and that its better than nothing, but the specific use of “open source” is a long-running corporate dilution of what open source really means and I am tired of it.
Anything else and you're just open-source-washing your proprietary technology.
The model is a static data file like a word doc.
Meta open sourced the code to run inference on the model (ie the code for Microsoft word reading a doc file).
They also open sourced the code to train/fine tune the model. (Ie the code for Microsoft word writing a doc file)
Then they released a special doc (the llama 3 model), but didn’t include the script they used to create that doc.
Llama did not license its training data. It’s almost impossible to prove a particular LLM was used to generate any particular text, and there’s likely a bunch of illegal content within the dataset used to train the model (as is the case for most other LLMs)…
So why should I care about following a license? They have no mechanism to enforce it. They have no mechanism to detect when it’s being violated. They themselves indicated hostilities to other licenses, so why not ignore it?
i.e. high temperature, exotic samplers (i.e. typicality sampling), using lora/soft prompts/representation engineering, using it as part of a chain on top of other AI, etc
I don't care if every lawyer on earth is hired by Meta. Show me evidence that any particular LLM can be trivially fingerprinted based on its outputs. No, that "red token green token" paper on watermarking (https://arxiv.org/pdf/2301.10226) is not an example of this because of how trivial it is to defeat.
Edit: I can't reply to the comment saying "Subpoena" but this commentator seems to think that using any LLM at all is grounds for a court to issue a Subpoena requiring you to disclose which LLM you're using. If this actually happened, you'd see a massive chilling effect. Also, what stops someone from silently replacing the model with a non infringing one the moment someone starts asking questions?
I'm pretty sure that most courts aren't capable of getting expert testimony which is good enough to deduce that I silently swapped out my blarg_3.1 model which was made using a 1/3 llama3 merge with something else with gloop_1.5 which is no longer infringing.
Like seriously, I again ask, given the idea of courts with warrants and Subpoena's, why should I care about meta's licensing?
Edit2: If you're afraid of an employee leaking this info, don't tell your employees. Good thing clever model merging leaves no traces if you delete metadata!
Once again: for those who are new here. There is Free Software, which has a usefully strict definition.
And there is Open Source, the business-friendly -- but consequently looser -- other thing.
You can like one or both, they both have advantages and drawbacks.
But you cannot insist that "Open Source" has a very strict definition. It just doesn't. That's why the whole Free Software thing is needed, and IMHO, more important.
One could argue that the OSI should have gotten a trademark on the term. But the FSF doesn't have a trademark on the term "free Software" either, so the terms have approximately equal legal protections.
Meta using the term "open source" to apply to their model data when their license isn't an open source license is dishonest at best.
Free Software has the GPL, and all its related, healthy controversy. It's not perfectly clear, but it's far more battle-tested than the much more nebulous "Open source."
People who like "free software" put in work, and better understood that, to some extent, you can't have your cake and eat it too. "Open Source" is much more about a whole lot (to me, naive) wishful thinking.
(The OSI is a bunch of companies in a trenchcoat, the creators of the GPL were more principled.)
Statements like this remind me that I really need to KEEP GOING with this.
As a "web builder" I do think these tools will be very useful for accessibility (eventually), specifically generating descriptive alt tags for images.
Locally it's actually quite easy to setup. I've made an app https://recurse.chat/ which supports Llava 1.6. It takes a zero-config approach so you can just start chatting and the app downloads the model for you.
What's your reservation about running it locally?
using it now on desktop (I am in China, so no OpenAI here) and in cloud cluster on project.
Yes it is still better than not being able to access the weights at all, but calling these weights open source is not correct.
[0] https://huggingface.co/meta-llama/Meta-Llama-3.1-8B/blob/mai...
I don't think Facebook/Meta is the beacon of open-source goodness you think it is. The main reason they created yarn instead of iterating on npm is to use their own patent-friendly license they wanted to use with React (before the community flipped out and demanded they re-license it as MIT). Early Vue adoption seemed mostly driven by that React licensing fiasco.
Zero privacy?
I want it to mean something!
What? There are so many open source projects from huge companies these days.
VSCode, .NET, typescript from MS
Angular, flutter, kubernetes, go, android, chromium from Google
You can benefit a lot from it, and I have... but do be sure you know what you are ferrying on your back before you decide to offer it a ride across the river.
Not only is "a lot" of FOSS not released like this, both free software and Meta's models cannot be monetized post-release. If Meta decides to charge money for Llama4, then everyone with access to the prior models can keep their access and even finetune/redistribute their model. There is no strategic flip Meta can attempt here without shotgunning their own foot off.
Also it's bad when HN is downvoting fking GWERN
But many legal minds close to this issue have moved to the position that there is no meaningful distinction, at least when it comes to licenses like GPL.
For example: https://writing.kemitchell.com/2023/10/13/Wrong-About-GPLs
Also open source means the license used should be something standard not proprietary, without restrictions on how you can use it.
Not at all. They're only similar in the sense that both are a build artifact.
> Without visibility into the training data, curation / moderation decision, the training code, etc Llama could be doing anything and we wouldn’t know.
"could be doing anything" is quite the tortured phrase, there. For one, model training is not deterministic and having the full training data would not yield a byte-perfect Llama retrain. For two, the released models are not turing-complete or filled with viruses; you can open the weights yourself and confirm they're static and harmless. For three, training code exists for all 3 Llama models and the reason nobody uses them is because it's prohibitively expensive to reproduce and has zero positive potential compared to finetuning what we have already.
> Also open source means the license used should be something standard not proprietary, without restrictions on how you can use it.
There are very much restrictions on redistribution for nearly every single Open Source license. Permissive licensing may not mean what you think it means.
Now seriously, by Llama being "sort of" open source, it does not seem to be something someone can fork and develop/evolve it without Meta, right? If one day Meta comes and says "we are closing Llama and evolving it in a proprietary mode from now on" would this Llama indie scene continue to exist?
If this is the case wouldn't this be considered a dumping strategy by Meta, to cut revenue streams from other platforms (Gemini/OpenAI/Anthropic) and contain their growth?
Considering how ludicrously expensive it would be to even attempt a ground-up retrain (as well as how it might be impossible), weights are enough for 99% of people.
Sharing the end product, but not the tools and resources used to produce it, is how open source has always worked. If I develop software for a commercial operating system using a commercial toolchain, and distribute the source code under GPL, we would call that software open source. Others who get the code don't automatically get the ability to develop it themselves, but that's kind of beside the point. I don't have the rights to publicly redistribute those tools, anyway; the only part I can put under an open source license is the part for which I have copyright.
Training data for a LLM like Llama works similarly when it comes to copyright law. They don't own copyright and/or redistribution rights for all of it, so they can't make it open, even if they want to.
If that seems unsatisfying, that's because it is. Unfortunately, though, I don't think the Free Software community is going to get very far by continuing to try to fight today's openness and digital sovereignty battles using tactics and doctrine that were developed in the 20th century.
They are never going to stop saying this or show us the actual source data. Imagine if they did... Do they even entertain the idea? Can they really not imagine Open Source AI being possible because of all the personal data they train on?
> By making our Llama models openly available we’ve seen a vibrant and diverse AI ecosystem come to life [...]
They all use the same model and the same transformer algorithm. The model has an EULA, you need to apply for downloading it, the training data set and the training software are closed.
> Open source promotes a more competitive ecosystem that’s good for consumers, good for companies (including Meta), and ultimately good for the world.
So the "competitive" system means that everyone uses LLama and PyTorch.
> In addition to Amazon Web Services (AWS) and Microsoft’s Azure, we’ve partnered with Databricks, Dell, Google Cloud, Groq, NVIDIA, IBM watsonx, Scale AI, Snowflake, and others to better help developers unlock the full potential of our models.
Sounds really open.
You are free to quibble over how truly "open source" these models are, but I am very thankful that Meta has released them.
I am grateful to these developers. I am not grateful for a half open release and the redefinition of established terms. Which, judging by the downvoting in this thread, are now spread with fire and sword.
I am confused - I grabbed Ollama and pulled down some of these models. I don't recall having to go through any legal agreements. I just type:
ollama pull llama3.1
Maybe I missed something and am actually 10 steps behind. Who knows anymore. This whole space is totally insane to me."To download the model weights and tokenizer, please visit the Meta Llama website and accept our License.
Once your request is approved, you will receive a signed URL over email. Then, run the download.sh script, passing the URL provided when prompted to start the download.
Pre-requisites: Ensure you have wget and md5sum installed. Then run the script: ./download.sh.
Remember that the links expire after 24 hours and a certain amount of downloads. You can always re-request a link if you start seeing errors such as 403: Forbidden."
You may come away surprised.
Everything in that sentence is false except the training data part.
>So the "competitive" system means that everyone uses LLama and PyTorch.
This sentence shows you don't understand the LLM landscape and it's also false.
>Sounds really open
Correct. They partner with practically every vendor available for inference, which, isn't even needed if you run their models locally.
Meta has done a lot of wrong things over the years. How they are approaching LLMs is not one of them.
You need to provide an email address and click a license agreement. Then you get a download link that expires after a day. I do not have to do this with the Linux kernel. Perhaps you are downloading from within Meta and are not exposed to these issues?
You do need to apply on Huggingface to download the model.
> This sentence shows you don't understand the LLM landscape and it's also false.
PyTorch definitely is the most used ML framework.