Spaces:
Running
Running
Update model.py
Browse files
model.py
CHANGED
@@ -76,7 +76,7 @@ def modelFeedback(ats_score, resume_data, job_description):
|
|
76 |
|
77 |
#### Resume Data: {resume_data}
|
78 |
#### Job Description: {job_description}
|
79 |
-
IMPORTANT: The output should be as normal organised text not in any other format (don't give markdown text)
|
80 |
"""
|
81 |
|
82 |
|
@@ -87,9 +87,9 @@ def modelFeedback(ats_score, resume_data, job_description):
|
|
87 |
messages=[
|
88 |
{"role": "user", "content": input_prompt}
|
89 |
],
|
90 |
-
temperature=0.
|
91 |
top_p=0.7, # Prioritize high-probability tokens
|
92 |
-
max_tokens=
|
93 |
)
|
94 |
|
95 |
# Extract and clean the response
|
|
|
76 |
|
77 |
#### Resume Data: {resume_data}
|
78 |
#### Job Description: {job_description}
|
79 |
+
IMPORTANT: The output should be as normal organised text not in any other format (don't give markdown text) and focus more on resume matching part that general resume review.
|
80 |
"""
|
81 |
|
82 |
|
|
|
87 |
messages=[
|
88 |
{"role": "user", "content": input_prompt}
|
89 |
],
|
90 |
+
temperature=0.01, # Lowering temperature for precise output
|
91 |
top_p=0.7, # Prioritize high-probability tokens
|
92 |
+
max_tokens=1500, # Allow longer content
|
93 |
)
|
94 |
|
95 |
# Extract and clean the response
|