Skip to content

Commit 6917249

Browse files
committed
Add nlp samples of ernie1.0 models.
1 parent 5fc2081 commit 6917249

File tree

15 files changed

+19323
-0
lines changed

15 files changed

+19323
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18ee8d7a8c41e47428b3f7a1e25c3066445106e38fa8a4e828dc318c6bd602e9
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": "ernie-1.0-base-zh-cw",
4+
"num_devices_required": 1,
5+
"num_nodes_required": 1
6+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
class Program_weight_tensor_data_0:
2+
name = "data_0"
3+
shape = [1, 11]
4+
dtype = "int64"
5+
data = [1, 355, 1045, 238, 36, 456, 131, 745, 3764, 23488, 2]
6+
7+
8+
class Program_weight_tensor_data_1:
9+
name = "data_1"
10+
shape = [1, 11]
11+
dtype = "int64"
12+
data = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

0 commit comments

Comments
 (0)