This application allows you to generate a cover letter for a job application using the Llama 2 language model.
The Llama 2 model used in this tutorial is hosted on the Replicate platform
Simply provide the necessary details, such as your name, company name, job title, and a job description, and let the AI generate a cover letter for you.
To use this Cover Letter Generator, follow these steps:
-
Make sure you have the required libraries installed, including
replicate
andstreamlit
. -
Set your Replicate API token by modifying the
os.environ["REPLICATE_API_TOKEN"]
line with your API token. Check https://replicate.com/docs/reference/http#authentication -
Run the application using Streamlit by executing the script.
streamlit run your_script_name.py
-
Fill in the necessary details in the provided form, including your name, company name, hiring manager's name, job title, referral source, and paste the job description.
-
Adjust the AI temperature, which reflects the model's creativity (a value between 0 and 1).
-
Click the "Generate Cover Letter" button.
-
The AI will generate a cover letter based on your inputs and display it on the screen.
-
You can download the generated cover letter as a text file using the "Download Cover Letter as TXT" button.
This Cover Letter Generator utilizes the Llama 2 language model from Replicate.