Instructions to use Dinithi/MAS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dinithi/MAS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Dinithi/MAS")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Dinithi/MAS") model = AutoModelForSequenceClassification.from_pretrained("Dinithi/MAS", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse files- config.json +1 -2
- pytorch_model.bin +1 -1
- runs/Apr03_01-00-39_2f924a6066d5/1680484122.7659175/events.out.tfevents.1680484122.2f924a6066d5.251.1 +3 -0
- runs/Apr03_01-00-39_2f924a6066d5/events.out.tfevents.1680484122.2f924a6066d5.251.0 +3 -0
- tokenizer.json +1 -1
- tokenizer_config.json +3 -3
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
| 8 |
-
"gradient_checkpointing": false,
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "emilyalsentzer/Bio_ClinicalBERT",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
|
|
|
| 8 |
"hidden_act": "gelu",
|
| 9 |
"hidden_dropout_prob": 0.1,
|
| 10 |
"hidden_size": 768,
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 433320053
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccd2252e687ae9b65ba3091edd589aa43e3110f3dad65adc63c063a06db7a629
|
| 3 |
size 433320053
|
runs/Apr03_01-00-39_2f924a6066d5/1680484122.7659175/events.out.tfevents.1680484122.2f924a6066d5.251.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27b8183877be744e0fdaf421f82435a5b4debdab0debad3bde4d75b0784a4c29
|
| 3 |
+
size 5842
|
runs/Apr03_01-00-39_2f924a6066d5/events.out.tfevents.1680484122.2f924a6066d5.251.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5906078e833cc9efb8ec3d4be440276519d17117aceab914a8db2678b3aa9c92
|
| 3 |
+
size 4385
|
tokenizer.json
CHANGED
|
@@ -59,7 +59,7 @@
|
|
| 59 |
"clean_text": true,
|
| 60 |
"handle_chinese_chars": true,
|
| 61 |
"strip_accents": null,
|
| 62 |
-
"lowercase":
|
| 63 |
},
|
| 64 |
"pre_tokenizer": {
|
| 65 |
"type": "BertPreTokenizer"
|
|
|
|
| 59 |
"clean_text": true,
|
| 60 |
"handle_chinese_chars": true,
|
| 61 |
"strip_accents": null,
|
| 62 |
+
"lowercase": true
|
| 63 |
},
|
| 64 |
"pre_tokenizer": {
|
| 65 |
"type": "BertPreTokenizer"
|
tokenizer_config.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
{
|
| 2 |
"cls_token": "[CLS]",
|
| 3 |
"do_basic_tokenize": true,
|
| 4 |
-
"do_lower_case":
|
| 5 |
"mask_token": "[MASK]",
|
| 6 |
-
"model_max_length":
|
| 7 |
"never_split": null,
|
| 8 |
"pad_token": "[PAD]",
|
| 9 |
"sep_token": "[SEP]",
|
| 10 |
-
"special_tokens_map_file":
|
| 11 |
"strip_accents": null,
|
| 12 |
"tokenize_chinese_chars": true,
|
| 13 |
"tokenizer_class": "BertTokenizer",
|
|
|
|
| 1 |
{
|
| 2 |
"cls_token": "[CLS]",
|
| 3 |
"do_basic_tokenize": true,
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
"mask_token": "[MASK]",
|
| 6 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 7 |
"never_split": null,
|
| 8 |
"pad_token": "[PAD]",
|
| 9 |
"sep_token": "[SEP]",
|
| 10 |
+
"special_tokens_map_file": null,
|
| 11 |
"strip_accents": null,
|
| 12 |
"tokenize_chinese_chars": true,
|
| 13 |
"tokenizer_class": "BertTokenizer",
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3579
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11f3dbb7f6d3c7c8425870c2a0f6f0812747afade1b3cfa17b8f5ac3f8d39a54
|
| 3 |
size 3579
|