bainskarman commited on
Commit
777c494
·
verified ·
1 Parent(s): e518252

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +2 -13
model.py CHANGED
@@ -9,7 +9,7 @@ logger = logging.getLogger(__name__)
9
  # Pre-configured settings (no user input)
10
  system_message = "You are an ATS Score analyzer. Provide clear and constructive feedback to improve the ATS score."
11
  selected_model = "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" # Example model
12
- max_tokens = 1500
13
  temperature = 0.4
14
  top_p = 0.6
15
 
@@ -37,19 +37,8 @@ def modelFeedback(ats_score, resume_data, job_description):
37
  ### ATS Score:
38
  The current ATS score is {int(ats_score * 100)}%. Your goal is to increase this score by aligning the resume more closely with the job description. This is the model I am using "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" so make sure the ats score improvements are based on this model.
39
 
40
- ### Overall Resume Review:
41
- Please assess the following key aspects of the resume and provide specific feedback where necessary. In each case, suggest improvements, if any:
42
- Show overall resume rating out of 100 and matching with job description out of 100 with titles 'Resume Score' and 'Matching Score'
43
- 1. **Quantifying Impact**: Are accomplishments supported by measurable data or metrics? Suggest improvements if more quantifiable results could be provided.
44
- 2. **Unique Action Verbs**: Are there any unique or strong action verbs? Highlight any overused verbs and suggest stronger alternatives.
45
- 3. **Weak Action Verbs**: Identify any weak or passive verbs and provide suggestions to improve them.
46
- 4. **Verb Tenses**: Check the consistency of verb tenses. Are past roles described using past tense and current roles in present tense?
47
- 5. **Accomplishment-Oriented Language**: Is the language focused on achievements rather than responsibilities? Recommend areas where the resume could be more results-driven.
48
- 6. **Spell Check**: Identify any spelling or grammatical errors that need to be fixed.
49
- 7. **Sections in Resume**: Evaluate each section of the resume (e.g., contact info, experience, education, skills). Are there any missing sections or sections that could be improved?
50
-
51
  ### Matching with Job Description:
52
- Now, focus on matching the resume with the job description. Provide detailed feedback on how well the resume aligns with the job description and where it falls short. Suggest specific content that needs to be replaced, added, or modified to improve the ATS score.
53
  #### Resume Data: {resume_data}
54
  #### Job Description: {job_description}
55
  """
 
9
  # Pre-configured settings (no user input)
10
  system_message = "You are an ATS Score analyzer. Provide clear and constructive feedback to improve the ATS score."
11
  selected_model = "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" # Example model
12
+ max_tokens = 500
13
  temperature = 0.4
14
  top_p = 0.6
15
 
 
37
  ### ATS Score:
38
  The current ATS score is {int(ats_score * 100)}%. Your goal is to increase this score by aligning the resume more closely with the job description. This is the model I am using "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B" so make sure the ats score improvements are based on this model.
39
 
 
 
 
 
 
 
 
 
 
 
 
40
  ### Matching with Job Description:
41
+ Focus on matching the resume with the job description. Provide detailed feedback on how well the resume aligns with the job description and where it falls short. Suggest specific content that needs to be replaced, added, or modified to improve the ATS score.
42
  #### Resume Data: {resume_data}
43
  #### Job Description: {job_description}
44
  """