<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Johana Mayerova on Medium]]></title>
        <description><![CDATA[Stories by Johana Mayerova on Medium]]></description>
        <link>https://medium.com/@johana.mayerova?source=rss-93eea29b47c1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*NV85jrLR90PuiCsp</url>
            <title>Stories by Johana Mayerova on Medium</title>
            <link>https://medium.com/@johana.mayerova?source=rss-93eea29b47c1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:24:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@johana.mayerova/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[DaCy v2.9.0: Efficient models and simpler dependencies]]></title>
            <link>https://medium.com/@johana.mayerova/dacy-v2-9-0-efficient-models-and-simpler-dependencies-e619241018cb?source=rss-93eea29b47c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e619241018cb</guid>
            <category><![CDATA[nlp-training]]></category>
            <category><![CDATA[danish]]></category>
            <category><![CDATA[named-entity-recognition]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Johana Mayerova]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 09:37:34 GMT</pubDate>
            <atom:updated>2026-10-12T15:28:41.903Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By </em><a href="https://medium.com/@mikkelks"><em>Mikkel Krøjer Svendsen</em></a><em>, Johana Mayerova, </em><a href="https://medium.com/@kenevoldsen"><em>Kenneth Enevoldsen</em></a></p><figure><img alt="POS, morph, dep, and NER metrics by model size" src="https://cdn-images-1.medium.com/max/1024/1*B1Bu6inmYI5tKWs3Czl_lg.png" /></figure><p>We are excited to announce the release of our new DaCy models, which both updates existing models and introduces two new models, tiny and edge, targeting efficient inference on CPU.</p><h3>What is DaCy?</h3><p>DaCy is a publicly accessible Danish natural language processing framework, developed by researchers at the Center for Humanities Computing (<a href="https://chc.au.dk/">CHC</a>). The aim of the project is to provide NLP tools that researchers across disciplines can pick up and use, without needing to be NLP specialists.</p><h3><strong>Why update DaCy in an age of large language models?</strong></h3><p>Wouldn’t it be easier to just prompt an LLM and call it a day? Well, maybe. But you’d be missing out on performance while suddenly paying a premium in compute, time and/or tokens. Here’s a few reasons why DaCy is still worth your time:</p><p>DaCy is built specifically for Danish language processing. That means it’s both more accurate and more reliable than a general-purpose LLM designed to do a little bit of everything in every language. DaCy also comes with well-documented performance metrics, so you can see exactly which model fits your needs before you commit to one. Just as importantly, these metrics allow you to clearly document how you arrived at your research analysis. And since DaCy is built on spaCy, it fits seamlessly into spaCy’s ecosystem. If you know spaCy, you already know DaCy.</p><p>On top of that, DaCy is built with personal and local use in mind. It’s lightweight and self-contained, so that you can build your own NLP projects directly on top of it. You can even run DaCy locally without shipping data off to someone else’s server. And if your project ever outgrows that, DaCy scales up with ease.</p><p>And then there’s the data behind it all. DaCy is built on open, purpose-built data. We didn’t scrape the internet, and we didn’t snatch anyone’s work without permission. The data is sourced ethically with the explicit goal of training NLP models.</p><p>Finally, DaCy is free. Yes, really.</p><h3>Data curation</h3><p>To create models that can perform all of these tasks in a single forward pass requires a dataset which contains all of the relevant annotations in a single dataset. Luckily for Danish we have the Danish Dependency Treebank (<a href="https://github.com/UniversalDependencies/UD_Danish-DDT">DDT</a>) contains part-of-speech, dependency and morphology tags, the annotations. DDT has also been annotated for entities by the Alexandra institute in the <a href="https://huggingface.co/datasets/alexandrainst/dane">DaNE</a> dataset. DDT is derived from Copenhagen Dependency Treebank (<a href="https://github.com/mbkromann/copenhagen-dependency-treebank">CDT</a>) to make it consistent tags used in the universal dependencies project (<a href="https://universaldependencies.org/">UD</a>), however this process sadly split it up into singular sentences making it hard to the models to utilize information across sentence boundaries, though they do not have an exact overlap, we can merge the documents that do overlap and as shown below this notably improves downstream performance.<br> Including CDT also comes with two additional (future) benefits namely that it allow us to also include the annotations for DaNED for linking entities to known entities and <a href="https://huggingface.co/datasets/alexandrainst/dacoref">DaCoref</a>, for resolving coreferences (who does “she” refer to?).</p><p>As seen below combining documents notably improve the quality yielding better dependency parsing and named entity resolution. We share this dataset publicly for everyone to use <a href="https://github.com/alexandrainst/danlp/blob/master/docs/docs/datasets.md#daned">here</a>.</p><figure><img alt="Performance of the small transformer model (transformer = jonfd/electra-small-nordic) on the intersection of CDT and DDT treebanks, the intersection with the addition of DDT data outside the intersection and the DDT treebank" src="https://cdn-images-1.medium.com/max/1024/1*X1H7JwOfRKiFgZ4329NmGg.png" /><figcaption>Performance of the small transformer model (transformer = jonfd/electra-small-nordic) on the intersection of CDT and DDT treebanks, the intersection with the addition of DDT data outside the intersection and the DDT treebank</figcaption></figure><h3>Simpler installation with fewer dependencies</h3><p>Previous versions of DaCy have been a bit of a challenge to install. This is in large part due to both changes in pip and the requirement of spacy-experimental package, which, among other things, requires Python 3.11 or lower and an older version of spaCy. This new update makes it easier to use DaCy, but still allows you to use the older pipelines through optional dependencies. These new pipelines remove a lot of the experimental features such as entity linking and coreference resolution of earlier pipelines to make them more stable, but we hope to add them back once we can ensure better long-term support that doesn’t require problematic dependencies.</p><h3>Performance</h3><figure><img alt="Performance of the DaCy models" src="https://cdn-images-1.medium.com/max/1024/1*uJRBq6NbIjumAjSm6gIPXw.png" /></figure><figure><img alt="Pareto Frontier plot, harmonic mean of metrics versus speed" src="https://cdn-images-1.medium.com/max/1024/1*39iClV5SSF8oPymt9fAQnQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e619241018cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>