1 min readfrom Machine Learning

I scraped 5.94 billion TikTok videos and 3.23 billion profiles in 3 weeks. Uploaded full dataset to Hugging Face for free. Step by step tutorial and code below. [P]

Our take

A significant advancement in accessible data research has arrived. A developer has released a comprehensive dataset of 5.94 billion TikTok videos and 3.23 billion profiles, collected over three weeks and now freely available on Hugging Face. This unprecedented scale of data, alongside associated code and a detailed write-up, offers researchers a unique opportunity to explore TikTok’s ecosystem. For those interested in alternative machine learning approaches, consider “Deepity,” a C++ library demonstrating Predictive Coding Networks’ capabilities. Explore the full dataset and resources here: [https://huggingface.co/datasets/kuben-developer/tiktok-videos-4b](https://hugging

The recent release of a 5.94 billion TikTok video dataset to Hugging Face is a significant event, highlighting both the incredible potential and the complex ethical considerations surrounding large-scale data scraping and AI model training. This ambitious project, detailed by user /u/DataShack, involved reverse-engineering the TikTok mobile app to extract a massive trove of data including videos, profiles, comments, and more. It’s a testament to individual ingenuity and technical skill, akin to the efforts described in [Deepity: A C++ library showing Predictive Coding Networks can match Backprop (97.73% on MNIST in 60s) [P]], where focused development of novel architectures yields impressive results. The sheer scale of this dataset dwarfs many previously available resources, potentially unlocking new avenues for research in areas like content understanding, trend analysis, and even behavioral modeling. The fact that this data was accessible through public API endpoints, albeit potentially in violation of TikTok’s Terms of Service, underscores the current vulnerabilities in platform security and the ongoing tension between data accessibility and platform control.

The implications extend far beyond academic research. The ability to analyze such a large and diverse dataset could have profound impacts on marketing, social science, and even political discourse. Consider, for example, the work done by Swiggy in developing a customer lifetime value model using a multitude of features, [Swiggy Uses 350+ Features and Multi-Task MLP to Predict Customer Lifetime Value], a similar principle applies here – the ability to glean actionable insights from comprehensive data sets is invaluable. However, this release also raises serious questions about data privacy, consent, and the potential for misuse. While the developer acknowledges the ToS violation and charges for access to the full code, the open availability of the dataset itself presents a risk of malicious actors leveraging it for purposes like targeted disinformation campaigns or the creation of deepfakes. This situation echoes the discussions around responsible AI development, particularly as highlighted in [OpenAI, NVIDIA And Anthropic Just Split. Here's How I'd Spend $20, $60 Or $200.], where the allocation of resources towards ethical considerations and safety measures becomes paramount.

The technical feat of collecting and distributing this dataset is undeniably impressive. Building a system to reliably scrape billions of videos while navigating the complexities of mobile app reverse engineering requires considerable expertise. The open-source nature of the dataset itself, despite the paid access to the full code, is a positive step towards fostering collaborative research and innovation. It’s a departure from the increasingly walled-garden approach of many large tech companies, providing a valuable resource for those seeking to understand and analyze the dynamics of the TikTok platform. However, it’s crucial to recognize that the dataset reflects the biases and limitations inherent in the platform itself – the content curated by TikTok's algorithms, the demographics of its users, and the prevailing cultural trends. Any analysis based on this data should account for these factors to avoid drawing inaccurate or misleading conclusions.

Looking ahead, this event serves as a catalyst for a broader discussion about data ownership, platform responsibility, and the ethical boundaries of data scraping. It’s likely we'll see increased scrutiny of platforms' API policies and a greater emphasis on user consent mechanisms. Furthermore, the availability of such large datasets will undoubtedly accelerate the development of AI models capable of understanding and generating content that mimics the style and format of TikTok videos. The question remains: how can we harness the power of these datasets responsibly, ensuring that they are used to promote understanding and innovation while mitigating the risks of misuse and privacy violations? The balance between accessibility and ethical safeguards will be a defining challenge for the future of AI-driven data analysis.

Just uploaded the full 5.94 billion TikTok video dataset to Hugging Face. It’s fully open source:
https://huggingface.co/datasets/kuben-developer/tiktok-videos-4b

This dataset was collected using a TikTok mobile app reverse-engineering method I developed a few years ago. The method allowed me to extract billions of videos, profiles, comments and replies, hashtags, sounds, and more.

Full write-up and code here:
https://tiktok-api.seeksocial.io

Disclaimer: The TikTok app exposes 24 endpoints that can be accessed without a TikTok account, so the data itself is publicly accessible. But accessing it this way is probably still against TikTok’s ToS. Also, the full code is not free, I charge a small fee for access to it.

submitted by /u/DataShack
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article