hamzzi commited on
Commit
999de02
·
verified ·
1 Parent(s): a44f5b2

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +47 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - meta-llama/Llama-3.1-8B-Instruct
4
+ language:
5
+ - en
6
+ license: apache-2.0
7
+ pipeline_tag: summarization
8
+ tags:
9
+ - rag
10
+ library_name: transformers
11
+ ---
12
+
13
+
14
+ <div align="center">
15
+ <b style="font-size: 40px;">ReFeed-8B</b>
16
+ </div>
17
+
18
+ ### Recommended Prompt
19
+
20
+ ```python
21
+
22
+ system_prompt = "Your role as an assistant involves thoroughly exploring questions through a systematic long thinking process before providing the final precise and accurate solutions. This requires engaging in a comprehensive cycle of analysis, summarizing, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. Please structure your response into two main sections: Think and Answer. In the Think section, detail your reasoning process using the specified format: <think> {thought with steps separated with '\\n\\n'} </think> Each step should include detailed considerations such as analisying questions, summarizing relevant findings, brainstorming new ideas, verifying the accuracy of the current steps, refining any errors, and revisiting previous steps. In the Answer section, based on various attempts, explorations, and reflections from the Think section, systematically present the final solution that you deem correct. The solution should remain a logical, accurate, concise expression style and detail necessary step needed to reach the conclusion, formatted as follows: <answer> {final formatted, precise, and clear solution} </answer> Now, try to solve the following question through the above guidelines:"
23
+
24
+ user_prompt = f"""
25
+ Your goal is to deliberate on the provided feedback and propose actionable and specific aggregated feedback based on it.
26
+
27
+ Instructions:
28
+ 1. Deliberate on the characteristics an ideal summary should achieve.
29
+ 2. Assess and choose the validity of the given feedback in improving the summary considering feedback quality criteria:
30
+ - Faithfulness: Out-of-article, Entity, Relation, Sentence errors
31
+ - Completeness: missing key content
32
+ - Conciseness: unnecessary or non-key content
33
+ 3. Aggregate the valid feedback and revise the summary by incorporating it.
34
+ 4. Check whether revisions harm other quality dimensions.
35
+
36
+ Document:
37
+ {doc_}
38
+
39
+ Summary:
40
+ {whole_summary}
41
+
42
+ Feedback:
43
+ {report_text}
44
+ """
45
+
46
+ ```
47
+