this post was submitted on 07 Aug 2024
34 points (92.5% liked)

Open Source

30302 readers
762 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 40 points 1 month ago (4 children)

It's rather hard to open source the model when you trained it off a bunch of copyrighted content that you didn't have permission to use.

[–] [email protected] 9 points 1 month ago

My sentiments exactly

[–] [email protected] 6 points 1 month ago (1 children)

@cmnybo @marvelous_coyote That's.. not how it works. You wouldn't see any copyrighted works in the model. We are already pretty sure even the closed models were trained on copyrighted works, based on what they sometimes produce. But even then, the AI companies aren't denying it. They are just saying it was all "fair use", they are using a legal loophole, and they might win this. Basically the only way they could be punished on copyright is if the models produce some copyrighted content verbatim.

[–] [email protected] 1 points 1 month ago (1 children)

Like producing some images with Disney Logo

[–] [email protected] 2 points 1 month ago (1 children)

@ReakDuck Yup, and that's a much better avenue to fight against the AI companies. Because fundamentally, this is almost impossible to avoid in the ML models. We should stop complaining about how they scraped copyrighted content, this complaint won't succeed until that legal loophole is removed. But when they reproduce copyrighted content, that could be fatal. And this applies also to reproducing GPL code samples by copilot for example.

[–] [email protected] 1 points 1 month ago

Yeah, you just summarize my thoughts I had before chatGPT came to light.

Ok, not really. My thoughts were: could I store a Picture made illegaly into an LLM and later on ask it to show it again? Because I never stored it as a file and LLMs seem to not count as a storage.

I could store Pictures I would not be allowed to.

[–] [email protected] 4 points 1 month ago (1 children)

BERT and early versions of GPT were trained on copyright free datasets like Wikipedia and out of copyright books. Unsure if those would be big enough for the modern ChatGPT types

[–] [email protected] 2 points 1 month ago (1 children)

@flamingmongoose @cmnybo

> copyright free datasets like Wikipedia

🤦‍♂️

[–] [email protected] 1 points 1 month ago

What's up with that? Appreciate they're permissive rather than copyright free as such

[–] [email protected] 3 points 1 month ago

Have you read this article by Cory Doctorow yet?

[–] [email protected] 14 points 1 month ago (2 children)

I feel like one of thr problem is LLMs hijacked the definition of AI. Like another comment said, the way they trained on copyrighted material, it's probably not possible. But imagine there was another model (not necessarily LLM) and it was trained with completely public domain material. For example maybe something trained to find genetic diseases from genetic samples of a person, or detecting asteroids from telescope images. Those could become open source. Now, I am not an expert, but do we consider those AI?

[–] [email protected] 7 points 1 month ago (1 children)

I mean you could a still do generative AI on voices of actors in really old movies that are in the public domain

[–] [email protected] 5 points 1 month ago (2 children)

Exactly what I wanted to say. Anything on public domain; movies, books, pictures and paintings should be fair game. Including any databases that allows the uses of it in the given context.

[–] [email protected] 2 points 1 month ago

Yeah that's a lot of data

[–] [email protected] 2 points 1 month ago

Public domain audiobooks too like LibriVox!

[–] [email protected] 2 points 1 month ago

@astro_ray @marvelous_coyote It seems you have the incorrect idea about what open-source means, which is quite sad here in the open-source lemmy community. Being trained on public domain material does NOT make the model open-source. It's about the license - what the recipients of the model are allowed to do with it - open-source must allow derivative works and commercial use, on top of seeing the code, but for LLM models the "code" is just a bunch of float numbers, nothing interesting to see.

[–] [email protected] 7 points 1 month ago (1 children)

Looking at my open source model downloaded from the internet...

Yes?

[–] [email protected] 3 points 1 month ago (1 children)

What makes it open source?

[–] [email protected] 7 points 1 month ago (1 children)
[–] [email protected] 6 points 1 month ago (2 children)

If I license a binary as open source does that make it open source?

[–] [email protected] 4 points 1 month ago (1 children)
[–] [email protected] 7 points 1 month ago (1 children)

My point precisely :)

A pre-trained model alone can't really be open source. Without the source code and full data set used to generate it, a model alone is analogous to a binary.

[–] [email protected] 1 points 1 month ago (2 children)

@sunstoned @Ephera That's nonsense. You could write the scripts, collect the data, publish all, but without the months of GPU training you wouldn't have the trained model, so it would all be worthless. The code used to train all the proprietary models is already open-source, it's things like PyTorch, Tensorflow etc. For a model to be open-source means you can download the weights and you are allowed to use it as you please, including modifying it and publishing again. It's not about the dataset.

[–] [email protected] 5 points 1 month ago (1 children)

Quite aggressive there friend. No need for that.

You have a point that intensive and costly training process plays a factor in the usefulness of a truly open source gigantic model. I'll assume here that you're referring to the likes of Llama3.1's heavy variant or a similarly large LLM. Note that I wasn't referring to gigantic LLMs specifically when referring to "models". It is a very broad category.

However, that doesn't change the definition of open source.

If I have an SDK to interact with a binary and "use it as [I] please" does that mean the binary is then open source because I can interact with it and integrate it into other systems and publish those if I wish? :)

[–] [email protected] -1 points 1 month ago (1 children)

@sunstoned Please don't assume anything, it's not healthy.

To answer your question - it depends on the license of that binary. You can't just automatically consider something open-source. Look at the license. Meta, Microsoft and Google routinely misrepresents their licenses, calling them "open-source" even when they aren't.

But the main point is that you can put closed source license on a model trained from open-source data. Unfortunately. You are barking under the wrong tree.

[–] [email protected] 2 points 1 month ago

Please don't assume anything, it's not healthy.

Explicitly stating assumptions is necessary for good communication. That's why we do it in research. :)

it depends on the license of that binary

It doesn't, actually. A binary alone, by definition, is not open source as the binary is the product of the source, much like a model is the product of training and refinement processes.

You can't just automatically consider something open source

On this we agree :) which is why saying a model is open source or slapping a license on it doesn't make it open source.

the main point is that you can put closed source license on a model trained from open source data

  1. Actually the ability to legally produce closed source material depends heavily on how the data is licensed in that case
  2. This is not the main point, at all. This discussion is regarding models that are released under an open source license. My argument is that they cannot be truly open source on their own.
[–] [email protected] 3 points 1 month ago (10 children)

Just because open source AI is not feasible at the moment is no reason to change the definition of open source.

load more comments (10 replies)
[–] [email protected] -1 points 1 month ago (1 children)

Yes. And then you're obligated to give the source code too.

[–] [email protected] 2 points 1 month ago (1 children)

You would be obligated, if your goal were to be complying with the spirit and description of open source (and sleeping well at night, in my opinion).

Do you have the source code and full data set used to train the "open source" model you're referring to?

[–] [email protected] 1 points 1 month ago (1 children)

I mean you would be legally obligated. You can sue someone who uses the GPL and doesn't provide their sources.

[–] [email protected] 0 points 1 month ago

Do you plan to sue the provider of your "open source" model? If so, would the goal be to force the provider to be in full compliance with the license (access to their source code and training set)? Would the goal be to force them to change the license to something they comply with?

[–] [email protected] 6 points 1 month ago (2 children)

The architecture can easily be open source - as long as repo is missing just the training data. Just like there are Doom engines that are open source, even though they do not provide WAD files, which are still copyrighted. The code is there, but it is somewhat useless without the data. Analogy is not perfect, but let's assume it compiles to a single binary containing everything, maps included.

If ID Software gives you a compiled Doom with maps free to use it is freeware. If they open source the engine (they actually did), but do not release the WAD files as open source, the compiled game is not open source - it is still freeware.

It is not complicated really.

[–] [email protected] 3 points 1 month ago

It's that simple

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (4 children)

But then it's the tools to make the AI that are open source, not the model itself.

I think that we can't have a useful discussion on this if we don't distinguish between the source code of the training framework and the "source code" of the model itself, which is the training data set. E.g, Mistral Nemo can't be considered open source, because there is no Mistral Nemo without the training data set.

It's like with your Doom example - the Doom engine is open source, but Doom itself isn't. Unfortunately, here the analogy falls apart a bit, because there is no logic in the art assets of doom, whereas there is plenty of logic in the dataset for Mistral - enough that the devs said they don't want to disclose it for fear of competition.

This data set logic - incredibly valuable and important for the behavior of the AI, as confirmed by the devs - is why the model is not open source, even though the training framework might be.

Edit:

Another aspect is the spirit of open-source. One of the benefits of OSS is you can study the source code to determine whether the software is in compliance with various regulations - you can audit that software.

How can we audit Mistral Nemo? How can we confirm that it doesn't utilize copyrighted material to provide its answers?

load more comments (4 replies)
[–] [email protected] 3 points 1 month ago (2 children)

Can they be closed source?

[–] [email protected] 11 points 1 month ago (2 children)

Of course. GPT by OpenAI is completely closed source.

[–] [email protected] 4 points 1 month ago (1 children)

It has "Open" in it's name. It's impossible that ChatGPT is closed source.

[–] [email protected] 4 points 1 month ago

I'll have what he's having.

[–] [email protected] 3 points 1 month ago

With the amount of CC and GPL content that has been ingested I don’t know that from a philosophical point

[–] [email protected] 1 points 1 month ago

Interesting point.

[–] [email protected] 3 points 1 month ago

Are the petabytes of training data included in the repo? No? Then how could it ever be called open source?

At best, some of the current AI can be called freeware.

If you're just including the trained AI itself, it's more like including a binary, rather than source.

You can't really modify Llama in a significant way, can you? You can't fork it and continue improving that fork.

[–] [email protected] 3 points 1 month ago (1 children)

@marvelous_coyote no. At least not in it's current form. Absolutely no way.

[–] [email protected] 3 points 1 month ago

I agree with your point from a technical perspective.

load more comments
view more: next ›