Instructions to use HugoGiddins/roberta-base-timeframe-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use HugoGiddins/roberta-base-timeframe-classifier with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("vinai/bertweet-base") model = PeftModel.from_pretrained(base_model, "HugoGiddins/roberta-base-timeframe-classifier") - Notebooks
- Google Colab
- Kaggle
Upload fine-tuned timeframe model from Colab
Browse files- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -27,8 +27,8 @@
|
|
| 27 |
"rank_pattern": {},
|
| 28 |
"revision": null,
|
| 29 |
"target_modules": [
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
],
|
| 33 |
"task_type": "SEQ_CLS",
|
| 34 |
"trainable_token_indices": null,
|
|
|
|
| 27 |
"rank_pattern": {},
|
| 28 |
"revision": null,
|
| 29 |
"target_modules": [
|
| 30 |
+
"query",
|
| 31 |
+
"value"
|
| 32 |
],
|
| 33 |
"task_type": "SEQ_CLS",
|
| 34 |
"trainable_token_indices": null,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4765960
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fa499ba2ddc19152741a39be5ec70267787767e52105df9990c5a25f2a00212
|
| 3 |
size 4765960
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55af94b63a84031208e1f7ec780222112ba43b8c88baedb9104efd02896bd8c4
|
| 3 |
size 5368
|