This repository is the code for inference and evaluation for patent claim revision.
Data could be retrieved from the European Patent Office (EPO) using the script in the data folder.
Inference of models on Huggingface:
python pipeline_inference.pyInference of GPT series from OpenAI:
python openai_inference.pyTraditional evaluations, such as BLEU and ROUGE.
python eval.pyGPT-based evaluations.
python geval.pyIf you find our work useful for your research, please feel free to cite our paper.
@article{jiang2024patent,
title={Patent-CR: A Dataset for Patent Claim Revision},
author={Jiang, Lekang and Scherz, Pascal A and Goetz, Stephan},
journal={arXiv preprint arXiv:2412.02549},
year={2024}
}