RRFRRF2 commited on
Commit
2cef07c
·
1 Parent(s): 5dc9a8b

feat:add TextRNN_Att-THUCNews

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. TextRNN_Att-THUCNews/Classification/README.md +110 -0
  2. TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/class.txt +10 -0
  3. TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/dev.txt +0 -0
  4. TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/embedding_SougouNews.npz +3 -0
  5. TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/embedding_Tencent.npz +3 -0
  6. TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/test.txt +0 -0
  7. TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/train.txt +0 -0
  8. TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/vocab.pkl +3 -0
  9. TextRNN_Att-THUCNews/Classification/dataset/THUCNews/saved_dict/model.ckpt +0 -0
  10. TextRNN_Att-THUCNews/Classification/dataset/index.json +0 -0
  11. TextRNN_Att-THUCNews/Classification/dataset/info.json +15 -0
  12. TextRNN_Att-THUCNews/Classification/dataset/labels.npy +3 -0
  13. TextRNN_Att-THUCNews/Classification/epochs/epoch_1/embeddings.npy +3 -0
  14. TextRNN_Att-THUCNews/Classification/epochs/epoch_1/model.pt +3 -0
  15. TextRNN_Att-THUCNews/Classification/epochs/epoch_1/predictions.npy +3 -0
  16. TextRNN_Att-THUCNews/Classification/epochs/epoch_10/embeddings.npy +3 -0
  17. TextRNN_Att-THUCNews/Classification/epochs/epoch_10/model.pt +3 -0
  18. TextRNN_Att-THUCNews/Classification/epochs/epoch_10/predictions.npy +3 -0
  19. TextRNN_Att-THUCNews/Classification/epochs/epoch_11/embeddings.npy +3 -0
  20. TextRNN_Att-THUCNews/Classification/epochs/epoch_11/model.pt +3 -0
  21. TextRNN_Att-THUCNews/Classification/epochs/epoch_11/predictions.npy +3 -0
  22. TextRNN_Att-THUCNews/Classification/epochs/epoch_12/embeddings.npy +3 -0
  23. TextRNN_Att-THUCNews/Classification/epochs/epoch_12/model.pt +3 -0
  24. TextRNN_Att-THUCNews/Classification/epochs/epoch_12/predictions.npy +3 -0
  25. TextRNN_Att-THUCNews/Classification/epochs/epoch_13/embeddings.npy +3 -0
  26. TextRNN_Att-THUCNews/Classification/epochs/epoch_13/model.pt +3 -0
  27. TextRNN_Att-THUCNews/Classification/epochs/epoch_13/predictions.npy +3 -0
  28. TextRNN_Att-THUCNews/Classification/epochs/epoch_14/embeddings.npy +3 -0
  29. TextRNN_Att-THUCNews/Classification/epochs/epoch_14/model.pt +3 -0
  30. TextRNN_Att-THUCNews/Classification/epochs/epoch_14/predictions.npy +3 -0
  31. TextRNN_Att-THUCNews/Classification/epochs/epoch_15/embeddings.npy +3 -0
  32. TextRNN_Att-THUCNews/Classification/epochs/epoch_15/model.pt +3 -0
  33. TextRNN_Att-THUCNews/Classification/epochs/epoch_15/predictions.npy +3 -0
  34. TextRNN_Att-THUCNews/Classification/epochs/epoch_16/embeddings.npy +3 -0
  35. TextRNN_Att-THUCNews/Classification/epochs/epoch_16/model.pt +3 -0
  36. TextRNN_Att-THUCNews/Classification/epochs/epoch_16/predictions.npy +3 -0
  37. TextRNN_Att-THUCNews/Classification/epochs/epoch_17/embeddings.npy +3 -0
  38. TextRNN_Att-THUCNews/Classification/epochs/epoch_17/model.pt +3 -0
  39. TextRNN_Att-THUCNews/Classification/epochs/epoch_17/predictions.npy +3 -0
  40. TextRNN_Att-THUCNews/Classification/epochs/epoch_18/embeddings.npy +3 -0
  41. TextRNN_Att-THUCNews/Classification/epochs/epoch_18/model.pt +3 -0
  42. TextRNN_Att-THUCNews/Classification/epochs/epoch_18/predictions.npy +3 -0
  43. TextRNN_Att-THUCNews/Classification/epochs/epoch_19/embeddings.npy +3 -0
  44. TextRNN_Att-THUCNews/Classification/epochs/epoch_19/model.pt +3 -0
  45. TextRNN_Att-THUCNews/Classification/epochs/epoch_19/predictions.npy +3 -0
  46. TextRNN_Att-THUCNews/Classification/epochs/epoch_2/embeddings.npy +3 -0
  47. TextRNN_Att-THUCNews/Classification/epochs/epoch_2/model.pt +3 -0
  48. TextRNN_Att-THUCNews/Classification/epochs/epoch_2/predictions.npy +3 -0
  49. TextRNN_Att-THUCNews/Classification/epochs/epoch_20/embeddings.npy +3 -0
  50. TextRNN_Att-THUCNews/Classification/epochs/epoch_20/model.pt +3 -0
TextRNN_Att-THUCNews/Classification/README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TextRNN 可视化实验脚本
2
+
3
+ 基于原始 Chinese-Text-Classification-Pytorch 仓库重构的 TextRNN 训练脚本,专门用于可视化实验。
4
+
5
+ ## 目录结构
6
+
7
+ ```
8
+ Classification/
9
+ ├── scripts/ # 脚本文件
10
+ │ ├── model.py # 模型定义,包含feature、get_prediction、prediction函数
11
+ │ ├── train.py # 训练脚本,支持多卡训练
12
+ │ ├── train.yaml # 训练配置文件
13
+ │ ├── dataset_utils.py # 数据集处理工具
14
+ │ └── get_label.py # 标签提取脚本
15
+ ├── dataset/ # 数据集文件
16
+ │ ├── train.txt # 训练数据
17
+ │ ├── dev.txt # 验证数据
18
+ │ ├── test.txt # 测试数据
19
+ │ ├── class.txt # 类别列表
20
+ │ ├── vocab.pkl # 词汇表
21
+ │ └── labels.npy # 提取的标签
22
+ └── epochs/ # 按epoch存放模型文件和特征向量
23
+ ├── epoch_1/
24
+ │ ├── model.pt # 模型权重
25
+ │ ├── embeddings.npy # 特征向量
26
+ │ └── predictions.npy # 预测值
27
+ └── epoch_2/
28
+ └── ...
29
+ ```
30
+
31
+ ## 功能说明
32
+
33
+ ### 1. model.py
34
+ - **Model类**: TextRNN模型实现
35
+ - **feature()**: 提取中间层特征向量(dropout层输出),用于可视化
36
+ - **get_prediction()**: 获取模型最终层输出向量(logits)
37
+ - **prediction()**: 根据中间特征向量预测结果
38
+
39
+ ### 2. train.py
40
+ - 支持多GPU训练
41
+ - 每个epoch自动保存模型、特征向量、预测值到 `epochs/epoch_N/`
42
+ - 支持配置文件驱动训练
43
+ - 实时显示训练进度和验证结果
44
+
45
+ ### 3. dataset_utils.py
46
+ - 数据集加载和预处理
47
+ - 词汇表构建
48
+ - 数据迭代器实现
49
+
50
+ ### 4. get_label.py
51
+ - 提取数据集标签并保存为 `labels.npy`
52
+ - 生成类别名称映射文件
53
+
54
+ ## 使用方法
55
+
56
+ ### 1. 准备数据集
57
+ 将THUCNews数据集放入 `dataset/` 目录:
58
+ ```bash
59
+ # 数据格式:每行一个样本,用tab分隔文本和标签
60
+ text1\t0
61
+ text2\t1
62
+ ...
63
+ ```
64
+
65
+ ### 2. 提取标签
66
+ ```bash
67
+ cd scripts
68
+ python get_label.py --config train.yaml --output ../dataset
69
+ ```
70
+
71
+ ### 3. 训练模型
72
+ ```bash
73
+ cd scripts
74
+ python train.py --config train.yaml
75
+ ```
76
+
77
+ ### 4. 配置文件说明
78
+ 编辑 `scripts/train.yaml` 来调整训练参数:
79
+ ```yaml
80
+ dataset_path: "../dataset" # 数据集路径
81
+ num_epochs: 20 # 训练轮数
82
+ batch_size: 128 # 批次大小
83
+ learning_rate: 0.001 # 学习率
84
+ use_word: false # false=字符级,true=词级
85
+ epochs_dir: "../epochs" # 模型保存路径
86
+ ```
87
+
88
+ ## 可视化数据
89
+
90
+ 训练完成后,每个epoch的数据保存在 `epochs/epoch_N/` 中:
91
+ - `model.pt`: 模型权重文件
92
+ - `embeddings.npy`: 特征向量矩阵 (N_samples, feature_dim)
93
+ - `predictions.npy`: 预测值矩阵 (N_samples, num_classes)
94
+
95
+ 这些数据可以直接用于可视化分析,如t-SNE降维、特征分布分析等。
96
+
97
+ ## 多GPU训练
98
+
99
+ 脚本自动检测可用GPU数量并启用多GPU训练:
100
+ ```python
101
+ # 自动使用所有可用GPU
102
+ if torch.cuda.device_count() > 1:
103
+ model = nn.DataParallel(model)
104
+ ```
105
+
106
+ ## 依赖要求
107
+
108
+ ```bash
109
+ pip install torch numpy scikit-learn tqdm pyyaml
110
+ ```
TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/class.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ finance
2
+ realty
3
+ stocks
4
+ education
5
+ science
6
+ society
7
+ politics
8
+ sports
9
+ game
10
+ entertainment
TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/dev.txt ADDED
The diff for this file is too large to render. See raw diff
 
TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/embedding_SougouNews.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:529917fbfd438697be8019befe41eb12e2b818815cac568a2fb5703782daa198
3
+ size 6339482
TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/embedding_Tencent.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c3d59d109f48f119a3e04bddd7b8ac4c11245d11c57335f6be2de7ba7130b28
3
+ size 4148151
TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/test.txt ADDED
The diff for this file is too large to render. See raw diff
 
TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/train.txt ADDED
The diff for this file is too large to render. See raw diff
 
TextRNN_Att-THUCNews/Classification/dataset/THUCNews/data/vocab.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:512b4100ae5e0063c8c5bfe44c85d2b1062b89d5abbdab6c2f76d80b2803cfd4
3
+ size 75018
TextRNN_Att-THUCNews/Classification/dataset/THUCNews/saved_dict/model.ckpt ADDED
File without changes
TextRNN_Att-THUCNews/Classification/dataset/index.json ADDED
The diff for this file is too large to render. See raw diff
 
TextRNN_Att-THUCNews/Classification/dataset/info.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "TextRNN_Att",
3
+ "classes": [
4
+ "finance",
5
+ "realty",
6
+ "stocks",
7
+ "education",
8
+ "science",
9
+ "society",
10
+ "politics",
11
+ "sports",
12
+ "game",
13
+ "entertainment"
14
+ ]
15
+ }
TextRNN_Att-THUCNews/Classification/dataset/labels.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e892bdf6c821c255196e0fe5685ee33b556a721fdd539da3a1dd6f9feec0d63a
3
+ size 1600128
TextRNN_Att-THUCNews/Classification/epochs/epoch_1/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:579851c6aa777a5dda00ab1554f67b0bb973254eb6be6f6e909e7fd26f7db412
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_1/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ef6364f55c3aa800ec7d0957a88121f6af495b1bb86dd1a5cfd527dc21b9f76
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_1/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6745d412e3a033b48dba013de806ebc9a218b987a203af6f436c0358b733f1e5
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_10/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:859d98649fef0dacb3984d64a51fbfa6f0b5509dc458f6eaa1156f4b948de1d3
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_10/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75018184108c678da8958cb2f9fe226926ca7ab2403ded1e03e84c1499a07db7
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_10/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:751a39cf0090487c5055e1f7dba262224d7a03b404475cb979b3fe75ac0f6d79
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_11/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39a720daaee318ba5dcbb222e738b2d610986bdb0e10490409a3072a0883968b
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_11/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80855a3b07e9cfd9fd6c0e14ff8b5a87a2bfce25c453f4b852a034794c698597
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_11/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10e8460e182140cc1d75696ffdb0dd207b0517e9afdd607375439adea258bc32
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_12/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e754621f97aa9129b99a159e332a5a5c4d791ccc777dbb4d779bea1c3b2e7f
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_12/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:326bda13e3899d24ac495b59aed664eb426107d1d9816d10347bd9f0097a5e8d
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_12/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e113d73f107385a07d16098abf7f36ff649e053d4f3dbf87c95d29a6d1637a5
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_13/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d86a59875abbca618f20504f9233acecf35fed2285b78b39d93b3c5b9f11baf
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_13/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bfe2a4baec3a988a7be6ddda50c7ac21f6425ab7dc7ba196ef7fba2b98196d6
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_13/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eaec2f00a705248148dca5273d45e32b0ea380e19e5926b4ceeac95f50517b64
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_14/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bd9d8a51eba44e6268cd5884ad8e436023c9b3fd8dce01447c26c04947f6fd9
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_14/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:096997b23125a56d53b283e61b1ea08872448f1a8a1a8fb5ad40c6337e41ef3b
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_14/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:768beef29b36113fb5a63b193c52c846055db76135a13d19986ca7c599c227de
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_15/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32ef17842c1080a5cfbd4055e8981338a1390dfe433430af9607ae9c8b460f08
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_15/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:570ca57a23e68bde74f757bad0073c6666997b4347f2bdc1a3f665325980dfd9
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_15/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65883e30d8f489abe9825d077b5f838fc82f441327cb978dcafafaeaaf5b0235
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_16/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b748d241b9891a9de309af92bf93e828699e463839214f4ba936d209ae01922
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_16/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95d4e2734b78689c2e74346da6c256ab5faa3d61ae7ce1ff6022239fb16a50f7
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_16/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bc8eba490a287206af9f9db52835cc23a3d75d69c456faa5ada4ba4d72c5fd6
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_17/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5412691048dda294fa76aea8a9b64b3c9b3081f9025f999b9a50e9103881ebb
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_17/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67571e77adb1509ffd2751a0e57521d9d98de2edc7e036e7722c59f67bd3339c
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_17/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8624abab08470e5df0a74db9c7447d939f345163baf5542c29b1a40d6014868c
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_18/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b64e579281856b070fa0b4bcf804750b6ff9b96846f59e0d004a88cfad707d40
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_18/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac8627bb971860d9b47518a43dcb05aa30622ec4284b346097519e086fb2efb2
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_18/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7613c36ebf09ea716e261ccdd72b439dab42b6ba9270b75b358e794bba464ee9
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_19/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82a96f25f424ace82896ff3171215ac2f67940308146fc8a80ecf6b394ae815b
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_19/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0364f80efc78579d359018b21e5e0ff149df403e93a65af9ee0008cd78403155
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_19/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aa84c68648d51e6dee87774422d5c02d1e07dd8290dd99fc15bd71017e1d4be
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_2/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e62280533165681bb4925b32f591ca2c189a18526e52ed0fed1b3f712d33fd10
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_2/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f418a5d1da5232ab3e1e67694bf49d5db865da1d567324d37891b2c26e52ba1
3
+ size 9130094
TextRNN_Att-THUCNews/Classification/epochs/epoch_2/predictions.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:022e0b732b8f7705a9e2b32f2f77e5c1f0e1cc25617e0ccaa4002fef7852117d
3
+ size 8000128
TextRNN_Att-THUCNews/Classification/epochs/epoch_20/embeddings.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce1fef2e7d371c80659a39ad4e2fb9f1541988d4128682b853727c1a89580948
3
+ size 204800128
TextRNN_Att-THUCNews/Classification/epochs/epoch_20/model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1248e7a7a4bbaacf713f656d9057d9624742439088317ee5fb7af5ebb63245fb
3
+ size 9130094