Tryfonas commited on
Commit
b998ba1
·
verified ·
1 Parent(s): acfa9ed

Uploading fine-tuned model

Browse files
Files changed (1) hide show
  1. README.md +29 -0
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BERT Fine-Tuned Classifier
2
+
3
+ This model was fine-tuned using BERT for text classification.
4
+
5
+ ## Training Details
6
+ - **Dataset:** [Your Dataset Name] # Replace with actual dataset
7
+ - **Hyperparameters:**
8
+ - Epochs: 3
9
+ - Batch Size: 8
10
+ - Learning Rate: 5e-5
11
+ - Weight Decay: 0.01
12
+
13
+ ## Evaluation Metrics
14
+ - **Loss:** 0.5719
15
+ - **Accuracy:** 87.74%
16
+ - **Precision:** 86.47%
17
+ - **Recall:** 89.56%
18
+ - **F1-score:** 87.99%
19
+
20
+ ## Model Usage
21
+ To use this model with `transformers`:
22
+ ```python
23
+ from transformers import pipeline
24
+
25
+ model_name = "Tryfonas/fine-tuned-bert-classifier-bds24" # Update with your repo name
26
+ classifier = pipeline("text-classification", model=model_name)
27
+
28
+ result = classifier("This is an example text")
29
+ print(result)