Spaces:
Sleeping
Sleeping
Update lib/i18n.py
Browse files- lib/i18n.py +22 -22
lib/i18n.py
CHANGED
|
@@ -18,8 +18,8 @@ from typing import Literal
|
|
| 18 |
I18N_DICT = {
|
| 19 |
"header": {
|
| 20 |
"welcome": {
|
| 21 |
-
"en": "**NOTE:** Welcome to
|
| 22 |
-
"ja": "**NOTE:**
|
| 23 |
},
|
| 24 |
"training_data": {
|
| 25 |
"en": "Training Data",
|
|
@@ -78,12 +78,12 @@ I18N_DICT = {
|
|
| 78 |
},
|
| 79 |
"welcome": {
|
| 80 |
"description": {
|
| 81 |
-
"en": "**NOTE:**
|
| 82 |
that meets the requirements of a machine learning task for the uploaded CSV-formatted tabular data file. \
|
| 83 |
The generated Python code includes code for data preprocessing, training and testing the model, \
|
| 84 |
and exploratory data analysis (EDA). The code can be downloaded as Python source code files (.py) \
|
| 85 |
and Jupyter notebooks (.ipynb). Please note that the code performing EDA is only included in the notebook.",
|
| 86 |
-
"ja": "**NOTE:**
|
| 87 |
機械学習モデルを構築するためのPythonコードを生成します。生成されたPythonコードには、データの前処理、モデル構築、\
|
| 88 |
および探索的データ解析(EDA)のコードが含まれています。コードは、Python(.py)形式とJupyter Notebook(.ipynb)形式の\
|
| 89 |
両方でダウンロードできます。ただし、EDA部分のコードはノートブックにのみ含まれていることに注意してください。",
|
|
@@ -202,11 +202,11 @@ I18N_DICT = {
|
|
| 202 |
},
|
| 203 |
"timeout": {"en": "Timeout (seconds)", "ja": "タイムアウト (秒)"},
|
| 204 |
"timeout_desc": {
|
| 205 |
-
"en": "
|
| 206 |
based on the features of table data and executes training and evaluation with a small amount of data. \
|
| 207 |
Then, based on the adaptation metrics, it generates the final code for the machine learning model \
|
| 208 |
with the best score. Here, a timeout is set for each code execution.",
|
| 209 |
-
"ja": "
|
| 210 |
少量のデータで学習と評価を行います。評価指標に基づき最も優れたスコアの機械学習モデルに対して、\
|
| 211 |
最終的なコードを生成します。ここでは各コードの1回の実行に対するタイムアウトを指定してします。",
|
| 212 |
},
|
|
@@ -232,9 +232,9 @@ I18N_DICT = {
|
|
| 232 |
"ja": "データ分割時の学習データの割合",
|
| 233 |
},
|
| 234 |
"split_train_size_desc": {
|
| 235 |
-
"en": "
|
| 236 |
the ratio of training data is set.",
|
| 237 |
-
"ja": "
|
| 238 |
ここでは学習データの割合を指定します。",
|
| 239 |
},
|
| 240 |
"hyperparameterTuning": {
|
|
@@ -347,10 +347,10 @@ I18N_DICT = {
|
|
| 347 |
"ja": "生成コードをダウンロードする",
|
| 348 |
},
|
| 349 |
"description": {
|
| 350 |
-
"en": "Here you can see the preprocessing and its order that
|
| 351 |
and the scores for the three machine learning models that it validated. \
|
| 352 |
You can also download the generated code.",
|
| 353 |
-
"ja": "ここでは
|
| 354 |
また生成された各種コードをダウンロードするこ��ができます。",
|
| 355 |
},
|
| 356 |
"tutorial": {
|
|
@@ -382,9 +382,9 @@ I18N_DICT = {
|
|
| 382 |
"ja": "ここではモデルに対する特徴量の重要度を見ることができます。",
|
| 383 |
},
|
| 384 |
"description_word": {
|
| 385 |
-
"en": "
|
| 386 |
All numbers in the text are converted to 'num'.",
|
| 387 |
-
"ja": "
|
| 388 |
テキスト内のすべての数値は'num'に変換しています。",
|
| 389 |
},
|
| 390 |
},
|
|
@@ -514,13 +514,13 @@ I18N_DICT = {
|
|
| 514 |
},
|
| 515 |
"inquiries": {
|
| 516 |
"description": {
|
| 517 |
-
"en": "We will continue to improve and add features to
|
| 518 |
-
so please look forward to the future of
|
| 519 |
-
"ja": "私たちは今後も継続して
|
| 520 |
},
|
| 521 |
"copyright": {
|
| 522 |
-
"en": "© 2023, The
|
| 523 |
-
"ja": "© 2023, The
|
| 524 |
},
|
| 525 |
"tutorial": {
|
| 526 |
"en": "**NOTE:** The tutorial is now complete. How was it? \
|
|
@@ -573,12 +573,12 @@ I18N_DICT = {
|
|
| 573 |
},
|
| 574 |
"error": {
|
| 575 |
"header": {
|
| 576 |
-
"en": "
|
| 577 |
-
"ja": "
|
| 578 |
},
|
| 579 |
"status": {
|
| 580 |
-
"en": "
|
| 581 |
-
"ja": "
|
| 582 |
},
|
| 583 |
"logs": {
|
| 584 |
"en": "Execution Logs",
|
|
@@ -631,7 +631,7 @@ def get_dict_tabular(sampledata=None):
|
|
| 631 |
"sample_data": {
|
| 632 |
"sample_select": {
|
| 633 |
"en": "**NOTE:** Please select a sample dataset from the dropdown menu.",
|
| 634 |
-
"ja": "**NOTE:** チュートリアルでは選択したサンプルデータで
|
| 635 |
},
|
| 636 |
"stb_label": {
|
| 637 |
"en": "Please select the dataset to use.",
|
|
|
|
| 18 |
I18N_DICT = {
|
| 19 |
"header": {
|
| 20 |
"welcome": {
|
| 21 |
+
"en": "**NOTE:** Welcome to CogenticML. This is the tutorial.",
|
| 22 |
+
"ja": "**NOTE:** CogenticMLにようこそ。これはチュートリアルです。",
|
| 23 |
},
|
| 24 |
"training_data": {
|
| 25 |
"en": "Training Data",
|
|
|
|
| 78 |
},
|
| 79 |
"welcome": {
|
| 80 |
"description": {
|
| 81 |
+
"en": "**NOTE:** CogenticML generates Python code that builds a machine learning model \
|
| 82 |
that meets the requirements of a machine learning task for the uploaded CSV-formatted tabular data file. \
|
| 83 |
The generated Python code includes code for data preprocessing, training and testing the model, \
|
| 84 |
and exploratory data analysis (EDA). The code can be downloaded as Python source code files (.py) \
|
| 85 |
and Jupyter notebooks (.ipynb). Please note that the code performing EDA is only included in the notebook.",
|
| 86 |
+
"ja": "**NOTE:** CogenticMLは、アップロードされたCSV形式の表データに対して、機械学習タスクの要件を満たす\
|
| 87 |
機械学習モデルを構築するためのPythonコードを生成します。生成されたPythonコードには、データの前処理、モデル構築、\
|
| 88 |
および探索的データ解析(EDA)のコードが含まれています。コードは、Python(.py)形式とJupyter Notebook(.ipynb)形式の\
|
| 89 |
両方でダウンロードできます。ただし、EDA部分のコードはノートブックにのみ含まれていることに注意してください。",
|
|
|
|
| 202 |
},
|
| 203 |
"timeout": {"en": "Timeout (seconds)", "ja": "タイムアウト (秒)"},
|
| 204 |
"timeout_desc": {
|
| 205 |
+
"en": "CogenticML generates Python code for each of the three candidate machine learning models \
|
| 206 |
based on the features of table data and executes training and evaluation with a small amount of data. \
|
| 207 |
Then, based on the adaptation metrics, it generates the final code for the machine learning model \
|
| 208 |
with the best score. Here, a timeout is set for each code execution.",
|
| 209 |
+
"ja": "CogenticMLは、候補となる3つの機械学習モデルのそれぞれに対して、Pythonコードを作成して\
|
| 210 |
少量のデータで学習と評価を行います。評価指標に基づき最も優れたスコアの機械学習モデルに対して、\
|
| 211 |
最終的なコードを生成します。ここでは各コードの1回の実行に対するタイムアウトを指定してします。",
|
| 212 |
},
|
|
|
|
| 232 |
"ja": "データ分割時の学習データの割合",
|
| 233 |
},
|
| 234 |
"split_train_size_desc": {
|
| 235 |
+
"en": "CogenticML internally divides table data into training data and test data. Here, \
|
| 236 |
the ratio of training data is set.",
|
| 237 |
+
"ja": "CogenticMLは表データを内部で学習データとテストデータに分割します。\
|
| 238 |
ここでは学習データの割合を指定します。",
|
| 239 |
},
|
| 240 |
"hyperparameterTuning": {
|
|
|
|
| 347 |
"ja": "生成コードをダウンロードする",
|
| 348 |
},
|
| 349 |
"description": {
|
| 350 |
+
"en": "Here you can see the preprocessing and its order that CogenticML selected, \
|
| 351 |
and the scores for the three machine learning models that it validated. \
|
| 352 |
You can also download the generated code.",
|
| 353 |
+
"ja": "ここではCogenticMLが選択した前処理とその順序、検証した3つの機械学習モデルのスコアを確認できます。\
|
| 354 |
また生成された各種コードをダウンロードするこ��ができます。",
|
| 355 |
},
|
| 356 |
"tutorial": {
|
|
|
|
| 382 |
"ja": "ここではモデルに対する特徴量の重要度を見ることができます。",
|
| 383 |
},
|
| 384 |
"description_word": {
|
| 385 |
+
"en": "CogenticML converts text to words and graphs them word by word. \
|
| 386 |
All numbers in the text are converted to 'num'.",
|
| 387 |
+
"ja": "CogenticMLではテキストカラムは、テキストを単語に変換し、単語ごとにグラフ化しています。\
|
| 388 |
テキスト内のすべての数値は'num'に変換しています。",
|
| 389 |
},
|
| 390 |
},
|
|
|
|
| 514 |
},
|
| 515 |
"inquiries": {
|
| 516 |
"description": {
|
| 517 |
+
"en": "We will continue to improve and add features to CogenticML, \
|
| 518 |
+
so please look forward to the future of CogenticML.",
|
| 519 |
+
"ja": "私たちは今後も継続してCogenticMLの性能改善・機能追加をしていきますので、CogenticMLの今後にご期待ください。",
|
| 520 |
},
|
| 521 |
"copyright": {
|
| 522 |
+
"en": "© 2023, The CogenticML Authors. All rights reserved.",
|
| 523 |
+
"ja": "© 2023, The CogenticML Authors. All rights reserved.",
|
| 524 |
},
|
| 525 |
"tutorial": {
|
| 526 |
"en": "**NOTE:** The tutorial is now complete. How was it? \
|
|
|
|
| 573 |
},
|
| 574 |
"error": {
|
| 575 |
"header": {
|
| 576 |
+
"en": "CogenticML didn't complete successfully.",
|
| 577 |
+
"ja": "CogenticMLは正常に終了しませんでした。",
|
| 578 |
},
|
| 579 |
"status": {
|
| 580 |
+
"en": "CogenticML Status",
|
| 581 |
+
"ja": "CogenticML Status",
|
| 582 |
},
|
| 583 |
"logs": {
|
| 584 |
"en": "Execution Logs",
|
|
|
|
| 631 |
"sample_data": {
|
| 632 |
"sample_select": {
|
| 633 |
"en": "**NOTE:** Please select a sample dataset from the dropdown menu.",
|
| 634 |
+
"ja": "**NOTE:** チュートリアルでは選択したサンプルデータでCogenticMLを実行することができます。",
|
| 635 |
},
|
| 636 |
"stb_label": {
|
| 637 |
"en": "Please select the dataset to use.",
|