# Training command for Dependencies and Relations

**URL:** <https://support.prodi.gy/t/training-command-for-dependencies-and-relations/5371>\
**Category:** Uncategorized\
**Tags:** usage, solved, dep, relations\
**Created:** [February 20, 2022, 10:06pm UTC](https://support.prodi.gy/t/training-command-for-dependencies-and-relations/5371 "2022-02-20T22:06:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [February 21, 2022, 12:51pm UTC](https://support.prodi.gy/t/training-command-for-dependencies-and-relations/5371/2 "2022-02-21T12:51:16Z")

</div>

Hi! The problem here is that you're trying to train a syntactic dependency parser on data collected on entity relationships. These are fundamentally two very different tasks so it's not surprising you're seeing a 0 accuracy score here. The dependency parser just isn't the right fit for this task.

spaCy doesn't currently have a generic built-in relation prediction component because the type of model you want for this can often differ significantly between use cases. But this tutorial of implementing an entity relation component might be a good place to start:

> **[projects/tutorials/rel\_component at v3 · explosion/projects](https://github.com/explosion/projects/tree/v3/tutorials/rel_component)**
>
> v3/tutorials/rel\_component

[![](https://img.youtube.com/vi/8HL-Ap5_Axo/hqdefault.jpg "SPACY v3: Custom trainable relation extraction component") ](https://www.youtube.com/watch?v=8HL-Ap5_Axo)

---

_[View the full topic](https://support.prodi.gy/t/training-command-for-dependencies-and-relations/5371)._
