File size: 3,044 Bytes
11996bd
4dfdb8b
 
 
 
11996bd
4dfdb8b
11996bd
 
 
 
 
4dfdb8b
 
fbfb0a8
4dfdb8b
 
 
fbfb0a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276589d
 
 
 
 
 
 
fbfb0a8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4dfdb8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11996bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
title: Resume Screener and Skill Extractor
emoji: πŸ“„
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: 1.31.0
app_file: app.py
pinned: false
license: mit
---

# Resume Screener and Skill Extractor

A comprehensive application for analyzing resumes, matching them to job positions, and providing personalized career advice.

## Features

- **Skill Extraction**: Identifies relevant skills for specific job positions
- **Resume Summarization**: Generates concise summaries of candidate backgrounds
- **Skill Gap Analysis**: Identifies missing skills for target roles
- **Career Advice**: Provides personalized recommendations for skill development and projects
- **Experience Analysis**: Analyzes work history and career progression
- **Fraud Detection**: Flags potential inconsistencies for verification

## Installation

### Fix Dependencies (Recommended)

If you encounter any dependency issues, run the dependency fixer script:

```bash
python fix_dependencies.py
```

This will install compatible versions of all required packages.

### Manual Installation

Alternatively, you can install the dependencies manually:

```bash
pip install -r requirements.txt
python -m spacy download en_core_web_sm
python -c "import nltk; nltk.download('punkt')"
```

## Common Issues and Solutions

### ImportError: cannot import name 'cached_download' from 'huggingface_hub'

This occurs due to version incompatibility between huggingface_hub and sentence_transformers. To fix:

1. Run the dependency fixer script: `python fix_dependencies.py`
2. Or manually install compatible versions: `pip install huggingface-hub==0.14.1 sentence-transformers==2.2.2`

### PydanticImportError: `pydantic:ConstrainedStr` has been removed in V2

This error occurs when using spaCy 3.5.0 with pydantic v2. To fix:

1. Run the dependency fixer script: `python fix_dependencies.py`
2. Or manually install a compatible pydantic version: `pip install "pydantic<2.0.0"`

## Running the Application

```bash
streamlit run app.py
```

## Usage

1. Upload a resume in PDF format
2. Select a target job position
3. Review the analysis results in the different tabs
4. Click "Generate Personalized Career Advice" to get recommendations

## Dependencies

- streamlit
- pdfplumber
- spacy
- transformers
- sentence-transformers
- torch
- nltk
- plotly
- pandas
- numpy
- matplotlib

## Supported Job Positions

- Software Engineer
- Interaction Designer
- Data Scientist

## How it Works

1. Upload your resume (PDF or DOCX format)
2. Select the target job position
3. The app will analyze your resume and provide:
   - A list of matched skills with a match percentage
   - An AI-generated summary of your resume
   - Suggestions for skills you might want to develop

## Technologies Used

- Streamlit for the web interface
- Hugging Face Transformers for AI-powered text summarization
- spaCy for natural language processing
- PyPDF2 and python-docx for document parsing

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference