DrishtiSharma
commited on
Commit
•
940795f
1
Parent(s):
89faae3
Upload . with huggingface_hub
Browse files- README.md +18 -0
- adapter-roberta-base-amazon-polarity.pkl +3 -0
- results.json +1 -0
README.md
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- text-classification
|
4 |
+
- amazon-polarity
|
5 |
+
- roberta-base
|
6 |
+
- Adapter
|
7 |
+
---
|
8 |
+
|
9 |
+
# **we train an adapter for a RoBERTa model for sequence classification on a sentiment analysis task using adapter-transformers, the AdapterHub adaptation of HuggingFace's transformers library.**
|
10 |
+
|
11 |
+
## Usage
|
12 |
+
|
13 |
+
```python
|
14 |
+
|
15 |
+
model = load_from_hub(repo_id="DrishtiSharma/Adapter-for-RoBERTa-on-amazon-polarity", filename="adapter-roberta-base-amazon-polarity.pkl")
|
16 |
+
|
17 |
+
```
|
18 |
+
|
adapter-roberta-base-amazon-polarity.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f9a0117847bf6a49e6ddbd1409e13f39c60695648ef2baf8fb16966d3bfca0d
|
3 |
+
size 504669008
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"eval_loss": 0.1150890588760376, "eval_acc": 0.95941, "eval_samples_per_second": 715.503, "eval_steps_per_second": 22.359, "epoch": 0.71, "eval_datetime": "2023-03-12T21:10:31.440133"}
|