105 points · by taubek · 2y ago · 154 comments
> Will my code be used for training AI models?
> GitLab does not train generative AI models based on private (non-public) data. The vendors we work with also do not train models based on private data.
So they will steal your code if it is public, ignoring license. Understood.
That's a long way of saying, for what open source is and was, a lot of projects are mislicensed when juxtaposed to their goals and needs. It's okay to sell your software, it's okay to be "source available", it's okay to be entirely proprietary.
These aren’t official (& hosted on a different, proprietary data siphoner), but there are attempts to add anti-AI clauses.
And the CC0 license seems extremely contradictory with this added clause. I would definitely stay away from all of these licenses.
Is it right? I don't know. Can we stop it? Absolutely not.
Honestly, I find it comforting that gitlab is at least being straightforward about it
You could maybe convince me that it is straightforward when measured against only corporate speak, but if not looked at as corporate speak it is very much not straightforward. Straightforward would be an explicit "Yes, we train from public code regardless of the license"
They might train on your data if it's public. If your code is public, and it doesn't get pulled into their dataset, they won't train on it.
Depends on what you mean by "stop it". Patents are public, but it's hard to employ them for commercial purpose without an agreement from the owner.
If it's a copy left license I would say that at that point anything made by the ai should be copy left as well.
Just because you think a machine should have the right to use open source code doesn't mean the author or the license agree.
You can also read and learn from copyleft and use that learning elsewhere.
Remember, copyright does not apply to ideas. It applies to a specific individual instantiation. In theory.
I care about helping other people.
Helping some type of amoral entity that's usually controlled by another amoral for-profit entity: why would I help those?
Honestly I agree that in the current state of things, it's fair for them to train on public data as long as the license doesn't forbid it. I learned to code this way, so it makes sense to allow AIs to do the same, for now. If it's a problem, just use another license.
Why should I care if some 3rd party is the middleman that builds the system that performs the transformation? I put out my code so that people can use it. The existence of said 3rd party doesn't restrict that in the slightest, in fact it enhances the reusability of my work which seems like a win-win.
Llama, mistral and co.
That said I think it's weasely that they would just explicitly say it. It's obviously a question a lot of people have if it's in the FAQs, and a non-answer like, "we never train on private code" is ridiculous.
Instead I get AI companions writing comments like "This code is unintelligible and batshit complicated, kill it with fire" when I was hoping for a doc string
https://docs.github.com/en/site-policy/github-terms/github-t...
In addition, one has to consider whether the act of studying a project whose sources you have legally obtained to gain experiences applied in other contexts where the original license may not apply or be upheld is an issue. This applies to humans as much as to ML.
A couple things - you agree github can do it, ostensbly taking archives for backups sure, but in this case it's to distribute out to some 3rd party and explicitly to be locked in a vault with no business purpose.
My personal uploading of say - a GPL licensed code, or hell, microsofts leaked code DOES NOT magically grant github to do whatever they want with it. There's already a license, no?
from the github archive page: > Archiving software across multiple organizations and forms of storage helps to ensure its long-term preservation. "The Arctic Code Vault"
> On 02/02/2020 GitHub captured a snapshot of every active public repository. Those millions of repos were then archived to hardened film designed to last for 1,000 years, and stored in the GitHub Arctic Code Vault in a decommissioned coal mine deep beneath an Arctic mountain in Svalbard, Norway. Our partners include the Long Now Foundation, Software Heritage, the Internet Archive, Microsoft Research’s Project Silica, the Arctic World Archive, GHTorrent, and GHArchive. Our advisors include both technological visionaries and world-renowned experts in the humanities.
so, like, I am sure it was vetted by lawyers, but my plain english understanding of that is github may need to archive it, whats not clear is that github may send it to any number of non profits to do with it what it pleases.
Then you've got software heritage who literally just scrapes the web for cgit repos and copies them without any agreement or license between you as the host and software heritage.
Anyway, it's all very Uber-model. Fuck the legality, we're just gonna do it and fuck it because the worst that can happen is a slap on the wrist.
It's like Common Crawl, another non-commerical mass scraping project just benevolently stealing creations for "AI" companies.
Side note: Gitlab is one of the few companies to provide a self hosted version of their VCS.
https://docs.gitlab.com/ee/install/requirements.html
Also gitea is a much more lightweight option and can use sqlite for db. Much easier to deploy on a rpi
for anything even just sharing with friends or whatnot i won't recommend it though, people do love their web-UI and having to explicitly give someone access can turn off people already.
The lack of anonymous public access is often a deal-breaker though.
Problem with this is that it’s likely very unfamiliar with most folks. At least with gitea or gl-ce, there’s a familiar interface 99% of developers can use to browse and search code.
Like if I want to share a quick nixOS config, I doubt most people would even be willing to pull the code and only browse via web interface.
Radicle[0] is also a really interesting option.
Worth mentioning Forgejo as well (https://forgejo.org), which is Codeberg's fork of Gitea. Same features and as lightweight as Gitea. Hard-forked a couple of months ago after some transparency concerns from the new parent company that owns Gitea now.
Why would it not be worth mentioning? The question is quite strange.
[0] https://drewdevault.com/2023/08/29/2023-08-29-AI-crap.html
As someone else mentioned they don't use state of the art models: https://docs.gitlab.com/ee/user/ai_features.html#language-mo... (though they are working on using Claude 3)
The completion plugin for the JetBrain IDEs (pycharm tested) appear to be very barebones, and judging by the results - does not seem to take advantage of the context beyond the current file in a good way. One of my colleges say the 2.x version is better though.
We were excited about the possibilities for MR and issue integration, but using it for this is IMO totally useless at the moment. Last I checked some of this will also only be available to Ultimate customers.
// Assign the number 5 to the integer x
int x = 5;> The GitLab Duo Chat is part of GitLab Duo Pro. To ease the transition for Chat beta users who have yet to purchase GitLab Duo Pro, Duo Chat will remain available to existing Premium and Ultimate customers (without the add-on) for a short period of time. We will announce when access will be restricted to Duo Pro subscribers at a later date.
At least one of our admins interpreted their pinky-promise policy page as something binding; at least from the communications we were sent it seems very hard to verify exactly what they are sending over or protections they've put in place.
It's 2024, not putting that clearly front-and-centre is a deliberate choice.
Mature Enterprise products will have so many obscure and random features that you practically need certification to understand all of them; but most end-users are not supposed to understand all of them. They just want to understand the ones that affect them. The fact that the features offered are maybe 50% as good (if that) as the ones offered by competing products is completely besides the Actual Value Proposition available to users who get hired to work inside BigEnterprise, which is the following choice:
a) Use a 50%-as-good product that is already installed and supported and by internal team;
b) Take the hard road to try to get a new product in: find the budget for a new product, convince the internal (IT?) team to install and maintain it, get them to integrate it with the rest of the BigEnterprise's systems (at least stuff like user management and sending emails), get the new product through Procurement processes.
Is it any wonder that 99% of the time, BigEnterprise employees choose (a) ?Product strategy when selling to these customers is: be the default choice, not the best choice. Get internal enterprise users to keep choosing (a). Eventually, so much internal enterprise usage depends on 50%-utility features, that anyway the system becomes nearly impossible to rip out, and then you can start to put in yearly price increases that they can't stop paying.
As long as you have a mainline feature that is best-in-class to get your foot in the door with new customers (so that their users can start using the 50%-utility features), you have a coherent product strategy. GitLab's best-in-class mainline feature is the combination of Git repository hosting + GitLab CI; their closest competitor is GitHub Enterprise which is more expensive (also GitHub Actions sucks), and Bitbucket is a sad joke.
[1]: https://about.gitlab.com/blog/2023/03/02/gitlab-premium-upda...
:)
Meanwhile all of the fancy security features, for which we pay a massive premium as they're only included in the Ultimate tier, are completely broken and I have to keep explaining to my team members why GitLab keeps falsely insisting their merge requests are full of security vulnerabilities.
Separate from that, there don't appear to be any benefits to having it "integrated" into GitLab. I'm assuming we'll switch to another tool shortly.
I guess either you believe that this AI feature is worth the new prices, or you don't. I don't.
> We use a self-hosted Gitlab for 5 years now and had to upgrade to premium after they killed the basic version.
Why not self-hosting an instance of Forgejo?
Have they fixed their pseudo-implementation of GitHub Actions? Last I saw they were trying to use nektos/act instead of actually, no kidding, implementing Actions and a real runner. It's the uncanny valley of CICD
Someone could say that enshittification is on the way.
[1]: Which, to be fair, has fewer features.
You can follow the migration to Claude 3 in this epic https://gitlab.com/groups/gitlab-org/-/epics/13297
(also shared in this thread https://news.ycombinator.com/item?id=40114647 )
GitLab Duo provides AI-assisted features in the DevSecOps lifecycle. GitLab Duo Chat was released as GA last week [0] Code Suggestions are GA, too, and help with code completion and generation [1] The documentation provides more insights on availability and usage [2]
Helpful learning resources:
If you are looking for practical examples and prompt tips for Duo Chat, bookmark this longer tutorial "10 best practices for using AI-powered GitLab Duo Chat" in [3]
We have also updated the documentation to add hands-in GitLab Duo examples for different programming languages and environments, helping with how to integrate AI into your workflows efficiently: [4]
At QCon London 2024 two weeks ago, I spoke about "Efficient DevSecOps workflows with a little help from AI." The slides are publicly available at [5], talk summary in [6]
I also recommend the blog post "How to put generative AI to work in your DevSecOps environment" [7] to tackle important questions such as workflow assessments, AI guardrails and how to measure AI impact in your organization.
Last but not least, I started a learning series called "GitLab Duo Coffee Chat" on YouTube [8], showing AI and GitLab Duo in action. I plan to host more sessions in the coming weeks. [9]
Happy to help with more adoption questions, best practices, and development workflows :-)
[0] https://about.gitlab.com/blog/2024/04/18/gitlab-duo-chat-now...
[1] https://about.gitlab.com/blog/2023/12/22/gitlab-duo-code-sug...
[2] https://docs.gitlab.com/ee/user/ai_features.html
[3] https://about.gitlab.com/blog/2024/04/02/10-best-practices-f...
[4] https://docs.gitlab.com/ee/user/gitlab_duo_examples.html
[5] https://go.gitlab.com/ZDYNXQ
[6] https://qconlondon.com/presentation/apr2024/efficient-devsec...
[7] https://about.gitlab.com/blog/2024/03/07/how-to-put-generati...
[8] https://www.youtube.com/playlist?list=PL05JrBw4t0Kp5uj_JgQiS...
[9] https://gitlab.com/groups/gitlab-com/marketing/developer-rel...
[0] https://docs.gitlab.com/ee/user/ai_features.html#language-mo...
You can follow the migration to Claude 3 in this public epic: https://gitlab.com/groups/gitlab-org/-/epics/13297
On a serious note, wtf Gitlab? Every once in a while I get an email notification from a feature request I subscribed to (that has been open for years) because yet another large premium customer requests that it be implemented. Gitlabs response is always that they don't have capacity/manpower to implement it, yet they're able to implement crap like this?
Why Gitlab Duo : AI :sparkles:Every company seems to be throwing their backlog away and focusing on adding AI features no one asked for. Could be a lot of opportunity for startups that actually listen to their end users to gain some traction instead of chasing GenAI.
This made me actually look into it instead of just complaining on the internet. The feature I was referring to was the Conan package repository[1]. Apparently, Forgejo implemented support for that already[2], as well as other features that originally drew me to Gitlab in the first place.
I think it may be time to consider switching.
They've spent the last years building stuff I don't care while not improving the stuff I care. During this period, GitHub built Actions.
Nowadays GitLab is more expensive than GitHub (GitLab Premium vs GitHub Enterprise) while also not having any particular feature that makes me want to use it over GitHub. If I was starting a software team today, there is no reason I'd be using GitLab.
In the long term their strategy of having too many half assed features might bite back instead of generating revenue streams.
I'll put money on it that Enterprise customers asked for this. The half-assed part, I can't comment on.
Is this a typo or some sophisticated marketing?
edit- seems to only be a bug in Firefox.