gtos icon indicating copy to clipboard operation
gtos copied to clipboard

How to build custom dataset for gtos?

Open nashid opened this issue 2 years ago • 3 comments

Thanks for the artefact. I am interested to apply this library for a machine translation task. However, in my case, I have to feed a custom dataset. Would you shed some light how can I build a custom graph to feed into the existing model?

Do you think is it possible with gtos?

nashid avatar Mar 12 '22 00:03 nashid

Hi @nashid . I think it is doable. We already provided examples on how to process dependency parses and AMR graphs. You may start from either of them and make necessary adaptations.

jcyk avatar Mar 12 '22 06:03 jcyk

@jcyk this sounds great.

It appears to me you are building the graph object here:

So if I build my custom graph here, that's a good starting point, right?

nashid avatar Mar 13 '22 02:03 nashid

Yes. I think so.

jcyk avatar Mar 13 '22 06:03 jcyk