kaixindelele / ChatPaper

Use ChatGPT to summarize the arXiv papers. 全流程加速科研,利用chatgpt进行论文全文总结+专业翻译+润色+审稿+审稿回复
https://chatwithpaper.org
Other
18.38k stars 1.93k forks source link

Token长度超过4097 #72

Closed Jerry-jwz closed 1 year ago

Jerry-jwz commented 1 year ago

% python chat_paper.py --query "all: causal prompt learning" --filter_keys "causal prompt learning" --max_results 5 --language en

Key word: reinforcement learning Query: all: causal prompt learning Sort: SortCriterion.Relevance all search: 0 Supporting Vision-Language Model Inference with Causality-pruning Knowledge Prompt 2022-05-23 07:51:15+00:00 1 IDIAPers @ Causal News Corpus 2022: Efficient Causal Relation Identification Through a Prompt-based Few-shot Approach 2022-10-14 20:47:37+00:00 2 Prompting through Prototype: A Prototype-based Prompt Learning on Pretrained Vision-Language Models 2022-10-19 19:13:07+00:00 3 Causal Intervention-based Prompt Debiasing for Event Argument Extraction 2022-10-04 12:32:00+00:00 4 Prompt Agnostic Essay Scorer: A Domain Generalization Approach to Cross-prompt Automated Essay Scoring 2020-08-04 10:17:38+00:00 filter_keys: causal prompt learning 筛选后剩下的论文数量: filter_results: 1 filter_papers: 0 Supporting Vision-Language Model Inference with Causality-pruning Knowledge Prompt 2022-05-23 07:51:15+00:00 All_paper: 1 paper_path: ./pdf_files/all causal prompt learni-2023-03-21-08/Supporting Vision-Language Model Inference with Causality-pruning Knowledge Prompt.pdf section_page_dict {'Abstract': 0, 'Introduction': 0, 'Related Work': 1, 'Methodology': 4, 'Method': 8, 'Experiments': 6, 'Conclusion': 7, 'References': 7} 0 Abstract 0 1 Introduction 0 start_page, end_page: 0 1 2 Related Work 1 start_page, end_page: 1 4 3 Methodology 4 start_page, end_page: 4 8 4 Method 8 start_page, end_page: 8 6 5 Experiments 6 start_page, end_page: 6 7 6 Conclusion 7 start_page, end_page: 7 7 7 References 7 start_page, end_page: 7 13 summary_result:

  1. Title: Supporting Vision-Language Model Inference with Causality-pruning Knowledge Prompt (Chinese translation: 支持因果削减知识提示的视觉语言模型推理)
  1. Authors: Jiangmeng Li, Wenyi Mo, Wenwen Qiang, Bing Su, and Changwen Zheng

  2. Affiliation: Institute of Software Chinese Academy of Sciences, Beijing, China (for the first, third, and fifth authors); Renmin University of China, Beijing, China (for the second and fourth authors)

  3. Keywords: multi-modal, vision-language model, prompt engineering, causality, knowledge graph, ontology

  4. Urls: Paper: http://arxiv.org/abs/2205.11100v1, Github: None

  5. Summary:

这个问题应该怎么修改代码呢?似乎 openai.ChatCompletion.create() 的 max_token 就是 4097.

kaixindelele commented 1 year ago

你这个是更新了我的最新版代码吗?我昨天尝试做了修改,看来没有完全解决啊

LiXiHan26 commented 1 year ago

你这个是更新了我的最新版代码吗?我昨天尝试做了修改,看来没有完全解决啊

佬,我今天25号更新的,还是有这个问题,该怎么解决啊

kaixindelele commented 1 year ago

超出不多,换篇文章吧~