jennyxycai
commited on
Commit
•
f02fbf0
1
Parent(s):
5aa29bc
Add model
Browse files- config.json +37 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/biogpt",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"architectures": [
|
5 |
+
"BioGptForTokenClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "B",
|
15 |
+
"1": "I",
|
16 |
+
"2": "0"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 4096,
|
20 |
+
"label2id": {
|
21 |
+
"B": 0,
|
22 |
+
"I": 1,
|
23 |
+
"O": 2
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-12,
|
26 |
+
"layerdrop": 0.0,
|
27 |
+
"max_position_embeddings": 1024,
|
28 |
+
"model_type": "biogpt",
|
29 |
+
"num_attention_heads": 16,
|
30 |
+
"num_hidden_layers": 24,
|
31 |
+
"pad_token_id": 1,
|
32 |
+
"scale_embedding": true,
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.35.2",
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 42384
|
37 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:450873b72de5f9e8173cc8cb46171b2489f39a2943b86f03e67aed5c5afebf11
|
3 |
+
size 1387108052
|