Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

How to train a model for another language? #5

Description

@maxbaluev
No description provided.

Activity

  1. yuanzh commented on Nov 4, 2019

    @yuanzh
    Contributor

    Can you please explain which language you want to train a model for? The one in PAWS-X or not?

  2. maxbaluev commented on Nov 4, 2019

    @maxbaluev
    Author

    @yuanzh No, I need Russian.

  3. yuanzh commented on Nov 5, 2019

    @yuanzh
    Contributor

    You may follow the methods in the PAWS-X paper, i.e. machine translate training sentences to Russian, and then finetune a multilingual BERT on all languages.

  4. toan-lt commented on Feb 18, 2023

    @toan-lt

    Hi @yuanzh, thanks for your suggestion. But let me clarify your guide so that anyone who wants to train a model for another languages could achieve it easily.

    Problem: I want to add a new language (does not exist in your PAWS-X dataset) i.e. Vietnamese. The purpose is that I want to check paraphrasing on Vietnamese-English.

    Approach:

    • Translate all English sentences pairs from PAWS-Wiki Labeled (Final) to Vietnamese sentences pairs.
    • Use BERT model to train the dataset (BERT model maybe brings the best accuracy) and merged method.

    That's it? May I miss something? Please let me if I'm missing important things. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions