Facebook has apologised for putting a "primates" label on a video of Black men, according to a report in the New York Times.
The newspaper said the video was posted by a tabloid in June and showed Black men in altercations with white civilians and police officers.
After the video ended, an automatic message popped up that said "keep seeing videos about Primates", according to the Times.
Facebook turned off the artificial intelligence feature that showed the message, the Times said, and apologised for what it called "an unacceptable error" and told the newspaper it would investigate further so that it doesn't happen again.
Facebook on Saturday did not respond to a request for comment from The Associated Press. But a company spokeswoman told the Times that even though Facebook has made improvements to its artificial intelligence "it's not perfect" and has "more progress to make".