Yuki131 commited on
Commit
6491a4b
verified
1 Parent(s): 5c80be9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -4
README.md CHANGED
@@ -16,7 +16,7 @@ With `transformers<4.37.0`, you will encounter the following error:
16
  KeyError: 'qwen2'
17
 
18
  ## Quickstart
19
- ```
20
  from transformers import AutoModelForCausalLM, AutoTokenizer
21
  from transformers import StoppingCriteria, StoppingCriteriaList
22
  import re
@@ -76,7 +76,7 @@ With `transformers<4.37.0`, you will encounter the following error:
76
  response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0].strip()
77
  match = re.search(r"<extract>(.*?)</extract>", response, re.DOTALL)
78
  evidence = match.group(1).strip()
79
- ```
80
  ## Performance
81
  Main results.
82
  ![main](./img/main_results.jpg)
@@ -85,7 +85,7 @@ Main results.
85
  ## Citation
86
 
87
  If you find our work helpful, feel free to give us a cite.
88
- ```
89
  @misc{EviOmni,
90
  title={Learning to Extract Rational Evidence via Reinforcement Learning for Retrieval-Augmented Generation},
91
  author={Xinping Zhao and Shouzheng Huang and Yan Zhong and Xinshuo Hu and Meishan Zhang and Baotian Hu and Min Zhang},
@@ -95,4 +95,3 @@ If you find our work helpful, feel free to give us a cite.
95
  primaryClass={cs.CL},
96
  url={https://arxiv.org/abs/2507.15586},
97
  }
98
- ```
 
16
  KeyError: 'qwen2'
17
 
18
  ## Quickstart
19
+
20
  from transformers import AutoModelForCausalLM, AutoTokenizer
21
  from transformers import StoppingCriteria, StoppingCriteriaList
22
  import re
 
76
  response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0].strip()
77
  match = re.search(r"<extract>(.*?)</extract>", response, re.DOTALL)
78
  evidence = match.group(1).strip()
79
+
80
  ## Performance
81
  Main results.
82
  ![main](./img/main_results.jpg)
 
85
  ## Citation
86
 
87
  If you find our work helpful, feel free to give us a cite.
88
+
89
  @misc{EviOmni,
90
  title={Learning to Extract Rational Evidence via Reinforcement Learning for Retrieval-Augmented Generation},
91
  author={Xinping Zhao and Shouzheng Huang and Yan Zhong and Xinshuo Hu and Meishan Zhang and Baotian Hu and Min Zhang},
 
95
  primaryClass={cs.CL},
96
  url={https://arxiv.org/abs/2507.15586},
97
  }