Alex Cabrera commited on
Commit
382191a
1 Parent(s): 6e71111
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. Dockerfile +22 -0
  3. README.md +2 -2
  4. config.py +134 -0
  5. gpt-MT/CODE_OF_CONDUCT.md +9 -0
  6. gpt-MT/LICENSE +21 -0
  7. gpt-MT/README.md +170 -0
  8. gpt-MT/SECURITY.md +41 -0
  9. gpt-MT/SUPPORT.md +25 -0
  10. gpt-MT/assets/MT-GPT.png +0 -0
  11. gpt-MT/data-shots/DF/5-shot/shots.de-en.json +3 -0
  12. gpt-MT/data-shots/DF/5-shot/shots.en-de.json +3 -0
  13. gpt-MT/data-shots/DR/5-shot/shots.de-en.json +3 -0
  14. gpt-MT/data-shots/DR/5-shot/shots.en-de.json +3 -0
  15. gpt-MT/data-shots/QR/1-shot/shots.cs-en.json +3 -0
  16. gpt-MT/data-shots/QR/1-shot/shots.de-en.json +3 -0
  17. gpt-MT/data-shots/QR/1-shot/shots.de-fr.json +3 -0
  18. gpt-MT/data-shots/QR/1-shot/shots.en-cs.json +3 -0
  19. gpt-MT/data-shots/QR/1-shot/shots.en-de.json +3 -0
  20. gpt-MT/data-shots/QR/1-shot/shots.en-ha.json +3 -0
  21. gpt-MT/data-shots/QR/1-shot/shots.en-is.json +3 -0
  22. gpt-MT/data-shots/QR/1-shot/shots.en-ja.json +3 -0
  23. gpt-MT/data-shots/QR/1-shot/shots.en-ru.json +3 -0
  24. gpt-MT/data-shots/QR/1-shot/shots.en-uk.json +3 -0
  25. gpt-MT/data-shots/QR/1-shot/shots.en-zh.json +3 -0
  26. gpt-MT/data-shots/QR/1-shot/shots.fr-de.json +3 -0
  27. gpt-MT/data-shots/QR/1-shot/shots.ha-en.json +3 -0
  28. gpt-MT/data-shots/QR/1-shot/shots.is-en.json +3 -0
  29. gpt-MT/data-shots/QR/1-shot/shots.ja-en.json +3 -0
  30. gpt-MT/data-shots/QR/1-shot/shots.ru-en.json +3 -0
  31. gpt-MT/data-shots/QR/1-shot/shots.uk-en.json +3 -0
  32. gpt-MT/data-shots/QR/1-shot/shots.zh-en.json +3 -0
  33. gpt-MT/data-shots/QR/5-shot/shots.cs-en.json +3 -0
  34. gpt-MT/data-shots/QR/5-shot/shots.de-en.json +3 -0
  35. gpt-MT/data-shots/QR/5-shot/shots.de-fr.json +3 -0
  36. gpt-MT/data-shots/QR/5-shot/shots.en-cs.json +3 -0
  37. gpt-MT/data-shots/QR/5-shot/shots.en-de.json +3 -0
  38. gpt-MT/data-shots/QR/5-shot/shots.en-ha.json +3 -0
  39. gpt-MT/data-shots/QR/5-shot/shots.en-is.json +3 -0
  40. gpt-MT/data-shots/QR/5-shot/shots.en-ja.json +3 -0
  41. gpt-MT/data-shots/QR/5-shot/shots.en-ru.json +3 -0
  42. gpt-MT/data-shots/QR/5-shot/shots.en-uk.json +3 -0
  43. gpt-MT/data-shots/QR/5-shot/shots.en-zh.json +3 -0
  44. gpt-MT/data-shots/QR/5-shot/shots.fr-de.json +3 -0
  45. gpt-MT/data-shots/QR/5-shot/shots.ha-en.json +3 -0
  46. gpt-MT/data-shots/QR/5-shot/shots.is-en.json +3 -0
  47. gpt-MT/data-shots/QR/5-shot/shots.ja-en.json +3 -0
  48. gpt-MT/data-shots/QR/5-shot/shots.ru-en.json +3 -0
  49. gpt-MT/data-shots/QR/5-shot/shots.uk-en.json +3 -0
  50. gpt-MT/data-shots/QR/5-shot/shots.zh-en.json +3 -0
.gitattributes CHANGED
@@ -1,3 +1,4 @@
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
 
1
+ *.json filter=lfs diff=lfs merge=lfs -text
2
  *.7z filter=lfs diff=lfs merge=lfs -text
3
  *.arrow filter=lfs diff=lfs merge=lfs -text
4
  *.bin filter=lfs diff=lfs merge=lfs -text
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
+ # you will also find guides on how best to write your Dockerfile
3
+
4
+ FROM python:3.9
5
+
6
+ RUN useradd -m -u 1000 user
7
+ USER user
8
+ # Set home to the user's home directory
9
+ ENV HOME=/home/user \
10
+ PATH=/home/user/.local/bin:$PATH
11
+ WORKDIR $HOME/app
12
+ # Copy the current directory contents into the container at $HOME/app setting the owner to the user
13
+ COPY --chown=user . $HOME/app
14
+ ADD --chown=user ./.zeno_cache $HOME/app/.zeno_cache
15
+ RUN chown user:user -R $HOME/app
16
+
17
+ COPY ./requirements.txt /code/requirements.txt
18
+
19
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
20
+
21
+
22
+ CMD ["python", "main.py", "--input-dir", "gpt-MT", "--results-dir", "results"]
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Translation Report
3
- emoji: 🦀
4
  colorFrom: red
5
  colorTo: blue
6
  sdk: docker
 
1
  ---
2
+ title: Zeno Translation Report
3
+ emoji: 💠
4
  colorFrom: red
5
  colorTo: blue
6
  sdk: docker
config.py ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Config for analyzing GPT-MT."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from dataclasses import dataclass
6
+
7
+ from zeno_build.evaluation.text_features.capitalization import input_capital_char_ratio
8
+ from zeno_build.evaluation.text_features.exact_match import avg_exact_match, exact_match
9
+ from zeno_build.evaluation.text_features.frequency import output_max_word_freq
10
+ from zeno_build.evaluation.text_features.length import (
11
+ doc_context_length,
12
+ input_length,
13
+ label_length,
14
+ output_length,
15
+ )
16
+ from zeno_build.evaluation.text_metrics.critique import (
17
+ avg_bert_score,
18
+ avg_chrf,
19
+ avg_comet,
20
+ avg_length_ratio,
21
+ bert_score,
22
+ chrf,
23
+ comet,
24
+ length_ratio,
25
+ )
26
+ from zeno_build.experiments import search_space
27
+
28
+ lang_pairs: dict[str, list[str]] = {
29
+ # All language pairs used in any experiment
30
+ "all_lang_pairs": [
31
+ "csen",
32
+ "deen",
33
+ "defr",
34
+ "encs",
35
+ "ende",
36
+ "enha",
37
+ "enis",
38
+ "enja",
39
+ "enru",
40
+ "enuk",
41
+ "enzh",
42
+ "frde",
43
+ "haen",
44
+ "isen",
45
+ "jaen",
46
+ "ruen",
47
+ "uken",
48
+ "zhen",
49
+ ],
50
+ # Language pairs used in the experiments on a limited number of language pairs
51
+ "limited_lang_pairs": [
52
+ "deen",
53
+ "defr",
54
+ "ende",
55
+ "enru",
56
+ "enzh",
57
+ "frde",
58
+ "ruen",
59
+ "zhen",
60
+ ],
61
+ }
62
+
63
+ # The search space for the main experiments
64
+ main_space = search_space.CombinatorialSearchSpace(
65
+ {
66
+ "lang_pairs": search_space.Constant("all_lang_pairs"),
67
+ "model_preset": search_space.Categorical(
68
+ [
69
+ "text-davinci-003-RR-1-shot",
70
+ "text-davinci-003-RR-5-shot",
71
+ "text-davinci-003-QR-1-shot",
72
+ "text-davinci-003-QR-5-shot",
73
+ "text-davinci-003-zeroshot",
74
+ "wmt-best",
75
+ "MS-Translator",
76
+ ]
77
+ ),
78
+ }
79
+ )
80
+
81
+
82
+ @dataclass(frozen=True)
83
+ class GptMtConfig:
84
+ """Config for gpt-MT models."""
85
+
86
+ path: str
87
+ base_model: str
88
+ prompt_strategy: str | None = None
89
+ prompt_shots: int | None = None
90
+
91
+
92
+ # The details of each model
93
+ model_configs = {
94
+ "text-davinci-003-RR-1-shot": GptMtConfig(
95
+ "text-davinci-003/RR/1-shot", "text-davinci-003", "RR", 1
96
+ ),
97
+ "text-davinci-003-RR-5-shot": GptMtConfig(
98
+ "text-davinci-003/RR/5-shot", "text-davinci-003", "RR", 5
99
+ ),
100
+ "text-davinci-003-QR-1-shot": GptMtConfig(
101
+ "text-davinci-003/QR/1-shot", "text-davinci-003", "QR", 1
102
+ ),
103
+ "text-davinci-003-QR-5-shot": GptMtConfig(
104
+ "text-davinci-003/QR/5-shot", "text-davinci-003", "QR", 5
105
+ ),
106
+ "text-davinci-003-zeroshot": GptMtConfig(
107
+ "text-davinci-003/zeroshot", "text-davinci-003", None, 0
108
+ ),
109
+ "wmt-best": GptMtConfig("wmt-best", "wmt-best"),
110
+ "MS-Translator": GptMtConfig("MS-Translator", "MS-Translator"),
111
+ }
112
+
113
+ sweep_distill_functions = [chrf]
114
+ sweep_metric_function = avg_chrf
115
+
116
+ # The functions used for Zeno visualization
117
+ zeno_distill_and_metric_functions = [
118
+ output_length,
119
+ input_length,
120
+ label_length,
121
+ doc_context_length,
122
+ input_capital_char_ratio,
123
+ output_max_word_freq,
124
+ chrf,
125
+ comet,
126
+ length_ratio,
127
+ bert_score,
128
+ exact_match,
129
+ avg_chrf,
130
+ avg_comet,
131
+ avg_length_ratio,
132
+ avg_bert_score,
133
+ avg_exact_match,
134
+ ]
gpt-MT/CODE_OF_CONDUCT.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Microsoft Open Source Code of Conduct
2
+
3
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4
+
5
+ Resources:
6
+
7
+ - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8
+ - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9
+ - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
gpt-MT/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
gpt-MT/README.md ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p align="center">
2
+ <img width="600" height="150" src="assets/MT-GPT.png">
3
+ </p>
4
+ <hr />
5
+
6
+ ## How Good Are GPT Models at Machine Translation?
7
+ ## A Comprehensive Evaluation
8
+
9
+ Paper: https://arxiv.org/abs/2302.09210
10
+
11
+ ## Introduction
12
+ In this work, we present a comprehensive evaluation of GPT models for machine translation, covering various aspects such as quality of different GPT models in comparison with state-of-the-art research and commercial systems, effect of prompting strategies, robustness towards domain shifts and document-level translation, all accompanied with an extensive analysis of the differential aspects of translations produced by GPT. We experiment with 18 different translation directions involving high and low resource languages, as well as non English-centric translations, and evaluate the performance of three GPT models: ChatGPT, GPT3.5 (text-davinci-003), and text-davinci-002. We also show that hybrid approaches, which combine GPT models with other translation systems, can further enhance the translation quality.
13
+
14
+ ## Quick Installation
15
+ ```bash
16
+ $ git clone https://github.com/microsoft/gpt-MT.git
17
+ $ cd tools
18
+ $ conda create -n gpt-mt-eval python=3.10
19
+ $ conda activate gpt-mt-eval
20
+ $ pip install --upgrade pip
21
+ $ pip install -r requirements.txt
22
+ $ git clone https://github.com/Unbabel/COMET.git
23
+ $ cd COMET
24
+ $ git checkout fc2f2b3
25
+ $ poetry install
26
+ ```
27
+
28
+ ## Data Shots and System Outputs
29
+ We have released all selected shots in our experiments including the sentence-level shots (RR, QR and QS) and the document-level shots (DR and DF). These shots have been organized under [data-shots](./data-shots/).
30
+
31
+ Moreover, To make reproducing all results an easy task, all system outputs have been released under [system-output](./evaluation/system-outputs/) in addition the WMT official test sets along with document-separated and domain-separated files.
32
+
33
+ ## Prompt Template Examples
34
+ - zero-shot
35
+ >Translate this into 1. [target language]:
36
+ >
37
+ >[input]
38
+ >
39
+ >1.
40
+
41
+ - 1-shot
42
+ >Translate this into 1. [target language]:
43
+ >
44
+ >[shot 1 source input]
45
+ >
46
+ >1. [shot 1 reference]
47
+ >
48
+ >Translate this into 1. [target language]:
49
+ >
50
+ >[input]
51
+ >
52
+ >1.
53
+
54
+ - 5-shot
55
+ >Translate this into 1. [target language]:
56
+ >
57
+ >[shot 1 source input]
58
+ >
59
+ >1. [shot 1 reference]
60
+ >
61
+ >Translate this into 1. [target language]:
62
+ >
63
+ >[shot 2 source input]
64
+ >
65
+ >1. [shot 2 reference]
66
+ >
67
+ >....
68
+ >
69
+ >Translate this into 1. [target language]:
70
+ >
71
+ >[shot 5 source input]
72
+ >
73
+ >1. [shot 5 reference]
74
+ >
75
+ >Translate this into 1. [target language]:
76
+ >
77
+ >[input]
78
+ >
79
+ >1.
80
+
81
+
82
+ ## Reproducing Results
83
+ To reproduce the reported results in the paper, you need to run the evaluation script [evaluate.py](./tools/evaluate.py).
84
+ ### CLI Usage:
85
+ ```bash
86
+ $ python evaluate.py -h
87
+ usage: evaluate.py [-h] --testset TESTSET [--docids DOCIDS] --hypotheses HYPOTHESES [HYPOTHESES ...] --directions DIRECTIONS [DIRECTIONS ...]
88
+ [--comet-models COMET_MODELS [COMET_MODELS ...]] [--gpus GPUS] --metrics METRICS [METRICS ...] [--save-name SAVE_NAME]
89
+ [--sliding-window SLIDING_WINDOW] [--context-length CONTEXT_LENGTH]
90
+
91
+ options:
92
+ -h, --help show this help message and exit
93
+ --testset TESTSET A path to the test set directory containing references and sources for each language pair. Must contain
94
+ {src_lang}{tgt_lang}/test.{src_lang}-{tgt_lang}.{tgt_lang} and {src_lang}{tgt_lang}/test.{src_lang}-{tgt_lang}.{src_lang}
95
+ --docids DOCIDS A path to the directory containing doc-ids corresponding to testset for each language pair. Must contain
96
+ {src_lang}{tgt_lang}/test.{src_lang}-{tgt_lang}.docids
97
+ --hypotheses HYPOTHESES [HYPOTHESES ...]
98
+ A path to the model output files. must contain {src_lang}{tgt_lang}/test.{src_lang}-{tgt_lang}.{tgt_lang}
99
+ --directions DIRECTIONS [DIRECTIONS ...]
100
+ Language directions to evaluate on e.g. "en-de de-en"
101
+ --comet-models COMET_MODELS [COMET_MODELS ...]
102
+ A list of COMET models to use for evaluation
103
+ --gpus GPUS Number of GPUs to use with COMET
104
+ --metrics METRICS [METRICS ...]
105
+ A list of metrics to use for evaluation, options ["bleu", "comet", "doc-comet", "chrf", "doc-bleu", "doc-chrf"]
106
+ --save-name SAVE_NAME
107
+ name of the output files/folders
108
+ --sliding-window SLIDING_WINDOW
109
+ The stride step over document
110
+ --context-length CONTEXT_LENGTH
111
+ The number of sentences in a single context
112
+ ```
113
+ For example:
114
+ - To reproduce `GPT 5-Shot QR` results in `Table3`:
115
+ ```bash
116
+ $ cd ./tools
117
+ $ python evaluate.py \
118
+ --testset ../evaluation/testset/wmt-testset \
119
+ --directions de-en en-de cs-en en-cs ja-en en-ja zh-en en-zh ru-en en-ru uk-en en-uk is-en en-is ha-en en-ha fr-de de-fr \
120
+ --metrics comet chrf bleu \
121
+ --comet-models wmt22-comet-da wmt22-cometkiwi-da \
122
+ --hypotheses ../evaluation/system-outputs/text-davinci-003/QR/5-shot
123
+ ```
124
+ - To reproduce `GPT Doc ZS w=16` results in `Table5`:
125
+ ```bash
126
+ $ cd ./tools
127
+ $ python evaluate.py \
128
+ --testset ../evaluation/testset/wmt-testset \
129
+ --docids ../evaluation/testset/wmt-testset-docids \
130
+ --directions de-en en-de \
131
+ --metrics comet doc-comet chrf bleu doc-bleu \
132
+ --comet-models wmt22-comet-da wmt22-cometkiwi-da \
133
+ --hypotheses ../evaluation/system-outputs/text-davinci-003-doc-level/Doc-W16/zeroshot
134
+ ```
135
+
136
+ ## Contributing
137
+
138
+ This project welcomes contributions and suggestions. Most contributions require you to agree to a
139
+ Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
140
+ the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
141
+
142
+ When you submit a pull request, a CLA bot will automatically determine whether you need to provide
143
+ a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
144
+ provided by the bot. You will only need to do this once across all repos using our CLA.
145
+
146
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
147
+ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
148
+ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
149
+
150
+ ## Trademarks
151
+
152
+ This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
153
+ trademarks or logos is subject to and must follow
154
+ [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
155
+ Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
156
+ Any use of third-party trademarks or logos are subject to those third-party's policies.
157
+
158
+ ## Citation
159
+
160
+ If this work is helpful for your research, please consider citing the following BibTeX entry.
161
+
162
+ ```
163
+ @article{gpt-mt-2023,
164
+ title={How Good Are GPT Models at Machine Translation? A Comprehensive Evaluation},
165
+ author={Amr Hendy and Mohamed Abdelrehim and Amr Sharaf and Vikas Raunak and Mohamed Gabr and Hitokazu Matsushita and Young Jin Kim and Mohamed Afify and Hany Hassan Awadalla},
166
+ journal={arXiv preprint arXiv:2302.09210},
167
+ year={2023}
168
+ }
169
+ ```
170
+
gpt-MT/SECURITY.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
2
+
3
+ ## Security
4
+
5
+ Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6
+
7
+ If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8
+
9
+ ## Reporting Security Issues
10
+
11
+ **Please do not report security vulnerabilities through public GitHub issues.**
12
+
13
+ Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14
+
15
+ If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16
+
17
+ You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18
+
19
+ Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20
+
21
+ * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22
+ * Full paths of source file(s) related to the manifestation of the issue
23
+ * The location of the affected source code (tag/branch/commit or direct URL)
24
+ * Any special configuration required to reproduce the issue
25
+ * Step-by-step instructions to reproduce the issue
26
+ * Proof-of-concept or exploit code (if possible)
27
+ * Impact of the issue, including how an attacker might exploit the issue
28
+
29
+ This information will help us triage your report more quickly.
30
+
31
+ If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32
+
33
+ ## Preferred Languages
34
+
35
+ We prefer all communications to be in English.
36
+
37
+ ## Policy
38
+
39
+ Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40
+
41
+ <!-- END MICROSOFT SECURITY.MD BLOCK -->
gpt-MT/SUPPORT.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TODO: The maintainer of this repo has not yet edited this file
2
+
3
+ **REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project?
4
+
5
+ - **No CSS support:** Fill out this template with information about how to file issues and get help.
6
+ - **Yes CSS support:** Fill out an intake form at [aka.ms/onboardsupport](https://aka.ms/onboardsupport). CSS will work with/help you to determine next steps.
7
+ - **Not sure?** Fill out an intake as though the answer were "Yes". CSS will help you decide.
8
+
9
+ *Then remove this first heading from this SUPPORT.MD file before publishing your repo.*
10
+
11
+ # Support
12
+
13
+ ## How to file issues and get help
14
+
15
+ This project uses GitHub Issues to track bugs and feature requests. Please search the existing
16
+ issues before filing new issues to avoid duplicates. For new issues, file your bug or
17
+ feature request as a new Issue.
18
+
19
+ For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE
20
+ FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER
21
+ CHANNEL. WHERE WILL YOU HELP PEOPLE?**.
22
+
23
+ ## Microsoft Support Policy
24
+
25
+ Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
gpt-MT/assets/MT-GPT.png ADDED
gpt-MT/data-shots/DF/5-shot/shots.de-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6cf7da325cdd6a1ce2e529ca3835994382cc7b0d6b4c72699d24eb716694e0e
3
+ size 1840
gpt-MT/data-shots/DF/5-shot/shots.en-de.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2389ecae7cd46229616da88745ea8e94b2b18a7481725ea4db6f46eaa778a57
3
+ size 1596
gpt-MT/data-shots/DR/5-shot/shots.de-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ea5b784e6fdc9800755c0dccf4aa442de9de4af7007dc365344c593dca9e9a9
3
+ size 2370
gpt-MT/data-shots/DR/5-shot/shots.en-de.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65740ee87c59db1b5b10c847d8a0dce8b442c2243e6c965c132dc2570bfb44cb
3
+ size 2662
gpt-MT/data-shots/QR/1-shot/shots.cs-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90b59d6cbcbe92c8317d6c84741d8d9047d0176a706bc1d026adb17249052059
3
+ size 168
gpt-MT/data-shots/QR/1-shot/shots.de-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e639995715ea736f0436b03cc58cd61735d73bd15ed7748ab01caa4492107d2
3
+ size 213
gpt-MT/data-shots/QR/1-shot/shots.de-fr.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f2d30458620fea80c219f8d1c404d748a1d4f9eeae1ec34b30625d3e01d8483
3
+ size 424
gpt-MT/data-shots/QR/1-shot/shots.en-cs.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aaa374ef2d8ab4372fe765d515cba9e1597f5a9da452e4f8d99e0c131877ee5
3
+ size 251
gpt-MT/data-shots/QR/1-shot/shots.en-de.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60f4439597cccbb7e75ce0228e6d294f5f31e70cc123bdb2143292861c6f72bc
3
+ size 178
gpt-MT/data-shots/QR/1-shot/shots.en-ha.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de07509d983e713b493f6887bfe9897c68f287d72c018f70cbf40c274548929d
3
+ size 255
gpt-MT/data-shots/QR/1-shot/shots.en-is.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bf4481922d4c597083da5688fea941aa8aab9d1da7cba97409681ce8f3fe1fd
3
+ size 286
gpt-MT/data-shots/QR/1-shot/shots.en-ja.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a9e59524648ee8357beaf22cb38aa709fb742fdf7a7a8fed6f2b129652bff51
3
+ size 534
gpt-MT/data-shots/QR/1-shot/shots.en-ru.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64f4e3d489ba104651975af657460f7ace320cd36bc297706c1c81e88603c466
3
+ size 1025
gpt-MT/data-shots/QR/1-shot/shots.en-uk.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c68870b4a3d3809375aae59e93d73029c99d22a7245ee65325377e62e425760
3
+ size 748
gpt-MT/data-shots/QR/1-shot/shots.en-zh.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56df0a9e20954b84fab88dbd5a02ef41f9b28a54233f7f04032e6cc9faef6eb9
3
+ size 453
gpt-MT/data-shots/QR/1-shot/shots.fr-de.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31653d3adc55605f294d6af53dcffb997972e39ef71f9f11be62f05b7a429bec
3
+ size 424
gpt-MT/data-shots/QR/1-shot/shots.ha-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:212938034754328a00b00b1ea8696bfb1d4299f83e95f7e32775dc239fdbee3f
3
+ size 254
gpt-MT/data-shots/QR/1-shot/shots.is-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b613d29105b6d33323443a3bc04c487b8f441bb070182d4779abfe9b38df38a6
3
+ size 581
gpt-MT/data-shots/QR/1-shot/shots.ja-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ab9ec5d4fe6f2d47b6fb350c8b0e546d9390440308f5cf41d69a3654cadecd7
3
+ size 551
gpt-MT/data-shots/QR/1-shot/shots.ru-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1e233ab9527790e9a93e8c17e48e1595ca319601a7f4dad8d03b62471ca8058
3
+ size 433
gpt-MT/data-shots/QR/1-shot/shots.uk-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b52e55aab0ee41a20887de95d1ce7460e8d2376c533a4d067353fc01e92ca58f
3
+ size 1250
gpt-MT/data-shots/QR/1-shot/shots.zh-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e614844f77ded3597a1bd8b718ecea7fc093761a4ce459007bb993ac0a76f2be
3
+ size 502
gpt-MT/data-shots/QR/5-shot/shots.cs-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30d3acfa58613d3bb9d0206b220b72f874bf7b034cc7ec7a9ca61e3579012d87
3
+ size 1107
gpt-MT/data-shots/QR/5-shot/shots.de-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9679a639d147d9f746312b02ac84b2a571eebb0106a16834024bdfaac9454673
3
+ size 1205
gpt-MT/data-shots/QR/5-shot/shots.de-fr.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7499707af8a8649b1c86e9bd6cdf8d9cb7c01f88ca7d26661494e3137102e71c
3
+ size 1609
gpt-MT/data-shots/QR/5-shot/shots.en-cs.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:564d4860ef3f9a13ad6314a46fb42d7ec0d960e6450939e674c64052c64796e1
3
+ size 1429
gpt-MT/data-shots/QR/5-shot/shots.en-de.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b534a0482b1fbfa37bdac5fe85bd2d99cc57e3a1df83fcc4dca950d87ae6e032
3
+ size 880
gpt-MT/data-shots/QR/5-shot/shots.en-ha.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21c356449367dd7938d345fb7551b0e678cfa874c49847876a486ca1c29df646
3
+ size 1422
gpt-MT/data-shots/QR/5-shot/shots.en-is.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e421904913eebfc0737ddd21778233f6eb8df3d8a17496d9da1d2ce8a13c34d2
3
+ size 2242
gpt-MT/data-shots/QR/5-shot/shots.en-ja.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0696461e122d637d03c41227743d0514e7f0031c33d8f09b0e5c370404998abe
3
+ size 2306
gpt-MT/data-shots/QR/5-shot/shots.en-ru.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e679193d72bf8ccafc65e28498fa70c67838c26803206fa4346a428343b2c109
3
+ size 2758
gpt-MT/data-shots/QR/5-shot/shots.en-uk.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c98da5628dfb231c0fcf62122a313d5f007981e41bd72e60c0e58ce504352893
3
+ size 3688
gpt-MT/data-shots/QR/5-shot/shots.en-zh.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24aa972386642a0f5bd83bcde187ef7b1bff54bee270d1df07d90d6122c53458
3
+ size 1051
gpt-MT/data-shots/QR/5-shot/shots.fr-de.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c3a3e09f9038a2f52b7ef46c869b9a9c4380ace281961e787eedeaba96b6b0f
3
+ size 1609
gpt-MT/data-shots/QR/5-shot/shots.ha-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd87be403365e43e5ed2de940aa6c771d1b3fcba83e52a4387cc78578c2d11e5
3
+ size 1422
gpt-MT/data-shots/QR/5-shot/shots.is-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4adf986ae781e5d587c905c08219f219d11830dc90878ac4e1865a16236ba7bb
3
+ size 1731
gpt-MT/data-shots/QR/5-shot/shots.ja-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af1f9b9336403fdda32d80eab39a3f35d594203821a2ee6b2df8511c748e8064
3
+ size 2675
gpt-MT/data-shots/QR/5-shot/shots.ru-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a7b7a17ca69b169a6ec67f6bb4c430554c13f9772c638eb267bbc3d1ad260a3
3
+ size 3506
gpt-MT/data-shots/QR/5-shot/shots.uk-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2367de111f76c6f2b118e35d7b44dd1a69eddc47af0741bfe014857b2a67874f
3
+ size 4895
gpt-MT/data-shots/QR/5-shot/shots.zh-en.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5702e166399b82d99f412715a61d11abb59b367713e9d398a2640b89019c7b3e
3
+ size 2274