UPDATE August 29, 2024
This new post has updates related to various bug reports and feature requests.
UPDATE August 14, 2024
Over the past week we’ve scaled up the availability of the new page and process. Thank you to everyone who tested it out. Effective today, this is now available to all users.
UPDATE July 26, 2024
Thank you for your patience as we worked to get clarity around a few issues. We have two updates.
First, our product team has regretfully informed us that it will not be possible, within the existing time constraints, to bundle the dumps for a site and its meta together. So if you want to get the download for a site and its meta, you will need to do the request on both sites. We know the initial announcement implied that the two files would be bundled together, and we’re sorry that won’t be the case right now. That bundling was initially assumed to be a low lift, but it turned out not to be, so was taken out of scope for this release.
The second update we have is regarding the “Click to agree” language. Many users have found that language to be unnecessarily bureaucratic and difficult to parse and understand, within the context of a CC BY-SA 3.0 license. Philippe committed to asking our lawyers to take a look, and they did.
Both the product and legal teams have signed off on this modified language:
"I understand that this file is being provided to me for my own use and for projects that do not include training a large language model (LLM), and that should I distribute this file for the purpose of LLM training, Stack Overflow reserves the right to decline to allow me access to future downloads of this data dump."
This makes it easier to understand the agreement they’re making by downloading the file and, most importantly, clarifies that there is a separate path for someone who would like to use the data to train an LLM (using the “contact us” link below the heading). The “Become a partner” form allows someone to specify interest in non-commercial LLM-training use as well as commercial use. This updated image of the data dump access page (below) reflects the new language.
We’ll update this post again in the coming weeks when the data dump access page page is available for use.
Original Announcement
12 July, 2024
Today, we are announcing some changes to the data dump process. I’m going to start with an important statement: this is primarily only a change in location for where the data dump is accessed. Moving forward, we’ll be providing the data dump from a section of the site user profile on a Stack Exchange profile.
There are a number of reasons for this: first, this is an attempt to put commercial pressure on LLM manufacturers to join us and our existing partners in the “socially responsible AI” usage that we’re advocating for - to get them to give back to the communities whose data they consume.
Second, we want to help make the process of accessing data dumps quicker and more efficient. While the Internet Archive has been a great partner to us, as you may know, both internally and externally, people have encountered challenges with uploading and downloading the dumps with any reasonable speed.
Lastly with the heightened ease of receiving a dump, we’re curious to see what community members will build with this information.
I want to emphasize a few things:
You may download the dumps, free of charge, as you always have, just in a different and we hope more convenient location. The CC BY-SA license is unchanged.
The dump file will be provided in an “instant” format - we will generate a URL on the backend for the data from the site to be downloaded.
We are requesting that if you intend to use the dump for a commercial purpose, you consider joining the socially responsible AI movement and giving back to the community. For commercial purposes, there will be a link on the form to route you to the Stack Overflow team to discuss more information and next steps.
We are requiring that all partners in socially responsible AI comply with the CC BY-SA attribution requirements, attributing content to the community members who contributed it. All reuses of the data require attribution and it’s a part of the license.
Data dump access
You can access this site's data for non-commercial use. For commercial purposes, please contact us.
A new data dump is available every three months. Learn more about the data dump process.
(checkbox) I agree that I will use this file for non-commercial use. I will not use it for any other purpose, and I will not transfer it to others without permission from Stack Overflow. I certify that I am not downloading this file on behalf of my employer, for use in a for-profit enterprise. I have read and agree to the Terms of Service and the Acceptable Use Policy, and have read and understand Stack Overflow's privacy notice.
(button) Download data
(Above: The proposed location of the data dump access within the account settings; please note that some of the placement/layout/language is subject to change.)
At the same time, we are also reviewing our stance on data scrapers who pull down the site, including those who then use the data to impersonate Stack Overflow. We are adding additional checks for bots, and are hardening that infrastructure. This has been a longstanding request from the community, and we’re pleased to be able to resource this change. More details to come on this one.
Unfortunately, this new process will not be ready until mid-August. Because this is an important change, we want to use it for the July data dump release, which means that we will miss our previous commitment date of July 31 for the data dump. If you have an urgent and critical need for an updated version of the data, please contact us using the contact form, and we will see if there’s a way to accommodate you on the original schedule. The meta post will be updated once the new data dump process is available.
FAQ
Why are you updating the data dump process?
We are attempting to protect the long-term viability of the Stack Exchange network and to ensure that it is a comprehensive and well-attributed resource for generations to come.
We want to modernize the data dumps process and make it more efficient for users in the community. By adding the data dump process within the Stack Exchange site profile, users will be able to quickly access and track the quarter’s data dump.
Simultaneously, we know that companies have scraped or otherwise ingested Stack Overflow and Stack Exchange data to train models without proper attribution — models that they are monetizing or using for commercial purposes. We know this is happening because the companies themselves, or independent researchers, have disclosed this information. Assuring long-term viability of the community requires resources, and the commercialization process exists to assure that those resources flow back into this community. This also allows us to advocate on behalf of the contributing community members for appropriate attribution.
It’s important to note that this is not about preventing the everyday person from accessing the data dumps, nor is it about putting up a wall that is impervious to workarounds (which would be futile). This is part of laying out the pathway for companies to go through the proper channels and be above board in how they access the data. These companies want to be doing it the “right” way. In the rapidly changing legal and ethical landscape, being compliant and having a defined partnership for data access is important to both their brand and their bottom line.
This change should have little practical impact on the everyday person accessing the data dumps. It is ultimately a change in service of a very important goal. This is a trade-off in response to a rapidly changing world - a world in which we are now dealing with things like LLMs, which were not even a consideration when the CC BY-SA license was originally adopted.
How do users access data dump files?
To get the data file for a Stack Exchange site, there will be a location within the settings page on each Stack Exchange site. Users will be provided with the link to the data file, and can also continue to access the data through the Stack Exchange API or Data Explorer.
Please note that users will only be provided the data for the specific Stack Exchange site and its Meta site for the corresponding Stack Exchange site profile. If you wish to access the data for additional Stack Exchange sites, you will need to go through the same process for each site.
How is a request for commercial use made?
Commercial use requests can be made by filling out the “Become a partner” form on this page. That will be passed to our team who is responsible for working with partners.
Will Stack Overflow be uploading the data dump to archive.org?
Stack Overflow is no longer uploading the data dump to archive.org. We initially began to host the data dump on archive.org when our prior host went out of business. Now, we have developed the in-house capacity to host these ourselves. We would really rather users do not upload the file to archive.org or similar data pile sites. Assuring the viability of the Network takes resources, and companies that profit off the back of the work of this community should feel an obligation (“socially responsible AI”) to give back to the communities whose work they use to create the models that they are marketing commercially. Our hope is that because the process for individuals to request the dumps is lightweight and quick, you won’t feel the need to undermine these efforts to encourage commercial re-users to contribute back.
Can a user give the file to their employer for them to train a language model on?
When organizations are able to skip out on their obligations to contribute back, the whole internet suffers. Without Stack Overflow as a resource, many of the world’s millions of technologists would not be able to find the answers to their programming questions. And we know that these organizations are not contributing voluntarily - so putting this light commercial pressure on them is the best method to encourage socially conscious behavior. It’s important to say that when you breach the agreement that you make when downloading the dumps file, we do have the option to decline to provide you with future versions of the data dumps. But we really don’t want to have to do that.
A user has an unusual need for the full data dump file. How can they get that fulfilled?
We're scoping and building a process to allow for this, but it will not be in the initial release of the feature. Look for this in v2. For now, if you have a critical need for the full file, please write to us using the contact form and we will try to assist.