Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify check function to provide a list of files with issues #8

Open
skytin1004 opened this issue Sep 20, 2024 · 0 comments
Open

Modify check function to provide a list of files with issues #8

skytin1004 opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@skytin1004
Copy link
Collaborator

skytin1004 commented Sep 20, 2024

Currently, when using the check functionality, only the file being retried is displayed as below

(.venv) C:\Users\sms79\dev\Phi-3CookBook>translate -l "zh" -chk
Checking translated files for errors in zh...
Checking files for zh: 100%|█████████████████████████████████████████████████| 95/95 [00:00<00:00, 113.15file/s]
Retrying E2E_Phi-3-FineTuning_PromptFlow_Integration.md for zh:  59%|████▋   | 24/41 [51:37<45:01, 158.90s/file]

The goal is to modify the check functionality to display a list of all files with issues, rather than just the single file being retried.

Example

(.venv) C:\Users\sms79\dev\Phi-3CookBook>translate -l "zh" -chk
Checking translated files for errors in zh...
Checking files for zh: 100%|█████████████████████████████████████████████████| 95/95 [00:00<00:00, 113.15file/s]

Summary of files with issues:
1. E2E_Phi-3-FineTuning_PromptFlow_Integration.md
2. Guide_Phi-3_Model_Deployment.md
3. Overview_Phi-3_Training_Workflow.md
4. Tutorials_Phi-3_Performance_Optimization.md
...
Retrying E2E_Phi-3-FineTuning_PromptFlow_Integration.md for zh:  59%|████▋   | 24/41 [51:37<45:01, 158.90s/file]
@skytin1004 skytin1004 added the enhancement New feature or request label Sep 20, 2024
@skytin1004 skytin1004 self-assigned this Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant