Skip to content

[Bug]Weird! I can't translate this paper: "H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models" #24

@princepride

Description

@princepride

Thanks for your contribute, I used your software for a long time, but recently when I try to translate this paper: H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models from English to Chinese, I got an error, here is my command:
pdf2zh "C:\Users\wangz\Downloads\H2O:Heavy-Hitter Oracle for Efficient Generative.pdf" -li en -lo zh -s openai
Here is my terminal output:

not in git repo
Namespace(files=['C:\\Users\\wangz\\Downloads\\H2O:Heavy-Hitter Oracle for Efficient Generative.pdf'], debug=False, pages=None, vfont='', vchar='', lang_in='en', lang_out='zh', service='openai', output='', thread=4, interactive=False, share=False, flask=False, celery=False, authorized=None, prompt=None, compatible=False, onnx=None, serverport=None, dir=False, config=None, babeldoc=False, skip_subset_fonts=False, ignore_cache=False)
[04/12/25 23:35:39] INFO     INFO:pdf2zh.high_level:use font: high_level.py:423
                             [C:/Users/wangz/.cache/babeldoc/f](file:///C:/Users/wangz/.cache/babeldoc/f)                  
                             onts/SourceHanSerifCN-Regular.tt                  
                             f                                                 

  0%|          | 0/49 [00:00<?, ?it/s]
  4%|▍         | 2/49 [00:00<00:17,  2.68it/s]
  6%|▌         | 3/49 [00:01<00:28,  1.60it/s]
  8%|▊         | 4/49 [00:02<00:26,  1.67it/s]
 10%|█         | 5/49 [00:03<00:30,  1.44it/s]
 12%|█▏        | 6/49 [00:03<00:28,  1.50it/s]
 14%|█▍        | 7/49 [00:04<00:29,  1.44it/s]
 16%|█▋        | 8/49 [00:07<00:55,  1.35s/it]
 18%|█▊        | 9/49 [00:07<00:44,  1.10s/it]
 20%|██        | 10/49 [00:08<00:36,  1.07it/s]
 22%|██▏       | 11/49 [00:09<00:36,  1.05it/s]
 24%|██▍       | 12/49 [00:09<00:29,  1.23it/s]
 27%|██▋       | 13/49 [00:10<00:25,  1.40it/s]
 29%|██▊       | 14/49 [00:10<00:22,  1.57it/s]
 31%|███       | 15/49 [00:11<00:20,  1.68it/s]
 33%|███▎      | 16/49 [00:11<00:18,  1.79it/s]
 35%|███▍      | 17/49 [00:12<00:17,  1.87it/s]
 37%|███▋      | 18/49 [00:12<00:16,  1.93it/s]
 39%|███▉      | 19/49 [00:13<00:14,  2.07it/s]
 41%|████      | 20/49 [00:13<00:13,  2.10it/s]
 43%|████▎     | 21/49 [00:14<00:13,  2.10it/s]
 45%|████▍     | 22/49 [00:14<00:12,  2.09it/s]
 47%|████▋     | 23/49 [00:15<00:12,  2.14it/s]
 49%|████▉     | 24/49 [00:15<00:12,  2.05it/s]
 51%|█████     | 25/49 [00:16<00:11,  2.03it/s]
 53%|█████▎    | 26/49 [00:18<00:27,  1.18s/it]
 55%|█████▌    | 27/49 [00:19<00:24,  1.12s/it]
 57%|█████▋    | 28/49 [00:20<00:19,  1.09it/s]
 59%|█████▉    | 29/49 [00:20<00:16,  1.20it/s]
 61%|██████    | 30/49 [00:21<00:15,  1.19it/s]
 63%|██████▎   | 31/49 [00:47<02:28,  8.25s/it]
 65%|██████▌   | 32/49 [01:00<02:45,  9.72s/it]
 67%|██████▋   | 33/49 [01:01<01:51,  6.98s/it]
 69%|██████▉   | 34/49 [01:01<01:15,  5.02s/it]
 71%|███████▏  | 35/49 [01:01<00:51,  3.65s/it]
 73%|███████▎  | 36/49 [01:02<00:35,  2.72s/it]
 76%|███████▌  | 37/49 [01:02<00:24,  2.05s/it]
 78%|███████▊  | 38/49 [01:03<00:17,  1.59s/it]
 80%|███████▉  | 39/49 [01:03<00:12,  1.25s/it]
 82%|████████▏ | 40/49 [01:04<00:09,  1.01s/it]
 84%|████████▎ | 41/49 [01:04<00:06,  1.17it/s]
 86%|████████▌ | 42/49 [01:05<00:05,  1.31it/s]
 88%|████████▊ | 43/49 [01:05<00:04,  1.46it/s]
 90%|████████▉ | 44/49 [01:06<00:03,  1.56it/s]
 92%|█████████▏| 45/49 [01:06<00:02,  1.72it/s]
 94%|█████████▍| 46/49 [01:07<00:01,  1.90it/s]
 96%|█████████▌| 47/49 [01:07<00:01,  1.99it/s]
 98%|█████████▊| 48/49 [01:08<00:00,  2.09it/s]
100%|██████████| 49/49 [01:08<00:00,  2.09it/s]
100%|██████████| 49/49 [01:09<00:00,  1.41s/it]
WARNING: 'created' timestamp seems very low; regarding as unix timestamp

There is no clearly error warning but I didn't get the translated paper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions