Instructions to use HugoGiddins/multi-tag-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use HugoGiddins/multi-tag-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/multi-tag-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
|
@@ -28,8 +28,8 @@
|
|
| 28 |
"rank_pattern": {},
|
| 29 |
"revision": null,
|
| 30 |
"target_modules": [
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
],
|
| 34 |
"task_type": "SEQ_CLS",
|
| 35 |
"trainable_token_indices": null,
|
|
|
|
| 28 |
"rank_pattern": {},
|
| 29 |
"revision": null,
|
| 30 |
"target_modules": [
|
| 31 |
+
"query",
|
| 32 |
+
"value"
|
| 33 |
],
|
| 34 |
"task_type": "SEQ_CLS",
|
| 35 |
"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 4842860
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e954b44c777df24e56d8facd2f0aa977dc76ad34af9a172e9ae4e513b2b83c54
|
| 3 |
size 4842860
|
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:bf07e9bea2d902a859bed882dc1af85c204c212c633d2b8afa65a01f358b24ce
|
| 3 |
size 5368
|