Instructions to use maonx/RoutingModelV1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maonx/RoutingModelV1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="maonx/RoutingModelV1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("maonx/RoutingModelV1") model = AutoModelForSequenceClassification.from_pretrained("maonx/RoutingModelV1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +35 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Mar24_05-20-11_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711258142.ca-ds-mao-nguyen-notebook-1-0.4871.0 +3 -0
- runs/Mar24_05-20-11_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711258306.ca-ds-mao-nguyen-notebook-1-0.4871.1 +3 -0
- runs/Mar24_05-43-03_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259039.ca-ds-mao-nguyen-notebook-1-0.4871.2 +3 -0
- runs/Mar24_05-49-54_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259403.ca-ds-mao-nguyen-notebook-1-0.4871.3 +3 -0
- runs/Mar24_05-52-15_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259541.ca-ds-mao-nguyen-notebook-1-0.4871.4 +3 -0
- runs/Mar24_05-53-36_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259630.ca-ds-mao-nguyen-notebook-1-0.4871.5 +3 -0
- runs/Mar24_05-54-29_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259673.ca-ds-mao-nguyen-notebook-1-0.4871.6 +3 -0
- runs/Mar24_06-01-45_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260112.ca-ds-mao-nguyen-notebook-1-0.4871.7 +3 -0
- runs/Mar24_06-05-10_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260318.ca-ds-mao-nguyen-notebook-1-0.4871.8 +3 -0
- runs/Mar24_06-05-10_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260703.ca-ds-mao-nguyen-notebook-1-0.4871.9 +3 -0
- runs/Mar24_06-05-10_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260783.ca-ds-mao-nguyen-notebook-1-0.4871.10 +3 -0
- runs/Mar24_06-05-10_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260866.ca-ds-mao-nguyen-notebook-1-0.4871.11 +3 -0
- runs/Mar24_06-15-26_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260936.ca-ds-mao-nguyen-notebook-1-0.4871.12 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +61 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "mrm8488/distilroberta-finetuned-banking77",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"RobertaForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"gradient_checkpointing": false,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 768,
|
| 14 |
+
"id2label": {
|
| 15 |
+
"0": "LABEL_0"
|
| 16 |
+
},
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 3072,
|
| 19 |
+
"label2id": {
|
| 20 |
+
"LABEL_0": 0
|
| 21 |
+
},
|
| 22 |
+
"layer_norm_eps": 1e-05,
|
| 23 |
+
"max_position_embeddings": 514,
|
| 24 |
+
"model_type": "roberta",
|
| 25 |
+
"num_attention_heads": 12,
|
| 26 |
+
"num_hidden_layers": 6,
|
| 27 |
+
"pad_token_id": 1,
|
| 28 |
+
"position_embedding_type": "absolute",
|
| 29 |
+
"problem_type": "single_label_classification",
|
| 30 |
+
"torch_dtype": "float32",
|
| 31 |
+
"transformers_version": "4.39.1",
|
| 32 |
+
"type_vocab_size": 1,
|
| 33 |
+
"use_cache": true,
|
| 34 |
+
"vocab_size": 50265
|
| 35 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaf046302f001dd958b84faa801a0fc589e0813cc21a6a067c6d5fe79bb3b3f5
|
| 3 |
+
size 328489204
|
runs/Mar24_05-20-11_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711258142.ca-ds-mao-nguyen-notebook-1-0.4871.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d076bc02d396e9d89bc840538f4644c6b1593e8380c7372b5b4a82bddc5a1bd
|
| 3 |
+
size 4762
|
runs/Mar24_05-20-11_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711258306.ca-ds-mao-nguyen-notebook-1-0.4871.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ec7381ff19bd51cb892e29f73184ad79165e41ed84e403516a6f409e54ca19d
|
| 3 |
+
size 4762
|
runs/Mar24_05-43-03_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259039.ca-ds-mao-nguyen-notebook-1-0.4871.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e87decabbbb614fa80d76a7d319e149d18084120afd793e2001a6332e2155d4
|
| 3 |
+
size 4762
|
runs/Mar24_05-49-54_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259403.ca-ds-mao-nguyen-notebook-1-0.4871.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:221200fd6acf945f56bee88ad247899c6374f4409b84d1ae1722164361e5e28c
|
| 3 |
+
size 4762
|
runs/Mar24_05-52-15_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259541.ca-ds-mao-nguyen-notebook-1-0.4871.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1415f8ffaea857c731e72eac18192f331488cd2e9824fcd023a7ded11b951773
|
| 3 |
+
size 4762
|
runs/Mar24_05-53-36_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259630.ca-ds-mao-nguyen-notebook-1-0.4871.5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:191b8659c28042a01c6e46000d39517b82eb80e4ba4c4ecd594f09bd84eded53
|
| 3 |
+
size 4762
|
runs/Mar24_05-54-29_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711259673.ca-ds-mao-nguyen-notebook-1-0.4871.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ab3c0d5eb5a5f586f09eef043a4911795e38430e8f8a3097a6f1adb37a161c8
|
| 3 |
+
size 4762
|
runs/Mar24_06-01-45_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260112.ca-ds-mao-nguyen-notebook-1-0.4871.7
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff12d85a2ca047266fe8463434b734646a7c605abd2f09c871a4db7b258e69d9
|
| 3 |
+
size 4762
|
runs/Mar24_06-05-10_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260318.ca-ds-mao-nguyen-notebook-1-0.4871.8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98cf92a1e9627c17c56509cb3f91c632e3ce16c3e34f71635fd01142e59d6d36
|
| 3 |
+
size 4840
|
runs/Mar24_06-05-10_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260703.ca-ds-mao-nguyen-notebook-1-0.4871.9
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eba1bcdff639d8b544666f6bf6275b6e42b528b32d5bbe1a3acbf0a34e778daf
|
| 3 |
+
size 4840
|
runs/Mar24_06-05-10_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260783.ca-ds-mao-nguyen-notebook-1-0.4871.10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e87bef6a7ccbca87254766894afd7f3dff931838eb81be719ee6161825f4a9fc
|
| 3 |
+
size 4840
|
runs/Mar24_06-05-10_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260866.ca-ds-mao-nguyen-notebook-1-0.4871.11
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:509f361f78bdde95cbf3c692952cf03961fad0430749d721018bf42f4509824f
|
| 3 |
+
size 9592
|
runs/Mar24_06-15-26_ca-ds-mao-nguyen-notebook-1-0/events.out.tfevents.1711260936.ca-ds-mao-nguyen-notebook-1-0.4871.12
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b81b93bc348b8fa2d966cb305fb5c2d94d54d21e2385f71017a08ffb41a3eed
|
| 3 |
+
size 9915
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"cls_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"mask_token": {
|
| 24 |
+
"content": "<mask>",
|
| 25 |
+
"lstrip": true,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"pad_token": {
|
| 31 |
+
"content": "<pad>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
},
|
| 37 |
+
"sep_token": {
|
| 38 |
+
"content": "</s>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false
|
| 43 |
+
},
|
| 44 |
+
"unk_token": {
|
| 45 |
+
"content": "<unk>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false
|
| 50 |
+
}
|
| 51 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"50264": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": true,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"errors": "replace",
|
| 50 |
+
"mask_token": "<mask>",
|
| 51 |
+
"max_length": 512,
|
| 52 |
+
"model_max_length": 512,
|
| 53 |
+
"pad_token": "<pad>",
|
| 54 |
+
"sep_token": "</s>",
|
| 55 |
+
"stride": 0,
|
| 56 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 57 |
+
"trim_offsets": true,
|
| 58 |
+
"truncation_side": "right",
|
| 59 |
+
"truncation_strategy": "longest_first",
|
| 60 |
+
"unk_token": "<unk>"
|
| 61 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b9c57e336d36d2ded6618ee73a094e4b10abbbbcbcc2a7b8dc6b9cd82bcad68
|
| 3 |
+
size 4475
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|