Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ This is a fine-tuned BERT model for question answering tasks, trained on a custo
|
|
| 20 |
|
| 21 |
- **Model:** BERT-base-uncased
|
| 22 |
- **Task:** Question Answering
|
| 23 |
-
- **Dataset:**
|
| 24 |
|
| 25 |
## Usage
|
| 26 |
|
|
@@ -55,6 +55,14 @@ for question in questions:
|
|
| 55 |
- Epochs: 3
|
| 56 |
- Training Loss: 2.050335, 1.345047, 1.204442
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
### Dataset
|
| 59 |
The model was trained on the [Rep00Zon](https://huggingface.co/datasets/prabinpanta0/Rep00Zon) dataset.
|
| 60 |
|
|
|
|
| 20 |
|
| 21 |
- **Model:** BERT-base-uncased
|
| 22 |
- **Task:** Question Answering
|
| 23 |
+
- **Dataset:** [Rep00Zon](https://huggingface.co/datasets/prabinpanta0/Rep00Zon)
|
| 24 |
|
| 25 |
## Usage
|
| 26 |
|
|
|
|
| 55 |
- Epochs: 3
|
| 56 |
- Training Loss: 2.050335, 1.345047, 1.204442
|
| 57 |
|
| 58 |
+
### Token
|
| 59 |
+
```
|
| 60 |
+
text = "Berlin is the capital of Germany. Paris is the capital of France. Madrid is the capital of Spain."
|
| 61 |
+
tokens = tokenizer.tokenize(text)
|
| 62 |
+
print(tokens)
|
| 63 |
+
```
|
| 64 |
+
*Output:*
|
| 65 |
+
```['berlin', 'is', 'the', 'capital', 'of', 'germany', '.', 'paris', 'is', 'the', 'capital', 'of', 'france', '.', 'madrid', 'is', 'the', 'capital', 'of', 'spain', '.']```
|
| 66 |
### Dataset
|
| 67 |
The model was trained on the [Rep00Zon](https://huggingface.co/datasets/prabinpanta0/Rep00Zon) dataset.
|
| 68 |
|