BSC Applications Developers Create AI System Trained in the Spanish Language

July 28, 2021

July 28, 2021 — Applications developers will have an artificial intelligence system that is expert in understanding and writing the Spanish language. The model has been created at the Barcelona Supercomputing Center (BSC) and has been trained on the MareNostrum supercomputer with data files from the Biblioteca Nacional de España (BNE).

The project has been financed with funds from the Language Technologies Plan of the Ministry of Economic Affairs and Digital Agenda and the Future Computing Center, an initiative of the BSC and IBM.

The project has been financed with funds from the Language Technologies Plan of the Ministry of Economic Affairs and Digital Agenda and the Future Computing Center, an initiative of the BSC and IBM.

MarIA, which is the name of the system, is available at no cost so that any developer, company or entity can use it at no cost. Its possible applications range from language correctors or predictors, to automatic summarization applications, chatbots, smart searches, translation engines and automatic subtitling, among others. These are the WARC resulting from the tracking and archiving of the Spanish website, which the BNE keeps, by virtue of the legal deposit law, as documentary heritage. The BSC has been able to use them to train the system thanks to the participation of both institutions in the Language Technologies Plan.

First massive AI model in the Spanish language

MarIA is a set of language models or, in other words, deep neural networks that have been trained to acquire an understanding of language, its vocabulary and its mechanisms to express meaning and write at an expert level. They manage to work with short and long interdependencies and are able to understand not only abstract concepts, but also their context.

The first step in creating a model of the language is to develop a corpus of words and phrases, which will be the basis on which the system will be trained.

59 terabytes (equivalent to 59,000 gigabytes) from the Biblioteca Nacional de España web archive were used to create the MarIA corpus. Subsequently, these files were processed to remove anything that was not well-formed text (such as page numbers, graphics, endeless sentences, wrong encodings, duplicate sentences, other languages, etc.) and only well-formed texts were saved in the Spanish language, as it is actually used. For this screening and its subsequent compilation, 6,910,000 hours of MareNostrum supercomputer processors were required and the results were 201,080,084 clean documents, occupying a total of 570 gigabytes of clean text without duplications.

This corpus exceeds the size and quality of the corpus available today by several orders of magnitude. It is a corpus that will enrich the digital heritage of Spanish and the BNE’s own archive and that may be used for multiple applications in the future, such as having a temporary image that allows analyzing the evolution of the language, understanding the digital society in its set and, of course, the training of new models.

Once the corpus was created, the BSC researchers used neural network technology (based on the Transformer architecture), which has shown excellent results in English and was trained to learn to use the language. Multilayer neural networks are an artificial intelligence technology and the trainings consist, among other techniques, in presenting texts with hidden words to the network, so that it learns to find out which is the hidden word given its context.

This training required 184,000 processor hours and more than 18,000 GPU hours. The models released so far have 125 million and 355 million parameters respectively.

Marta Villegas, project manager and BSC text mining group leader, explains the importance of being able to implement new Artificial Intelligence technologies, “which are completely transforming the field of natural language processing. With this project, we contribute to the country joining this scientific-technical revolution and positioning itself as a full-fledged actor in the computational treatment of Spanish language”.

Alfonso Valencia, BSC Life Sciences department director, argues that “the BSC’s High Performance Computing infrastructure has proven to be essential for this type of large projects that require both a lot of computing and large amounts of data. For us, it is very satisfactory to put technical capacities and expert knowledge at the service of a project with so many repercussions for the position of Spanish in the digital society”.

The Biblioteca Nacional de España, as established by its regulatory law, has among its functions “to promote and support research programs aimed at generating knowledge about its collections, establishing spaces for dialogue with research centers”. With this project, framed in the Language Technologies Plan, the BNE explores new ways of exploiting the data and collections it conserves, and seeks to promote reuse, new research projects and improve citizens’ access to information.

Next steps

After releasing the general models, the BSC text mining team is working on expanding the corpus, with new file sources that will provide texts with different particularities from those found in web environments, such as scientific publications from the CSIC.

The generation of models trained with texts from different languages ​​is also planned: Spanish, Catalan, Galician, Euskera, Portuguese and Spanish from Latin America.

BSC and Plan-TL

The BSC is the technical office of the Language Technologies Plan (Plan-TL) of the Secretary of State for Digitalization and Artificial Intelligence (SEDIA). As such, its mission is to facilitate the development of more competitive language systems for society, companies and research groups, making both general and specific language models public – for domains such as biomedicine or legal – and releasing sets of text for train and evaluate new models.

Further information about the Plan – TL: https://plantl.mineco.gob.es/Paginas/index.aspx

RoBERTa-base Model: https://huggingface.co/BSC-TeMU/roberta-base-bne

RoBERTa-large Model: https://huggingface.co/BSC-TeMU/roberta-large-bne

Information repository: https://github.com/PlanTL-SANIDAD/lm-spanish


Source: BSC

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industy updates delivered to you every week!

The Case for an Edge-Driven Future for Supercomputing

September 24, 2021

“Exascale only becomes valuable when it’s creating and using data that we care about,” said Pete Beckman, co-director of the Northwestern-Argonne Institute of Science and Engineering (NAISE), at the most recent HPC Read more…

Three Universities Team for NSF-Funded ‘ACES’ Reconfigurable Supercomputer Prototype

September 23, 2021

As Moore’s law slows, HPC developers are increasingly looking for speed gains in specialized code and specialized hardware – but this specialization, in turn, can make testing and deploying code trickier than ever. Now, researchers from Texas A&M University, the University of Illinois at Urbana... Read more…

Qubit Stream: Monte Carlo Advance, Infosys Joins the Fray, D-Wave Meeting Plans, and More

September 23, 2021

It seems the stream of quantum computing reports never ceases. This week – IonQ and Goldman Sachs tackle Monte Carlo on quantum hardware, Cambridge Quantum pushes chemistry calculations forward, D-Wave prepares for its Read more…

Asetek Announces It Is Exiting HPC to Protect Future Profitability

September 22, 2021

Liquid cooling specialist Asetek, well-known in HPC circles for its direct-to-chip cooling technology that is inside some of the fastest supercomputers in the world, announced today that it is exiting the HPC space amid multiple supply chain issues related to the pandemic. Although pandemic supply chain... Read more…

TACC Supercomputer Delves Into Protein Interactions

September 22, 2021

Adenosine triphosphate (ATP) is a compound used to funnel energy from mitochondria to other parts of the cell, enabling energy-driven functions like muscle contractions. For ATP to flow, though, the interaction between the hexokinase-II (HKII) enzyme and the proteins found in a specific channel on the mitochondria’s outer membrane. Now, simulations conducted on supercomputers at the Texas Advanced Computing Center (TACC) have simulated... Read more…

AWS Solution Channel

Introducing AWS ParallelCluster 3

Running HPC workloads, like computational fluid dynamics (CFD), molecular dynamics, or weather forecasting typically involves a lot of moving parts. You need a hundreds or thousands of compute cores, a job scheduler for keeping them fed, a shared file system that’s tuned for throughput or IOPS (or both), loads of libraries, a fast network, and a head node to make sense of all this. Read more…

The Latest MLPerf Inference Results: Nvidia GPUs Hold Sway but Here Come CPUs and Intel

September 22, 2021

The latest round of MLPerf inference benchmark (v 1.1) results was released today and Nvidia again dominated, sweeping the top spots in the closed (apples-to-apples) datacenter and edge categories. Perhaps more interesti Read more…

The Case for an Edge-Driven Future for Supercomputing

September 24, 2021

“Exascale only becomes valuable when it’s creating and using data that we care about,” said Pete Beckman, co-director of the Northwestern-Argonne Institut Read more…

Three Universities Team for NSF-Funded ‘ACES’ Reconfigurable Supercomputer Prototype

September 23, 2021

As Moore’s law slows, HPC developers are increasingly looking for speed gains in specialized code and specialized hardware – but this specialization, in turn, can make testing and deploying code trickier than ever. Now, researchers from Texas A&M University, the University of Illinois at Urbana... Read more…

Qubit Stream: Monte Carlo Advance, Infosys Joins the Fray, D-Wave Meeting Plans, and More

September 23, 2021

It seems the stream of quantum computing reports never ceases. This week – IonQ and Goldman Sachs tackle Monte Carlo on quantum hardware, Cambridge Quantum pu Read more…

Asetek Announces It Is Exiting HPC to Protect Future Profitability

September 22, 2021

Liquid cooling specialist Asetek, well-known in HPC circles for its direct-to-chip cooling technology that is inside some of the fastest supercomputers in the world, announced today that it is exiting the HPC space amid multiple supply chain issues related to the pandemic. Although pandemic supply chain... Read more…

TACC Supercomputer Delves Into Protein Interactions

September 22, 2021

Adenosine triphosphate (ATP) is a compound used to funnel energy from mitochondria to other parts of the cell, enabling energy-driven functions like muscle contractions. For ATP to flow, though, the interaction between the hexokinase-II (HKII) enzyme and the proteins found in a specific channel on the mitochondria’s outer membrane. Now, simulations conducted on supercomputers at the Texas Advanced Computing Center (TACC) have simulated... Read more…

The Latest MLPerf Inference Results: Nvidia GPUs Hold Sway but Here Come CPUs and Intel

September 22, 2021

The latest round of MLPerf inference benchmark (v 1.1) results was released today and Nvidia again dominated, sweeping the top spots in the closed (apples-to-ap Read more…

Why HPC Storage Matters More Now Than Ever: Analyst Q&A

September 17, 2021

With soaring data volumes and insatiable computing driving nearly every facet of economic, social and scientific progress, data storage is seizing the spotlight. Hyperion Research analyst and noted storage expert Mark Nossokoff looks at key storage trends in the context of the evolving HPC (and AI) landscape... Read more…

GigaIO Gets $14.7M in Series B Funding to Expand Its Composable Fabric Technology to Customers

September 16, 2021

Just before the COVID-19 pandemic began in March 2020, GigaIO introduced its Universal Composable Fabric technology, which allows enterprises to bring together Read more…

Ahead of ‘Dojo,’ Tesla Reveals Its Massive Precursor Supercomputer

June 22, 2021

In spring 2019, Tesla made cryptic reference to a project called Dojo, a “super-powerful training computer” for video data processing. Then, in summer 2020, Tesla CEO Elon Musk tweeted: “Tesla is developing a [neural network] training computer called Dojo to process truly vast amounts of video data. It’s a beast! … A truly useful exaflop at de facto FP32.” Read more…

Enter Dojo: Tesla Reveals Design for Modular Supercomputer & D1 Chip

August 20, 2021

Two months ago, Tesla revealed a massive GPU cluster that it said was “roughly the number five supercomputer in the world,” and which was just a precursor to Tesla’s real supercomputing moonshot: the long-rumored, little-detailed Dojo system. “We’ve been scaling our neural network training compute dramatically over the last few years,” said Milan Kovac, Tesla’s director of autopilot engineering. Read more…

Esperanto, Silicon in Hand, Champions the Efficiency of Its 1,092-Core RISC-V Chip

August 27, 2021

Esperanto Technologies made waves last December when it announced ET-SoC-1, a new RISC-V-based chip aimed at machine learning that packed nearly 1,100 cores onto a package small enough to fit six times over on a single PCIe card. Now, Esperanto is back, silicon in-hand and taking aim... Read more…

CentOS Replacement Rocky Linux Is Now in GA and Under Independent Control

June 21, 2021

The Rocky Enterprise Software Foundation (RESF) is announcing the general availability of Rocky Linux, release 8.4, designed as a drop-in replacement for the soon-to-be discontinued CentOS. The GA release is launching six-and-a-half months after Red Hat deprecated its support for the widely popular, free CentOS server operating system. The Rocky Linux development effort... Read more…

Intel Completes LLVM Adoption; Will End Updates to Classic C/C++ Compilers in Future

August 10, 2021

Intel reported in a blog this week that its adoption of the open source LLVM architecture for Intel’s C/C++ compiler is complete. The transition is part of In Read more…

Hot Chips: Here Come the DPUs and IPUs from Arm, Nvidia and Intel

August 25, 2021

The emergence of data processing units (DPU) and infrastructure processing units (IPU) as potentially important pieces in cloud and datacenter architectures was Read more…

AMD-Xilinx Deal Gains UK, EU Approvals — China’s Decision Still Pending

July 1, 2021

AMD’s planned acquisition of FPGA maker Xilinx is now in the hands of Chinese regulators after needed antitrust approvals for the $35 billion deal were receiv Read more…

Google Launches TPU v4 AI Chips

May 20, 2021

Google CEO Sundar Pichai spoke for only one minute and 42 seconds about the company’s latest TPU v4 Tensor Processing Units during his keynote at the Google I Read more…

Leading Solution Providers

Contributors

HPE Wins $2B GreenLake HPC-as-a-Service Deal with NSA

September 1, 2021

In the heated, oft-contentious, government IT space, HPE has won a massive $2 billion contract to provide HPC and AI services to the United States’ National Security Agency (NSA). Following on the heels of the now-canceled $10 billion JEDI contract (reissued as JWCC) and a $10 billion... Read more…

10nm, 7nm, 5nm…. Should the Chip Nanometer Metric Be Replaced?

June 1, 2020

The biggest cool factor in server chips is the nanometer. AMD beating Intel to a CPU built on a 7nm process node* – with 5nm and 3nm on the way – has been i Read more…

Julia Update: Adoption Keeps Climbing; Is It a Python Challenger?

January 13, 2021

The rapid adoption of Julia, the open source, high level programing language with roots at MIT, shows no sign of slowing according to data from Julialang.org. I Read more…

Quantum Roundup: IBM, Rigetti, Phasecraft, Oxford QC, China, and More

July 13, 2021

IBM yesterday announced a proof for a quantum ML algorithm. A week ago, it unveiled a new topology for its quantum processors. Last Friday, the Technical Univer Read more…

Intel Launches 10nm ‘Ice Lake’ Datacenter CPU with Up to 40 Cores

April 6, 2021

The wait is over. Today Intel officially launched its 10nm datacenter CPU, the third-generation Intel Xeon Scalable processor, codenamed Ice Lake. With up to 40 Read more…

Frontier to Meet 20MW Exascale Power Target Set by DARPA in 2008

July 14, 2021

After more than a decade of planning, the United States’ first exascale computer, Frontier, is set to arrive at Oak Ridge National Laboratory (ORNL) later this year. Crossing this “1,000x” horizon required overcoming four major challenges: power demand, reliability, extreme parallelism and data movement. Read more…

Intel Unveils New Node Names; Sapphire Rapids Is Now an ‘Intel 7’ CPU

July 27, 2021

What's a preeminent chip company to do when its process node technology lags the competition by (roughly) one generation, but outmoded naming conventions make it seem like it's two nodes behind? For Intel, the response was to change how it refers to its nodes with the aim of better reflecting its positioning within the leadership semiconductor manufacturing space. Intel revealed its new node nomenclature, and... Read more…

Top500: Fugaku Still on Top; Perlmutter Debuts at #5

June 28, 2021

The 57th Top500, revealed today from the ISC 2021 digital event, showcases many of the same systems as the previous edition, with Fugaku holding its significant lead and only one new entrant in the top 10 cohort: the Perlmutter system at the DOE Lawrence Berkeley National Laboratory enters the list at number five with 65.69 Linpack petaflops. Perlmutter is the largest... Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire