GithubHelp home page GithubHelp logo

resume_parser's Introduction

title emoji colorFrom colorTo sdk sdk_version app_file pinned
ResumeParser
๐Ÿ”ฅ
green
blue
streamlit
1.29.0
app.py
false

Resume Parser

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.

Features

  • Upload a PDF resume and extract structured information
  • Compare the performance of two selected LLMs side-by-side
  • Evaluate LLMs based on accuracy, inference time, and cost
  • 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
  • Displays the extracted resume fields in a user-friendly format
  • Provides timing information for each LLM's extraction process

Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/resume-parser.git
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Set up the necessary environment variables:
  • Create a .env file in the project root directory
  • Add the required API keys and credentials for the LLMs you want to use
  1. Run the Streamlit app:
streamlit run app.py
  1. Access the app in your web browser at http://localhost:8501

Usage

  1. Upload a PDF resume using the file uploader
  2. Select two LLMs from the dropdown menus to compare their performance
  3. Click the "Extract Resume Fields" button to start the parsing process
  4. View the extracted resume fields and timing information for each LLM
  5. Compare the accuracy, inference time, and cost of the selected LLMs

Resume Template

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.

LLM Configuration

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.

Customization

  • Modify the resume template in resume_template.py to match your specific requirements
  • Add or remove LLMs in the llm_dict dictionary based on your needs
  • Customize the Streamlit app's appearance and layout in app.py

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

resume_parser's People

Contributors

leowalker89 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.