Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Resume Dataset
|
| 2 |
+
|
| 3 |
+
## Dataset Description
|
| 4 |
+
|
| 5 |
+
This dataset contains resume data for different job categories with skills, education, and experience information that can be used for resume classification or career prediction applications.
|
| 6 |
+
|
| 7 |
+
### Data Structure
|
| 8 |
+
|
| 9 |
+
This dataset is stored in CSV format with the following columns:
|
| 10 |
+
- `id`: Unique identifier for each resume
|
| 11 |
+
- `category`: Job category or field (e.g., HR, IT, Marketing)
|
| 12 |
+
- `skills`: Comma-separated list of skills mentioned in the resume
|
| 13 |
+
- `education`: Comma-separated list of education qualifications
|
| 14 |
+
- `experience`: Comma-separated list of job experiences
|
| 15 |
+
|
| 16 |
+
### Dataset Splits
|
| 17 |
+
|
| 18 |
+
- `train`: Main training dataset
|
| 19 |
+
- `eval`: Evaluation dataset (last 200 samples)
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
You can load this dataset using the Hugging Face datasets library:
|
| 24 |
+
|
| 25 |
+
```python
|
| 26 |
+
from datasets import load_dataset
|
| 27 |
+
|
| 28 |
+
# Load the entire dataset
|
| 29 |
+
dataset = load_dataset("C0ldSmi1e/resume-dataset")
|
| 30 |
+
|
| 31 |
+
# Access specific splits
|
| 32 |
+
train_data = dataset["train"]
|
| 33 |
+
eval_data = dataset["eval"]
|
| 34 |
+
|
| 35 |
+
# Check the columns
|
| 36 |
+
print(train_data.column_names)
|
| 37 |
+
|
| 38 |
+
# Access a sample entry
|
| 39 |
+
print(train_data[0])
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Example: Using with a Tokenizer
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
from datasets import load_dataset
|
| 46 |
+
from transformers import AutoTokenizer
|
| 47 |
+
|
| 48 |
+
# Load a tokenizer
|
| 49 |
+
tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
|
| 50 |
+
EOS_TOKEN = tokenizer.eos_token # End of sequence token
|
| 51 |
+
|
| 52 |
+
# Load your dataset
|
| 53 |
+
dataset = load_dataset("C0ldSmi1e/resume-dataset")
|
| 54 |
+
train_data = dataset["train"]
|
| 55 |
+
eval_data = dataset["eval"]
|
| 56 |
+
```
|