Instructions to use FanChen0116/full_train_valid_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FanChen0116/full_train_valid_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="FanChen0116/full_train_valid_model")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("FanChen0116/full_train_valid_model") model = AutoModelForTokenClassification.from_pretrained("FanChen0116/full_train_valid_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
b3e6d5d
1
Parent(s): 675431a
Training in progress epoch 29
Browse files- .gitignore +2 -0
- 0: predFile.json +0 -0
- 10: predFile.json +0 -0
- 11: predFile.json +0 -0
- 12: predFile.json +0 -0
- 13: predFile.json +0 -0
- 14: predFile.json +0 -0
- 15: predFile.json +0 -0
- 16: predFile.json +0 -0
- 17: predFile.json +0 -0
- 18: predFile.json +0 -0
- 19: predFile.json +0 -0
- 1: predFile.json +0 -0
- 20: predFile.json +0 -0
- 21: predFile.json +0 -0
- 22: predFile.json +0 -0
- 23: predFile.json +0 -0
- 24: predFile.json +0 -0
- 25: predFile.json +0 -0
- 26: predFile.json +0 -0
- 27: predFile.json +0 -0
- 28: predFile.json +0 -0
- 29: predFile.json +0 -0
- 2: predFile.json +0 -0
- 3: predFile.json +0 -0
- 4: predFile.json +0 -0
- 5: predFile.json +0 -0
- 6: predFile.json +0 -0
- 7: predFile.json +0 -0
- 8: predFile.json +0 -0
- 9: predFile.json +0 -0
- added_tokens.json +8 -0
- config.json +52 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- vocab.txt +0 -0
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step_*
|
| 2 |
+
epoch_*
|
0: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
10: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
11: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
12: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
13: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
14: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
15: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
16: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
17: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
18: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
19: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
1: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
20: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
21: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
22: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
23: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
24: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
25: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
26: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
27: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
28: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
29: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
2: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
3: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
4: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
5: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
6: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
7: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
8: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
9: predFile.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
added_tokens.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<None>": 29001,
|
| 3 |
+
"<date>": 28997,
|
| 4 |
+
"<first_name>": 28999,
|
| 5 |
+
"<last_name>": 29000,
|
| 6 |
+
"<people>": 28996,
|
| 7 |
+
"<time>": 28998
|
| 8 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "SpanBERT/spanbert-base-cased",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "O",
|
| 14 |
+
"1": "I-time",
|
| 15 |
+
"2": "B-date",
|
| 16 |
+
"3": "B-last_name",
|
| 17 |
+
"4": "B-people",
|
| 18 |
+
"5": "I-date",
|
| 19 |
+
"6": "I-people",
|
| 20 |
+
"7": "I-last_name",
|
| 21 |
+
"8": "I-first_name",
|
| 22 |
+
"9": "B-first_name",
|
| 23 |
+
"10": "B-time"
|
| 24 |
+
},
|
| 25 |
+
"initializer_range": 0.02,
|
| 26 |
+
"intermediate_size": 3072,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"B-date": 2,
|
| 29 |
+
"B-first_name": 9,
|
| 30 |
+
"B-last_name": 3,
|
| 31 |
+
"B-people": 4,
|
| 32 |
+
"B-time": 10,
|
| 33 |
+
"I-date": 5,
|
| 34 |
+
"I-first_name": 8,
|
| 35 |
+
"I-last_name": 7,
|
| 36 |
+
"I-people": 6,
|
| 37 |
+
"I-time": 1,
|
| 38 |
+
"O": 0
|
| 39 |
+
},
|
| 40 |
+
"layer_norm_eps": 1e-12,
|
| 41 |
+
"max_position_embeddings": 512,
|
| 42 |
+
"model_type": "bert",
|
| 43 |
+
"num_attention_heads": 12,
|
| 44 |
+
"num_hidden_layers": 12,
|
| 45 |
+
"pad_token_id": 0,
|
| 46 |
+
"position_embedding_type": "absolute",
|
| 47 |
+
"torch_dtype": "float32",
|
| 48 |
+
"transformers_version": "4.29.2",
|
| 49 |
+
"type_vocab_size": 2,
|
| 50 |
+
"use_cache": true,
|
| 51 |
+
"vocab_size": 29002
|
| 52 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53e8474e165370b1bf54c18f2b194f60a3f1ae44c6ca4c80c0010a0c80ae7225
|
| 3 |
+
size 431003117
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<people>",
|
| 4 |
+
"<date>",
|
| 5 |
+
"<time>",
|
| 6 |
+
"<first_name>",
|
| 7 |
+
"<last_name>",
|
| 8 |
+
"<None>"
|
| 9 |
+
],
|
| 10 |
+
"cls_token": "[CLS]",
|
| 11 |
+
"mask_token": "[MASK]",
|
| 12 |
+
"pad_token": "[PAD]",
|
| 13 |
+
"sep_token": "[SEP]",
|
| 14 |
+
"unk_token": "[UNK]"
|
| 15 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"clean_up_tokenization_spaces": true,
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"do_basic_tokenize": true,
|
| 5 |
+
"do_lower_case": true,
|
| 6 |
+
"mask_token": "[MASK]",
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"never_split": null,
|
| 9 |
+
"pad_token": "[PAD]",
|
| 10 |
+
"sep_token": "[SEP]",
|
| 11 |
+
"strip_accents": null,
|
| 12 |
+
"tokenize_chinese_chars": true,
|
| 13 |
+
"tokenizer_class": "BertTokenizer",
|
| 14 |
+
"unk_token": "[UNK]"
|
| 15 |
+
}
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|