Searcharxiv⌕ Search

arXiv subjects

Thomas Wolf

Publications and source records attributed to Thomas Wolf.

At least 37 records · Page 2Linked to original sources

Towards Best Practices for Open Datasets for LLM Training

Many AI companies are training their large language models (LLMs) on data without the permission of the copyright owners. The permissibility of doing so varies by jurisdiction: in countries like the EU and Japan, this is allowed under certain restrictions, while in the United States, the legal landscape is more ambiguous. Regardless of the legal status, concerns from creative producers have led to several high-profile copyright lawsuits, and the threat of litigation is commonly cited as a reason for the recent trend towards minimizing the information shared about training datasets by both corporate and public interest actors. This trend in limiting data information causes harm by hindering transparency, accountability, and innovation in the broader ecosystem by denying researchers, auditors, and impacted individuals access to the information needed to understand AI models. While this could be mitigated by training language models on open access and public domain data, at the time of writing, there are no such models (trained at a meaningful scale) due to the substantial technical and sociological challenges in assembling the necessary corpus. These challenges include incomplete and unreliable metadata, the cost and complexity of digitizing physical records, and the diverse set of legal and technical skills required to ensure relevance and responsibility in a quickly changing landscape. Building towards a future where AI systems can be trained on openly licensed data that is responsibly curated and governed requires collaboration across legal, technical, and policy domains, along with investments in metadata standards, digitization, and fostering a culture of openness.

cs.CY↗

Exact solitary wave solutions for a coupled gKdV-Schrodinger system by a new ODE reduction method

A new method is developed for finding exact solitary wave solutions of a generalized Korteweg-de Vries equation with p-power nonlinearity coupled to a linear Schrödinger equation arising in many different physical applications. This method yields 22 solution families, with p=1,2,3,4. No solutions for p>1 were known previously in the literature. For p=1, four of the solution families contain bright/dark Davydov solitons of the 1st and 2nd kind, obtained in recent work by basic ansatze applied to the ODE system for travelling waves. All of the new solution families have interesting features, including bright/dark peaks with (up to) p symmetric pairs of side peaks in the amplitude and a kink profile for the nonlinear part in the phase. The present method is fully systematic and involves several novel steps which reduce the travelling wave ODE system to a single nonlinear base ODE for which all polynomial solutions are found by symbolic computation. It is applicable more generally to other coupled nonlinear dispersive wave equations as well as to nonlinear ODE systems of generalized Hénon-Heiles form.

nlin.SI↗

The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale

The performance of a large language model (LLM) depends heavily on the quality and size of its pretraining dataset. However, the pretraining datasets for state-of-the-art open LLMs like Llama 3 and Mixtral are not publicly available and very little is known about how they were created. In this work, we introduce FineWeb, a 15-trillion token dataset derived from 96 Common Crawl snapshots that produces better-performing LLMs than other open pretraining datasets. To advance the understanding of how best to curate high-quality pretraining datasets, we carefully document and ablate all of the design choices used in FineWeb, including in-depth investigations of deduplication and filtering strategies. In addition, we introduce FineWeb-Edu, a 1.3-trillion token collection of educational text filtered from FineWeb. LLMs pretrained on FineWeb-Edu exhibit dramatically better performance on knowledge- and reasoning-intensive benchmarks like MMLU and ARC. Along with our datasets, we publicly release our data curation codebase and all of the models trained during our ablation experiments.

cs.CL↗

Design and Performance of a Magnetic Bottle Electron Spectrometer for High-Energy Photoelectron Spectroscopy

We describe the design and performance of a magnetic bottle electron spectrometer~(MBES) for high-energy electron spectroscopy. Our design features a ${\sim2}$~m long electron drift tube and electrostatic retardation lens, achieving sub-electronvolt (eV) electron kinetic energy resolution for high energy (several hundred eV) electrons with close to 4$π$ collection efficiency. A segmented anode electron detector enables the simultaneous collection of photoelectron spectra in high resolution and high collection efficiency modes. This versatile instrument is installed at the TMO endstation at the LCLS x-ray free-electron laser (XFEL). In this paper, we demonstrate its high resolution, collection efficiency and spatial selectivity in measurements where it is coupled to an XFEL source. These combined characteristics are designed to enable high-resolution time-resolved measurements using x-ray photoelectron, absorption, and Auger-Meitner spectroscopy. We also describe the pervasive artifact in MBES time-of-flight spectra that arises from a periodic modulation in electron detection efficiency, and present a robust analysis procedure for its removal.

physics.ins-det↗

Anomalous Nernst effect in the noncollinear antiferromagnet Mn$_5$Si$_3$

Investigating the off-diagonal components of the conductivity and thermoelectric tensor of materials hosting complex antiferromagnetic structures has become a viable method to reveal the effects of topology and chirality on the electronic transport in these systems. In this respect, Mn$_5$Si$_3$ is an interesting metallic compound that exhibits several antiferromagnetic phases below 100 K with different collinear and noncollinear arrangements of Mn magnetic moments. Previous investigations have shown that the transitions between the various phases give rise to large changes of the anomalous Hall effect. Here, we report measurements of the anomalous Nernst effect of Mn$_5$Si$_3$ single crystals. Below 25 K we observe a sign change of the zero-field Nernst signal with a concomitant decrease of the Hall signal and a gradual reduction of the remanent magnetization which we attribute to a subtle rearrangement of the magnetic moment configuration at low temperatures.

cond-mat.mtrl-sci↗

StarCoder 2 and The Stack v2: The Next Generation

The BigCode project, an open-scientific collaboration focused on the responsible development of Large Language Models for Code (Code LLMs), introduces StarCoder2. In partnership with Software Heritage (SWH), we build The Stack v2 on top of the digital commons of their source code archive. Alongside the SWH repositories spanning 619 programming languages, we carefully select other high-quality data sources, such as GitHub pull requests, Kaggle notebooks, and code documentation. This results in a training set that is 4x larger than the first StarCoder dataset. We train StarCoder2 models with 3B, 7B, and 15B parameters on 3.3 to 4.3 trillion tokens and thoroughly evaluate them on a comprehensive set of Code LLM benchmarks. We find that our small model, StarCoder2-3B, outperforms other Code LLMs of similar size on most benchmarks, and also outperforms StarCoderBase-15B. Our large model, StarCoder2- 15B, significantly outperforms other models of comparable size. In addition, it matches or outperforms CodeLlama-34B, a model more than twice its size. Although DeepSeekCoder- 33B is the best-performing model at code completion for high-resource languages, we find that StarCoder2-15B outperforms it on math and code reasoning benchmarks, as well as several low-resource languages. We make the model weights available under an OpenRAIL license and ensure full transparency regarding the training data by releasing the SoftWare Heritage persistent IDentifiers (SWHIDs) of the source code data.

cs.SE↗

StarCoder: may the source be with you!

The BigCode community, an open-scientific collaboration working on the responsible development of Large Language Models for Code (Code LLMs), introduces StarCoder and StarCoderBase: 15.5B parameter models with 8K context length, infilling capabilities and fast large-batch inference enabled by multi-query attention. StarCoderBase is trained on 1 trillion tokens sourced from The Stack, a large collection of permissively licensed GitHub repositories with inspection tools and an opt-out process. We fine-tuned StarCoderBase on 35B Python tokens, resulting in the creation of StarCoder. We perform the most comprehensive evaluation of Code LLMs to date and show that StarCoderBase outperforms every open Code LLM that supports multiple programming languages and matches or outperforms the OpenAI code-cushman-001 model. Furthermore, StarCoder outperforms every model that is fine-tuned on Python, can be prompted to achieve 40\% pass@1 on HumanEval, and still retains its performance on other programming languages. We take several important steps towards a safe open-access model release, including an improved PII redaction pipeline and a novel attribution tracing tool, and make the StarCoder models publicly available under a more commercially viable version of the Open Responsible AI Model license.

cs.CL↗

Paradigm for finding d-electron heavy fermions: the case of Cr-doped CsFe$_2$As$_2$

We define a general strategy for finding new heavy-fermionic materials without rare-earth elements: doping a Hund metal with pronounced orbital-selective correlations towards half-filling. We argue that in general band structures a possible orbital-selective Mott transition is frustrated by inter-orbital hopping into heavy-fermion behaviour - where d-orbitals provide both the heavy and the light electrons - which is enhanced when approaching half-filling. This phase ultimately disappears due to magnetic correlations, as in a standard Doniach diagram. Experimentally we have further hole doped CsFe$_2$As$_2$, a Hund metal with 0.5 electrons/Fe away from half-filling, and obtained a heavy fermionic state with the highest Sommerfeld coefficient for Fe-pnictides to date (270 mJ/mol K$^2$), before signatures of an antiferromagnetic phase set in.

cond-mat.str-el↗

GAIA: a benchmark for General AI Assistants

We introduce GAIA, a benchmark for General AI Assistants that, if solved, would represent a milestone in AI research. GAIA proposes real-world questions that require a set of fundamental abilities such as reasoning, multi-modality handling, web browsing, and generally tool-use proficiency. GAIA questions are conceptually simple for humans yet challenging for most advanced AIs: we show that human respondents obtain 92\% vs. 15\% for GPT-4 equipped with plugins. This notable performance disparity contrasts with the recent trend of LLMs outperforming humans on tasks requiring professional skills in e.g. law or chemistry. GAIA's philosophy departs from the current trend in AI benchmarks suggesting to target tasks that are ever more difficult for humans. We posit that the advent of Artificial General Intelligence (AGI) hinges on a system's capability to exhibit similar robustness as the average human does on such questions. Using GAIA's methodology, we devise 466 questions and their answer. We release our questions while retaining answers to 300 of them to power a leader-board available at https://huggingface.co/gaia-benchmark.

cs.CL↗

FinGPT: Large Generative Models for a Small Language

Large language models (LLMs) excel in many tasks in NLP and beyond, but most open models have very limited coverage of smaller languages and LLM work tends to focus on languages where nearly unlimited data is available for pretraining. In this work, we study the challenges of creating LLMs for Finnish, a language spoken by less than 0.1% of the world population. We compile an extensive dataset of Finnish combining web crawls, news, social media and eBooks. We pursue two approaches to pretrain models: 1) we train seven monolingual models from scratch (186M to 13B parameters) dubbed FinGPT, 2) we continue the pretraining of the multilingual BLOOM model on a mix of its original training data and Finnish, resulting in a 176 billion parameter model we call BLUUMI. For model evaluation, we introduce FIN-bench, a version of BIG-bench with Finnish tasks. We also assess other model qualities such as toxicity and bias. Our models and tools are openly available at https://turkunlp.org/gpt3-finnish.

cs.CL↗

Zephyr: Direct Distillation of LM Alignment

We aim to produce a smaller language model that is aligned to user intent. Previous research has shown that applying distilled supervised fine-tuning (dSFT) on larger models significantly improves task accuracy; however, these models are unaligned, i.e. they do not respond well to natural prompts. To distill this property, we experiment with the use of preference data from AI Feedback (AIF). Starting from a dataset of outputs ranked by a teacher model, we apply distilled direct preference optimization (dDPO) to learn a chat model with significantly improved intent alignment. The approach requires only a few hours of training without any additional sampling during fine-tuning. The final result, Zephyr-7B, sets the state-of-the-art on chat benchmarks for 7B parameter models, and requires no human annotation. In particular, results on MT-Bench show that Zephyr-7B surpasses Llama2-Chat-70B, the best open-access RLHF-based model. Code, models, data, and tutorials for the system are available at https://github.com/huggingface/alignment-handbook.

cs.LG↗

Investigating dissociation pathways of nitrobenzene via mega-electron-volt ultrafast electron diffraction

As the simplest nitroaromatic compound, nitrobenzene is an interesting model system to explore the rich photochemistry of nitroaromatic compounds. Previous measurements of nitrobenzene's photochemical dynamics have probed structural and electronic properties, which, at times, paint a convoluted and sometimes contradictory description of the photochemical landscape. A sub-picosecond structural probe can complement previous electronic measurements and aid in determining the photochemical dynamics with less ambiguity. We investigate the ultrafast dynamics of nitrobenzene triggered by photoexcitation at 267 nm employing megaelectronvolt ultrafast electron diffraction with femtosecond time resolution. We measure the first 5 ps of dynamics and, by comparing our measured results to simulation, we unambiguously distinguish the lowest singlet and triplet electronic states. We observe ground state recovery within 160 +/- 60 fs through internal conversions and without signal corresponding to photofragmentation. Our lack of dissociation signal within the first 5 ps indicates that previously observed photofragmenation reactions take place in the vibrationally "hot" ground state on timescales considerably beyond 5 ps.

physics.chem-ph↗

Bosonic excitation spectra of superconducting $\mathrm{Bi_2Sr_2CaCu_2O_{8+δ}}$ and $\mathrm{YBa_2Cu_3O_{6+x}}$ extracted from scanning tunneling spectra

A detailed interpretation of scanning tunneling spectra obtained on unconventional superconductors enables one to gain information on the pairing boson. Decisive for this approach are inelastic tunneling events. Due to the lack of momentum conservation in tunneling from or to the sharp tip, those are enhanced in the geometry of a scanning tunneling microscope compared to planar tunnel junctions. This work extends the method of obtaining the bosonic excitation spectrum by deconvolution from tunneling spectra to nodal $d$-wave superconductors. In particular, scanning tunneling spectra of slightly underdoped $\mathrm{Bi_2Sr_2CaCu_2O_{8+δ}}$ with a $T_c$ of $82\,\mathrm{K}$ and optimally doped $\mathrm{YBa_2Cu_3O_{6+x}}$ with a $T_c$ of $92\,\mathrm{K}$ reveal a resonance mode in their bosonic excitation spectrum at $Ω_\mathrm{res} \approx 63\,\mathrm{meV}$ and $Ω_\mathrm{res} \approx 61\,\mathrm{meV}$ respectively. In both cases, the overall shape of the bosonic excitation spectrum is indicative of predominant spin scattering with a resonant mode at $Ω_\mathrm{res}<2Δ$ and overdamped spin fluctuations for energies larger than $2Δ$. To perform the deconvolution of the experimental data, we implemented an efficient iterative algorithm that significantly enhances the reliability of our analysis.

cond-mat.supr-con↗

Ultraviolet Raman Spectroscopy for Remote Detection of Chlorine Gas

As a primary material frequently used in industry, chlorine is relatively easy to obtain and available even in large quantities. Despite its high toxicity, molecular chlorine is readily available since it is an essential educt in the chemical industry. Over the past decades, numerous accidents involving injured and dead victims have occurred. Furthermore, it was already misused as a warfare agent at the beginning of the last century with still reported attacks. Early detection, localization, and monitoring of sources and cloud movements are essential for protecting stationary facilities, mobile operations, and the public. In contrast to most chemical hazardous materials, where it is possible to detect them by vibrational spectroscopic methods (e.\,g., passive hyper-spectral absorption technologies in the infrared), halogens are inactive to infrared absorption. Raman-based technologies rely on changes in the polarizability of the molecule and provide vibrational-spectroscopic access to such diatomic molecules and therefore close the gap in infrared detection capabilities. Here we present a straightforward approach for a standoff Raman detector in a backscattering configuration. This paper uses a simplified model to discuss optimum excitation wavelengths in achievable detection ranges. We validate the model by spontaneous (vibrational) Raman spectroscopic measurements between 20 and 60~m standoff distance. We also briefly discuss detection performances and technical and physical aspects as prospects of system design.

physics.ins-det↗

BigScience: A Case Study in the Social Construction of a Multilingual Large Language Model

The BigScience Workshop was a value-driven initiative that spanned one and half years of interdisciplinary research and culminated in the creation of ROOTS, a 1.6TB multilingual dataset that was used to train BLOOM, one of the largest multilingual language models to date. In addition to the technical outcomes and artifacts, the workshop fostered multidisciplinary collaborations around large models, datasets, and their analysis. This in turn led to a wide range of research publications spanning topics from ethics to law, data governance, modeling choices and distributed training. This paper focuses on the collaborative research aspects of BigScience and takes a step back to look at the challenges of large-scale participatory research, with respect to participant diversity and the tasks required to successfully carry out such a project. Our main goal is to share the lessons we learned from this experience, what we could have done better and what we did well. We show how the impact of such a social approach to scientific research goes well beyond the technical artifacts that were the basis of its inception.

cs.CY↗

Interplay of stripe and double-Q magnetism with superconductivity in $\mathrm{Ba}_{1-x}\mathrm{K}_{x}\mathrm{Fe}_{2}\mathrm{As}_{2}$ under the influence of magnetic fields

At $x\approx0.25$ $\mathrm{Ba}_{1-x}\mathrm{K}_{x}\mathrm{Fe}_{2}\mathrm{As}_{2}$ undergoes a novel first-order transition from a four-fold symmetric double-Q magnetic phase to a two-fold symmetric single-Q phase, which was argued to occur simultaneously with the onset of superconductivity (Böhmer et al., Nat. Comm. 6, 7911 (2015)). Here, by applying magnetic fields up to 10T, we investigate in more detail the interplay of superconductivity with this magneto-structural transition using a combination of high-resolution thermal-expansion and heat-capacity measurements. We find that a magnetic field suppresses the reentrance of the single-Q orthorhombic phase more strongly than the superconducting transition, resulting in a splitting of the zero-field first-order transition. The suppression rate of the orthorhombic reentrance transition is stronger for out-of-plane than for in-plane fields and scales with the anisotropy of the superconducting state. These effects are captured within a phenomenological Ginzburg-Landau model, strongly suggesting that the suppression of the reentrant orthorhombic single-Q phase is primarily linked to the field-induced weakening of the superconducting order. Not captured by this model is however a strong reduction of the orthorhombic distortion for out-of-plane fields, which deserves further theoretical attention.

cond-mat.supr-con↗

The Stack: 3 TB of permissively licensed source code

Large Language Models (LLMs) play an ever-increasing role in the field of Artificial Intelligence (AI)--not only for natural language processing but also for code understanding and generation. To stimulate open and responsible research on LLMs for code, we introduce The Stack, a 3.1 TB dataset consisting of permissively licensed source code in 30 programming languages. We describe how we collect the full dataset, construct a permissively licensed subset, present a data governance plan, discuss limitations, and show promising results on text2code benchmarks by training 350M-parameter decoders on different Python subsets. We find that (1) near-deduplicating the data significantly boosts performance across all experiments, and (2) it is possible to match previously reported HumanEval and MBPP performance using only permissively licensed data. We make the dataset available at https://hf.co/BigCode, provide a tool called "Am I in The Stack" (https://hf.co/spaces/bigcode/in-the-stack) for developers to search The Stack for copies of their code, and provide a process for code to be removed from the dataset by following the instructions at https://www.bigcode-project.org/docs/about/the-stack/.

cs.CL↗

Symmetries and Casimirs of radial compressible fluid flow and gas dynamics in n>1 dimensions

Symmetries and Casimirs are studied for the Hamiltonian equations of radial compressible fluid flow in n>1 dimensions. An explicit determination of all Lie point symmetries is carried out, from which a complete classification of all maximal Lie symmetry algebras is obtained. The classification includes all Lie point symmetries that exist only for special equations of state. For a general equation of state, the hierarchy of advected conserved integrals found in recent work is proved to consist of Hamiltonian Casimirs. A second hierarchy that holds only for an entropic equation of state is explicitly shown to comprise non-Casimirs which yield a corresponding hierarchy of generalized symmetries through the Hamiltonian structure of the equations of radial fluid flow. The first-order symmetries are shown to generate a non-abelian Lie algebra. Two new kinematic conserved integrals found in recent work are likewise shown to yield additional first-order generalized symmetries holding for a barotropic equation of state and an entropic equation of state. These symmetries produce an explicit transformation group acting on solutions of the fluid equations. Since these equations are well known to be equivalent to the equations of gas dynamics, all of the results obtained for n-dimensional radial fluid flow carry over to radial gas dynamics.

math-ph↗