Twitter has uploaded code fragments to Github that are responsible for recommending tweets on the social network

Eva Homicio


Twitter ©

This will allow users and developers to evaluate the algorithm's performance and suggest improvements. Reuters reports that the code was uploaded to two repositories on the Github website and includes various parts of Twitter's source code, including the recommendation algorithm for users. 

The code is open under the AGPLv3 license. The implementation used the programming languages ​​Scala (53.8%), Java (29.7%), Starlark (6.3%), Python (4.7%), C++ (2.4%) and Rust (1.5%). The code associated with the machine learning models used on Twitter is published in a separate repository (the models themselves are not published for security and privacy reasons).

The company emphasized that the repositories do not contain code related to advertising recommendations.

This move was made at the direction of Twitter CEO, Elon Musk. He stated that the transparency of the code will increase users' trust in the social network and will contribute to the rapid improvement of the product. It will also help address common concerns of users and legislators, who have begun actively scrutinizing how social media algorithms select content recommended to users.

Musk also stated that Twitter will update its recommendation algorithm based on user suggestions every 24-48 hours. He held an audio chat session on Twitter with other company employees, during which users could ask questions and give recommendations about how the social network's code works.

One participant in the session asked why Twitter's code classifies users as Democrats or Republicans. A company employee responded that this is an old function that does not play an important role in the recommendation system and that they plan to remove it.

Elon Musk said that soon, in addition to the information already published, he would reveal "literally all" the source code associated with issuing publications to users. The entrepreneur wrote about this on his page.

Related Content

Tech -

Tesla has released a unique wireless phone charger for sale that has no analogues on the market

This is a completely new product developed by Elon Musk's company.  According to The Verge, this gadget is one of the most advanced on the market today. Tesla's wireless charging technology allows up to three devices to be charged simultaneously at...
Tech -

SpaceX is preparing to launch satellite communication for mobile operators, starting with subscribers in the United States

Last summer, Elon Musk, CEO of SpaceX, and Mike Sievert, CEO of the US operator T-Mobile, announced a joint initiative called Coverage Above and Beyond.
Business -

Elon Musk's visit to China: who he plans to meet and why

Tesla CEO Elon Musk is planning to visit China in April and hold a meeting with Premier Li Qiang. According to Reuters, China is Tesla's second-largest market for cars after the United States, and Tesla's factory in Shanghai is the company's largest...
Tech -

Google has launched its new chatbot Bard

Google has launched its new chatbot Bard, aimed at competing with the popular ChatGPT from OpenAI. As reported by the Financial Times, the program is currently only available for testing. Bard is Google's first standalone consumer-facing artificial...
Tech -

ChatGPT accidentally exposed 1.2% of its users' personal data

OpenAI, a startup that develops a chatbot with artificial intelligence (AI), has explained the reasons behind the leak of its users' personal data online.