Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DistilBERT Resume Classification Model
|
| 2 |
+
|
| 3 |
+
This repository contains a fine-tuned DistilBERT model for classifying resume sentences into predefined categories. The model is trained on a dataset of resumes and can classify sentences into categories such as Personal Information, Experience, Summary, Education, Qualifications & Certificates, Skills, and Objectives.
|
| 4 |
+
|
| 5 |
+
## Model Details
|
| 6 |
+
|
| 7 |
+
- **Model:** DistilBERT (base-uncased)
|
| 8 |
+
- **Fine-tuned on:** Custom resume dataset
|
| 9 |
+
- **Number of classes:** 7
|
| 10 |
+
|
| 11 |
+
## Categories
|
| 12 |
+
|
| 13 |
+
The model can classify sentences into the following categories:
|
| 14 |
+
- Personal Information
|
| 15 |
+
- Experience
|
| 16 |
+
- Summary
|
| 17 |
+
- Education
|
| 18 |
+
- Qualifications & Certificates
|
| 19 |
+
- Skills
|
| 20 |
+
- Objectives
|
| 21 |
+
|
| 22 |
+
## Usage
|
| 23 |
+
|
| 24 |
+
### Load the Model and Tokenizer
|
| 25 |
+
|
| 26 |
+
To use the model and tokenizer, you can load them from the Hugging Face Hub as follows:
|
| 27 |
+
|
| 28 |
+
```python
|
| 29 |
+
from transformers import DistilBertTokenizerFast, DistilBertForSequenceClassification
|
| 30 |
+
|
| 31 |
+
# Load the model and tokenizer
|
| 32 |
+
model_name = "your-username/your-model-name"
|
| 33 |
+
tokenizer = DistilBertTokenizerFast.from_pretrained(model_name)
|
| 34 |
+
model = DistilBertForSequenceClassification.from_pretrained(model_name)
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
license: apache-2.0
|
| 38 |
+
---
|