Transformers
Safetensors
English
ocbyram commited on
Commit
38286a7
·
verified ·
1 Parent(s): 469805a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -0
README.md CHANGED
@@ -111,6 +111,26 @@ use my other education and experience to supplement my answer to teacher-specifi
111
 
112
  This section should briefly describe how your prompt is formatted and include a general code chunk (denoted by ```YOUR TEXT```) showing an example formatted prompt.
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
 
116
  # Expected Output Format
 
111
 
112
  This section should briefly describe how your prompt is formatted and include a general code chunk (denoted by ```YOUR TEXT```) showing an example formatted prompt.
113
 
114
+ The prompt is formatted by entering the job title and description that the user is applying for, then entering the user's profile (experience, skills, education,
115
+ special awards, etc) and "Interview Question and Optimal Answer" followed by a blank space. The user must designate 'Job Description:' and
116
+ 'User Profile:' in their formatted prompt. The user must use the pipeline shown below in conjunction with a formatted prompt to recieve an output.
117
+ There is also an example of a formatted prompt.
118
+
119
+ ```
120
+ pipe = pipeline(
121
+ "text-generation",
122
+ model=model,
123
+ dtype=torch.float16,
124
+ tokenizer=tokenizer,
125
+ max_new_tokens=512,
126
+ do_sample=False,
127
+ )
128
+
129
+ formatted_prompt = f"Job Description: Data Scientist. User Profile: I got my bachelor's in computer science from the University of Delaware in 2020 and
130
+ a master's in Data Science from the Univerity of Virginia in 2021. I have been working as a data scientist at Google for three years. My skills include Python,
131
+ data visualization, SQL, Microsoft Office, and Tableau. Interview Question and Optimal Answer: "
132
+
133
+ ```
134
 
135
 
136
  # Expected Output Format