Skip to content

Commit f8d61c2

Browse files
authored
Add albert t5 (#291)
* fix model's hash and json * add new bart and xlnet models * add new albert and t5 models * fix nlp_getter f format * add new t5 and albert models
1 parent 29fe704 commit f8d61c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+37584
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"framework": "paddle",
3+
"model_name": "albert-base-v1",
4+
"num_devices_required": 1,
5+
"num_nodes_required": 1
6+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
class Program_weight_tensor_data_0:
2+
name = "data_0"
3+
shape = [1, 21]
4+
dtype = "int64"
5+
data = [
6+
2,
7+
10975,
8+
15,
9+
51,
10+
204,
11+
25,
12+
1909,
13+
9,
14+
31,
15+
589,
16+
2477,
17+
88,
18+
370,
19+
816,
20+
2761,
21+
17,
22+
66,
23+
2607,
24+
18,
25+
9,
26+
3,
27+
]
28+
29+
30+
class Program_weight_tensor_data_1:
31+
name = "data_1"
32+
shape = [1, 21]
33+
dtype = "int64"
34+
data = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
35+
36+
37+
class Program_weight_tensor_data_2:
38+
name = "data_2"
39+
shape = [1, 21]
40+
dtype = "int64"
41+
data = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

0 commit comments

Comments
 (0)