Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessing for Spanish? #15

Closed
luciaelizabeth opened this issue May 10, 2022 · 2 comments
Closed

Preprocessing for Spanish? #15

luciaelizabeth opened this issue May 10, 2022 · 2 comments

Comments

@luciaelizabeth
Copy link

Hi, I am trying to fine-tune SPRING on a small set of annotated Spanish AMRs to see how its cross-lingual parsing performance is. It seems the pre-processing is not working for Spanish (understandably), but we can't find anywhere in the code that calls for e.g. spaCy for English preprocessing that we could replace with something for Spanish. Can you help guide us to where this might be, or offer general clarification? Thanks!

@mbevila
Copy link
Collaborator

mbevila commented May 10, 2022

Hi!

We don't use spaCy.

Unfortunately we don't support anything but English. The checkpoints are trained exclusively on English. To add the support for other languages, you would need to use mBART or mT5 instead of BART, then train on Spanish.

If you still do want to try Spanish even with the English model, well, the model takes as input strings. You could try, I suppose, to parse them into english AMR graphs.

@mbevila mbevila added help wanted Extra attention is needed and removed help wanted Extra attention is needed labels May 10, 2022
@mbevila
Copy link
Collaborator

mbevila commented May 21, 2022

Closing this

@mbevila mbevila closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants