Update README.md
Browse files
README.md
CHANGED
|
@@ -34,7 +34,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
| 34 |
import torch
|
| 35 |
import torch.nn.functional as F
|
| 36 |
|
| 37 |
-
model_name = "
|
| 38 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 39 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
| 40 |
model.eval()
|
|
@@ -51,5 +51,5 @@ print(label, probs)
|
|
| 51 |
|
| 52 |
## Limitations
|
| 53 |
|
| 54 |
-
The model may misclassify subtle or sarcastic inputs.
|
| 55 |
-
Fine-tuned with a small number of epochs — more training may improve performance.
|
|
|
|
| 34 |
import torch
|
| 35 |
import torch.nn.functional as F
|
| 36 |
|
| 37 |
+
model_name = "RiyaSirohi/bert-base-lora-6class"
|
| 38 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 39 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
| 40 |
model.eval()
|
|
|
|
| 51 |
|
| 52 |
## Limitations
|
| 53 |
|
| 54 |
+
- The model may misclassify subtle or sarcastic inputs.
|
| 55 |
+
- Fine-tuned with a small number of epochs — more training may improve performance.
|