Update README.md
Browse files
README.md
CHANGED
|
@@ -40,11 +40,11 @@ https://huggingface.co/datasets/marcuskd/reviews_binary_not4_concat
|
|
| 40 |
|
| 41 |
Tokenized using:
|
| 42 |
|
| 43 |
-
```
|
| 44 |
tokenizer = AutoTokenizer.from_pretrained("ltgoslo/norbert2")
|
| 45 |
```
|
| 46 |
Training arguments for this model:
|
| 47 |
-
```
|
| 48 |
training_args = TrainingArguments(
|
| 49 |
output_dir='./results', # output directory
|
| 50 |
num_train_epochs=10, # total number of training epochs
|
|
@@ -61,8 +61,9 @@ training_args = TrainingArguments(
|
|
| 61 |
|
| 62 |
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 63 |
Evaluation by testing using test-split of dataset.
|
| 64 |
-
```
|
| 65 |
-
{
|
|
|
|
| 66 |
'recall': 0.886873508353222,
|
| 67 |
'precision': 0.8789025543992431,
|
| 68 |
'f1': 0.8828700403896412,
|
|
|
|
| 40 |
|
| 41 |
Tokenized using:
|
| 42 |
|
| 43 |
+
```python
|
| 44 |
tokenizer = AutoTokenizer.from_pretrained("ltgoslo/norbert2")
|
| 45 |
```
|
| 46 |
Training arguments for this model:
|
| 47 |
+
```python
|
| 48 |
training_args = TrainingArguments(
|
| 49 |
output_dir='./results', # output directory
|
| 50 |
num_train_epochs=10, # total number of training epochs
|
|
|
|
| 61 |
|
| 62 |
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 63 |
Evaluation by testing using test-split of dataset.
|
| 64 |
+
```python
|
| 65 |
+
{
|
| 66 |
+
'accuracy': 0.8357214261912695,
|
| 67 |
'recall': 0.886873508353222,
|
| 68 |
'precision': 0.8789025543992431,
|
| 69 |
'f1': 0.8828700403896412,
|