0 Comentários
0 Compartilhamentos
15 Visualizações
Diretório
Diretório
-
Faça o login para curtir, compartilhar e comentar!
-
TOWARDSAI.NETStep-by-Step Exploration of Transformer Attention MechanismsLatestMachine LearningStep-by-Step Exploration of Transformer Attention Mechanisms 0 like December 23, 2024Share this postLast Updated on December 24, 2024 by Editorial TeamAuthor(s): Shenggang Li Originally published on Towards AI. A Practical Walkthrough of Training Transformer Models with Insights into Positional Encoding and Its Role in Attention DynamicsThis member-only story is on us. Upgrade to access all of Medium.Photo by Abiyyu Zahy on UnsplashIf youre diving into AI and want to understand the secret sauce behind modern language models like ChatGPT or BERT, you need to get familiar with Transformers and their game-changing attention mechanism. These concepts are the foundation of cutting-edge NLP, and once you grasp them, youll see why theyre so powerful and versatile.Imagine youre trying to read a book, not line by line, but by flipping to any page you want instantly and picking up on the connections between parts of the story. Thats kind of what Transformers do in NLP. They ditched the old ways of reading word-by-word, like RNNs or LSTMs, and instead take in whole chunks of data whether its a sentence, a paragraph, or an entire sequence all at once. This gives them super speed in training and makes them great at spotting patterns across the whole text.At the heart of this magic is something called the attention mechanism. Its like having a spotlight that focuses on the most important words in a sentence while still keeping an eye on the rest.Were going to break it all down Read the full blog for free on Medium.Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming asponsor. Published via Towards AITowards AI - Medium Share this post0 Comentários 0 Compartilhamentos 16 Visualizações
-
TOWARDSAI.NETWhisper.cpp: How to Use OpenAIs Whisper Model in C/C++ for Efficient Speech RecognitionLatestMachine LearningWhisper.cpp: How to Use OpenAIs Whisper Model in C/C++ for Efficient Speech Recognition 0 like December 22, 2024Share this postLast Updated on December 24, 2024 by Editorial TeamAuthor(s): Md Monsur ali Originally published on Towards AI. OpenAIs Whisper in C/C++ for Accurate, High-Speed Transcription Without Internet Step-by-Step TutorialThis member-only story is on us. Upgrade to access all of Medium. GitHub | LinkedIn | Medium | Ko-fiSource: https://github.com/ggerganov/whisper.cppIn the fast-evolving field of artificial intelligence and machine learning, the Whisper model developed by OpenAI has been a game-changer for automatic speech recognition. Designed to provide highly accurate transcription, translation, and multilingual speech recognition from the start, Whisper was a strong tool for developers working with speech-related applications. The original model, however, is implemented in Python, whereas many developers like to work with more lightweight, efficient, and portable implementations in their systems. Enter Whisper.cpp: an optimized C/C++ version of OpenAIs model, Whisper, designed for fast, cross-platform performance.In this post, we will take a closer look at what Whisper.cpp is, its main features, and how it can be used to bring speech recognition into applications such as voice assistants or real-time transcription systems.Whisper.cpp is the OpenAI Whisper Model implementation in C and C++. It has been made, trying to achieve as much performance and portability as the model itself and aiming at running Whisper on platforms that cannot utilize the original Python model: it will make embedding much simpler in systems with restricted resources, like some embedded Read the full blog for free on Medium.Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming asponsor. Published via Towards AITowards AI - Medium Share this post0 Comentários 0 Compartilhamentos 16 Visualizações
-
THEHACKERNEWS.COMApache Tomcat Vulnerability CVE-2024-56337 Exposes Servers to RCE AttacksDec 24, 2024Ravie LakshmananVulnerability / Zero DayThe Apache Software Foundation (ASF) has released a security update to address an important vulnerability in its Tomcat server software that could result in remote code execution (RCE) under certain conditions.The vulnerability, tracked as CVE-2024-56337, has been described as an incomplete mitigation for CVE-2024-50379 (CVSS score: 9.8), another critical security flaw in the same product that was previously addressed on December 17, 2024."Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat," the project maintainers said in an advisory last week.Both the flaws are Time-of-check Time-of-use (TOCTOU) race condition vulnerabilities that could result in code execution on case-insensitive file systems when the default servlet is enabled for write."Concurrent read and upload under load of the same file can bypass Tomcat's case sensitivity checks and cause an uploaded file to be treated as a JSP leading to remote code execution," Apache noted in an alert for CVE-2024-50379.CVE-2024-56337 impacts the below versions of Apache Tomcat -Apache Tomcat 11.0.0-M1 to 11.0.1 (Fixed in 11.0.2 or later)Apache Tomcat 10.1.0-M1 to 10.1.33 (Fixed in 10.1.34 or later)Apache Tomcat 9.0.0.M1 to 9.0.97 (Fixed in 9.0.98 or later)Additionally, users are required to carry out the following configuration changes depending on the version of Java being run -Java 8 or Java 11 - Explicitly set system property sun.io.useCanonCaches to false (it defaults to true) Java 17 - Set system property sun.io.useCanonCaches to false, if already set (it defaults to false)Java 21 and later - No action is required, as the system property has been removedThe ASF credited security researchers Nacl, WHOAMI, Yemoli, and Ruozhi for identifying and reporting both shortcomings. It also acknowledged the KnownSec 404 Team for independently reporting CVE-2024-56337 with a proof-of-concept (PoC) code.The disclosure comes as the Zero Day Initiative (ZDI) shared details of a critical bug in Webmin (CVE-2024-12828, CVSS score: 9.9) that allows authenticated remote attackers to execute arbitrary code."The specific flaw exists within the handling of CGI requests," the ZDI said. "The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root."Found this article interesting? Follow us on Twitter and LinkedIn to read more exclusive content we post.SHARE0 Comentários 0 Compartilhamentos 13 Visualizações
-
WWW.CNET.COMToday's NYT Mini Crossword Answers for Tuesday, Dec. 24Looking forthe most recentMini Crossword answer?Click here for today's Mini Crossword hints, as well as our daily answers and hints for The New York Times Wordle, Strands and Connections puzzles.The New York TimesMini Crosswordthrew kind of a toughie at us for Christmas Eve, I thought. And that day actually showed up in the clues -- spoiler!. Anyway, if you're stuck on any of the clues today, we've got the answers. And if you could use some hints and guidance for daily solving, check out our Mini Crossword tips.The Mini Crossword is just one of many games in the Times' games collection. If you're looking for today's Wordle, Connections and Strands answers, you can visitCNET's NYT puzzle hints page.Read more: Tips and Tricks for Solving The New York Times Mini CrosswordLet's get at those Mini Crossword clues and answers. The completed NYT Mini Crossword puzzle for Dec. 24, 2024. NYT/Screenshot by CNETMini across clues and answers1A clue: Christmas ___Answer: EVE4A clue: Hanker for, as Christmas cookiesAnswer: CRAVE6A clue: Instrument heard in many a Christmas hymnAnswer: ORGAN7A clue: Rounded heapAnswer: MOUND8A clue: Vintner's deviceAnswer: PRESSMini down clues and answers1A clue: Proofreader's catchAnswer: ERROR2A clue: Like a Christmas wish list that just says "toys"Answer: VAGUE3A clue: Chris of "Knives Out"Answer: EVANS4A clue: Provide free of chargeAnswer: COMP5A clue: Comes to a closeAnswer: ENDSHow to play more Mini CrosswordsThe New York Times Games section offers a large number of online games, but only some of them are free for all to play. You can play the current day's Mini Crossword for free, but you'll need a subscription to the Times Games section to play older puzzles from the archives.0 Comentários 0 Compartilhamentos 18 Visualizações
-
WWW.CNET.COMToday's NYT Connections Hints, Answers and Help for Dec. 24, #562Looking for the most recent Connections answers? Click here for today's Connections hints, as well as our daily answers and hints for The New York Times Mini Crossword, Wordle and Strands puzzles.TheNew York Times Connections puzzleeditors went kind of loopy on us today. That yellow category is completely strange, oh my. And the blue and purple groups were absolutely killer. If you need help solving the puzzle, read on for today's Connections hints and answers.Read more:Hints, Tips and Strategies to Help You Win at NYT Connections Every TimeHints for today's Connections groupsHere are four hints for the groupings in today's Connections puzzle, ranked from the easiest, yellow group to the tough (and sometimes bizarre) purple group.Yellow group hint: Wizard of Oz quote.Green group hint: Buddies.Blue group hint: Letters in a group.Purple group hint: Songs with repeated words in title.Answers for today's Connections groupsYellow group: Lions and tigers and bears, oh my!Green group: Beloved, as a friend.Blue group: Words that sound like plural letters.Purple group: When tripled, hit song titles.Read more: Wordle Cheat Sheet: Here Are the Most Popular Letters Used in English WordsWhat are today's Connections answers? The completed NYT Connections puzzle for Dec. 24, 2024. NYT/Screenshot by CNETThe yellow words in today's ConnectionsThe theme is "lions and tigers and bears, oh my." The four answers are lions, tigers, bears and oh my.The green words in today's ConnectionsThe theme is beloved, as a friend. The four answers are close, dear, intimate and tight.The blue words in today's ConnectionsThe theme is words that sound like plural letters. The four answers are bees, ease, jays and use.The purple words in today's ConnectionsThe theme is when tripled, hit song titles. The four answers are bills, bye, gimme and please. (Bills, Bills, Bills is by Destiny's Child; Bye, Bye, Bye is by NSYNC; Gimme! Gimme! Gimme! Is by ABBA; and Please Please Please is by Sabrina Carpenter.)0 Comentários 0 Compartilhamentos 18 Visualizações
-
WWW.CNET.COMToday's NYT Strands Hints, Answers and Help for Dec. 24, #296Looking for the most recent Strands answer?Click here for our daily Strands hints, as well as our daily answers and hints for The New York Times Mini Crossword, Wordle and Connections puzzles.Today'sStrandshas a fun topic. I used to watch the CBS soap opera The Bold and The Beautiful, and it always occurred to me how many of the characters had names that were also things in nature Ridge, Thorne and Brooke being the main ones. So this was an entertaining theme for me. If you need more hints and answers for today's Strands puzzle, read on.Also, I go into depth about therules for Strands in this story.If you're looking for today's Wordle, Connections and Mini Crossword answers, you can visitCNET's NYT puzzle hints page.Read more:NYT Connections Turns 1: These Are the 5 Toughest Puzzles So FarHint for today's Strands puzzleToday's Strands theme is:What on earth...?If that doesn't help you, here's a clue: Mother Nature.Clue words to unlock in-game hintsYour goal is to find hidden words that fit the puzzle's theme. If you're stuck, find any words you can. Every time you find three words of four letters or more, Strands will reveal one of the theme words. These are the words I used to get those hints, but any words of four or more letters that you find will work:HEAL, LEAN, VEER, TINE, VINE, MANE, RIVE, MEAL, MALE, ALES, MALES, ROOK, CULL, VINA, RILLAnswers for today's Strands puzzleThese are the answers that tie into the theme. The goal of the puzzle is to find them all, including the spangram, a theme word that reaches from one side of the puzzle to the other. When you've got all of them (I originally thought there were always eight but learned that the number can vary), every letter on the board will be used. Here are the nonspangram answers:HOLLY, BROOK, RIVER, LAUREL, WILLOW, CLEMENTINEToday's Strands spangramToday's Strands spangram isNATURENAMES.To find it, start with the N that's three letters to the right on the top row, and wind down. The completed NYT Strands puzzle for Dec. 24, 2024. NYT/Screenshot by CNET0 Comentários 0 Compartilhamentos 18 Visualizações
-
WWW.SCMP.COMChinese workers found in slavery-like conditions at BYD construction site in BrazilBrazilian officials found 163 Chinese nationals working in slavery-like conditions at a construction site for a factory owned by Chinese electric vehicle producer BYD in Brazils Bahia state, the local labour prosecutors office said during a news conference on Monday.AdvertisementAccording to the authorities, the workers were hired in China by another firm and brought to Brazil irregularly.They were labouring for long hours, in excess of what is permitted by Brazilian law, sometimes for seven days a week straight, while being kept in what authorities described as degrading conditions in their accommodation, among other labour violations.The Chinese EV giant has terminated ties with Jinjiang Construction Brazil Ltd. and pledged to protect the rights of subcontracted workers, the company said in a statement on Monday. All workers will be transferred to hotels, it said.BYD Auto do Brasil reiterates its commitment to full compliance with Brazilian legislation, especially with regard to the protection of workers rights and human dignity, said Alexandre Baldy, senior vice-president of BYD Brasil.AdvertisementThe labour authorities did not disclose the names of the firms involved in hiring the workers.01:11Chinas BYD overtakes Tesla as worlds largest EV makerChinas BYD overtakes Tesla as worlds largest EV maker0 Comentários 0 Compartilhamentos 14 Visualizações
-
WWW.NINTENDOLIFE.COMNew Fire Emblem: Three Houses Good Smile Figure Announced, Pre-Orders LiveEdelgard arrives 2026.The Good Smile Company has already released all sorts of stunning Fire Emblem figures and the latest reveal is Edelgard from Fire Emblem: Three Houses.Read the full article on nintendolife.com0 Comentários 0 Compartilhamentos 14 Visualizações
-
WWW.FORBES.COMJake Paul Vs. Conor McGregor: Everything You Need To Know About So FarJake Paul and Conor McGregorCredit: GettyJake Paul vs. Mike Tyson was a huge commercial success. Could Paul vs. Conor McGregor in a boxing match be bigger? We might get a chance to find out.According to ESPNs Salvador Rodriguez, a fight between the influencer-turned boxer and the former UFC champion is on the table for July, August or September 2025.Four hours after Rodriguezs post, McGregor took to X with a three-letter post: TKO.The somewhat cryptic post appears to be referencing the parent company that controls WWE and UFC. That post is taken as some indication that the UFC may not stand in the way of this potential mega event.MORE FOR YOUPreviously, McGregor had posted about his agreement to face Logan Paul in an exhibition match in India with the financial backing of the Albani family. Logan acknowledged the concept with his own post.Jake followed those rumors with a post suggesting hed been approached with the concept.Long-time MMA journalist Ariel Helwani suggested hed heard the initial interest from McGregor and the Albani family was in Jake, but the latter didnt want to be a part of any discussions that would ultimately be blocked by the UFC.McGregor is still under contract with the UFC for two more fights. The UFC has been notoriously resistant to allowing their fighters to participate in crossover combat sports events, aside from the occasional Brazilian Jiu-Jitsu competition.In 2017, UFC President Dana White made an exception for McGregor to box Floyd Mayweather.White would not allow Francis Ngannou the same freedom, which according to the latter, is part of the reason he left the UFC and signed with the Professional Fighters League. Recently, White teased he was working on something that no one would see coming.That tease caused a ton of speculation, but we havent gotten any indication about the details. Many suspected White might have been referring to Logan vs. McGregor, but it may apply to Jake vs. the Irish superstar.McGregor has been out of action since he was beaten by TKO against Dustin Poirier in July 2021. Hes lost two in a row and four of his last five in the Octagon. McGregor was supposed to fight Michael Chandler in the main event of UFC 302 during International Fight Week in June, but the former pulled out.Chandler had been waiting to fight McGregor for two years and decided to go elsewhere for UFC 309 at Madison Square Garden in New York. Chandler fought Charles Oliveira in a rematch and lost the fight via unanimous decision.White and McGregor have insisted the former will return to the Octagon in 2025, but perhaps this fight with Jake or Logan could precede his return to the UFC.McGregor is part-owner of Bare Knuckle Fighting Championship and is often among the most vocal on social media during the promotions events. Most recently, McGregor took shots at DAZN, the broadcast partner for BKFC, for not allotting time for post-fight interviews for winners.In any case, McGregors return to combat sportson any levelis sure to draw a crowd.0 Comentários 0 Compartilhamentos 14 Visualizações