Verah commited on
Commit
b9e28c2
·
verified ·
1 Parent(s): bba7484

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -23
README.md CHANGED
@@ -23,33 +23,32 @@ The goal of this dataset is to split the entire original dataset into its good a
23
  - make available a high quality dataset
24
  - investigate the performance of various LLMs at evaluating the dataset.
25
 
26
- This initial release consists of only 1M rows from the original 22m dataset, however I do intend to continue further after a brief evaluation period.
27
- The split is currently
28
- - 413126 rejected english-japanese pairs
29
- - 586874 accepted english-japanese pairs
30
 
31
- The evaluating model was https://huggingface.co/NousResearch/Nous-Hermes-2-Mistral-7B-DPO-GGUF inference at fp16 via vLLM, temperature 0.
 
 
32
 
33
- The following prompt template was used to filter the dataset:
 
 
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  ```
36
- <|im_start|>system
37
- Your role is to evaluate the accuracy of the provided Japanese to English translation.
38
- - Respond with only 'ACCEPT' or 'REJECT'
39
- - Do not explain your decision.
40
- - Translations with parts missing should be rejected.
41
- - Incomplete translations should be rejected.
42
- - Inaccurate translations should be rejected.
43
- - Poor grammar should be rejected.
44
- - Any kind of mistake should be rejected.
45
- - Bad spelling should be rejected.
46
- - Low quality english should be rejected.
47
- - Low quality japanese should be rejected.<|im_end|>
48
- <|im_start|>user
49
- JAPANESE: {japanese}
50
- ENGLISH: {english}<|im_end|>
51
- <|im_start|>assistant
52
- ```
53
 
54
 
55
  # License
 
23
  - make available a high quality dataset
24
  - investigate the performance of various LLMs at evaluating the dataset.
25
 
26
+ The new upload includes filtering by an additional LLM, its results are "model2_accepted": https://huggingface.co/Verah/mistral-japanese-stabalelm-merge
 
 
 
27
 
28
+ I merged mistral instruct with stability AI's new japanese LLM, and this seems to have resulted in a model with enough knowledge of english and japanese to be competent at this task.
29
+ It is likely that a finetune would further improve results.
30
+ This new model accepted only 260,058 rows from the 1M seen, whilst the previous model was around twice as permissive.
31
 
32
+ Prompt used with the new model:
33
+ ```python
34
+ from inspect import cleandoc
35
 
36
+ def promptgen_mistral(japanese :str, english :str) -> str:
37
+ system_prompt = cleandoc("""<s>[INST]Your role is to evaluate the accuracy of the provided Japanese to English translation.
38
+ - Translations with parts missing should be rejected.
39
+ - Incomplete translations should be rejected.
40
+ - Inaccurate translations should be rejected.
41
+ - Poor grammar should be rejected.
42
+ - Any kind of mistake should be rejected.
43
+ - Bad spelling should be rejected.
44
+ - Low quality english should be rejected.
45
+ - Low quality japanese should be rejected.
46
+ - high quality translations should be accepted.
47
+ - Respond with only 'ACCEPT' or 'REJECT'.
48
+ """)
49
+ return system_prompt + f"JAPANESE: {japanese}\nENGLISH: {english}[/INST]\n"
50
  ```
51
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
 
54
  # License