Instructions to use drkareemkamal/finetunePathologicalTextUsingBioBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use drkareemkamal/finetunePathologicalTextUsingBioBERT with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("emilyalsentzer/Bio_ClinicalBERT") model = PeftModel.from_pretrained(base_model, "drkareemkamal/finetunePathologicalTextUsingBioBERT") - Transformers
How to use drkareemkamal/finetunePathologicalTextUsingBioBERT with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("drkareemkamal/finetunePathologicalTextUsingBioBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 1000
Browse files- adapter_config.json +9 -6
- adapter_model.safetensors +2 -2
- training_args.bin +3 -0
adapter_config.json
CHANGED
|
@@ -18,11 +18,14 @@
|
|
| 18 |
"loftq_config": {},
|
| 19 |
"lora_alpha": 32,
|
| 20 |
"lora_bias": false,
|
| 21 |
-
"lora_dropout": 0.
|
| 22 |
"lora_ga_config": null,
|
| 23 |
"megatron_config": null,
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
-
"modules_to_save":
|
|
|
|
|
|
|
|
|
|
| 26 |
"peft_type": "LORA",
|
| 27 |
"peft_version": "0.19.1",
|
| 28 |
"qalora_group_size": 16,
|
|
@@ -30,13 +33,13 @@
|
|
| 30 |
"rank_pattern": {},
|
| 31 |
"revision": null,
|
| 32 |
"target_modules": [
|
| 33 |
-
"dense",
|
| 34 |
-
"query",
|
| 35 |
"value",
|
| 36 |
-
"
|
|
|
|
|
|
|
| 37 |
],
|
| 38 |
"target_parameters": null,
|
| 39 |
-
"task_type": "
|
| 40 |
"trainable_token_indices": null,
|
| 41 |
"use_bdlora": null,
|
| 42 |
"use_dora": false,
|
|
|
|
| 18 |
"loftq_config": {},
|
| 19 |
"lora_alpha": 32,
|
| 20 |
"lora_bias": false,
|
| 21 |
+
"lora_dropout": 0.1,
|
| 22 |
"lora_ga_config": null,
|
| 23 |
"megatron_config": null,
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
+
"modules_to_save": [
|
| 26 |
+
"classifier",
|
| 27 |
+
"score"
|
| 28 |
+
],
|
| 29 |
"peft_type": "LORA",
|
| 30 |
"peft_version": "0.19.1",
|
| 31 |
"qalora_group_size": 16,
|
|
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
|
|
|
|
|
|
| 36 |
"value",
|
| 37 |
+
"query",
|
| 38 |
+
"key",
|
| 39 |
+
"dense"
|
| 40 |
],
|
| 41 |
"target_parameters": null,
|
| 42 |
+
"task_type": "SEQ_CLS",
|
| 43 |
"trainable_token_indices": null,
|
| 44 |
"use_bdlora": null,
|
| 45 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d23041afd45f71cef5096dfaf537124964393c2e3da127bc04925149ce4b190
|
| 3 |
+
size 10738780
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b39a45fc4cf50aff6866ab810b07f73dc7d4188356524c4d0e019e40741a4ffe
|
| 3 |
+
size 4984
|