LeoWalker commited on
Commit
85ff23a
1 Parent(s): e5cda5b

updated readme

Browse files
Files changed (1) hide show
  1. README.md +63 -12
README.md CHANGED
@@ -1,12 +1,63 @@
1
- ---
2
- title: ResumeParser
3
- emoji: 🔥
4
- colorFrom: green
5
- colorTo: blue
6
- sdk: streamlit
7
- sdk_version: 1.29.0
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Resume Parser
2
+
3
+ This Streamlit app allows you to compare the capabilities of different language models (LLMs) in parsing resumes into structured Pydantic objects. It provides insights into the accuracy, inference time, and cost of using various LLMs for resume parsing.
4
+
5
+ ## Features
6
+
7
+ - Upload a PDF resume and extract structured information
8
+ - Compare the performance of two selected LLMs side-by-side
9
+ - Evaluate LLMs based on accuracy, inference time, and cost
10
+ - Supports a range of LLMs, including Groq's lightweight models (Gemma 7B, Llama 3 8B, Llama 3 70B) and others like GPT-3.5-turbo, Anthropic Claude, and Google Generative AI
11
+ - Displays the extracted resume fields in a user-friendly format
12
+ - Provides timing information for each LLM's extraction process
13
+
14
+ ## Getting Started
15
+
16
+ 1. Clone the repository:
17
+ ```
18
+ git clone https://github.com/yourusername/resume-parser.git
19
+ ```
20
+
21
+ 2. Install the required dependencies:
22
+ ```
23
+ pip install -r requirements.txt
24
+ ```
25
+
26
+ 3. Set up the necessary environment variables:
27
+ - Create a `.env` file in the project root directory
28
+ - Add the required API keys and credentials for the LLMs you want to use
29
+
30
+ 4. Run the Streamlit app:
31
+ ```
32
+ streamlit run app.py
33
+ ```
34
+
35
+
36
+ 5. Access the app in your web browser at `http://localhost:8501`
37
+
38
+ ## Usage
39
+
40
+ 1. Upload a PDF resume using the file uploader
41
+ 2. Select two LLMs from the dropdown menus to compare their performance
42
+ 3. Click the "Extract Resume Fields" button to start the parsing process
43
+ 4. View the extracted resume fields and timing information for each LLM
44
+ 5. Compare the accuracy, inference time, and cost of the selected LLMs
45
+
46
+ ## Resume Template
47
+
48
+ The app uses a predefined resume template defined in `resume_template.py`. The template includes various sections such as personal details, education, work experience, projects, skills, certifications, publications, awards, and additional sections.
49
+
50
+ ## LLM Configuration
51
+
52
+ The app supports multiple LLMs, which can be configured in the `llm_dict` dictionary in `app.py`. Each LLM is associated with its corresponding class and initialization parameters.
53
+
54
+ ## Customization
55
+
56
+ - Modify the resume template in `resume_template.py` to match your specific requirements
57
+ - Add or remove LLMs in the `llm_dict` dictionary based on your needs
58
+ - Customize the Streamlit app's appearance and layout in `app.py`
59
+
60
+ ## Contributing
61
+
62
+ Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
63
+