Skip to content

shivalika-singh/mmlu_translations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mmlu_translations

Based on this repo.

Initial Setup

  • Login with your account: gcloud auth application-default login
  • gcloud config set project <GCP_PROJECT_ID>
  • gcloud auth application-default set-quota-project <GCP_PROJECT_ID>
  • gcloud services enable translate.googleapis.com
  • export PROJECT_ID=$(gcloud config get-value core/project)
  • pip install -r requirements.txt

Start Translations:

After doing above setup, run "mmlu_translate.py" to start translations

Things you may wanna modify before running the translation script:

  • CLOUD_TRANSLATE_LANG_CODES (line 19)
  • translate_keys (line 115)
  • params for translate_dataset_from_huggingface_hub() called in main()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages