Commit
·
ff6f5b5
0
Parent(s):
init:文本分类任务
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +56 -0
- .gitignore +7 -0
- TextCNN-THUCNews/Classification/README.md +110 -0
- TextCNN-THUCNews/Classification/dataset/THUCNews/data/class.txt +10 -0
- TextCNN-THUCNews/Classification/dataset/THUCNews/data/dev.txt +0 -0
- TextCNN-THUCNews/Classification/dataset/THUCNews/data/embedding_SougouNews.npz +3 -0
- TextCNN-THUCNews/Classification/dataset/THUCNews/data/embedding_Tencent.npz +3 -0
- TextCNN-THUCNews/Classification/dataset/THUCNews/data/test.txt +0 -0
- TextCNN-THUCNews/Classification/dataset/THUCNews/data/train.txt +0 -0
- TextCNN-THUCNews/Classification/dataset/THUCNews/data/vocab.pkl +3 -0
- TextCNN-THUCNews/Classification/dataset/THUCNews/saved_dict/model.ckpt +0 -0
- TextCNN-THUCNews/Classification/dataset/index.json +0 -0
- TextCNN-THUCNews/Classification/dataset/info.json +15 -0
- TextCNN-THUCNews/Classification/dataset/labels.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_1/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_1/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_1/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_10/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_10/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_10/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_11/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_11/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_11/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_12/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_12/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_12/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_13/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_13/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_13/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_14/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_14/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_14/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_15/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_15/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_15/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_16/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_16/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_16/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_17/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_17/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_17/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_18/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_18/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_18/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_19/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_19/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_19/predictions.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_2/embeddings.npy +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_2/model.pt +3 -0
- TextCNN-THUCNews/Classification/epochs/epoch_2/predictions.npy +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
# Audio files - uncompressed
|
| 38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
# Audio files - compressed
|
| 42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
# Image files - uncompressed
|
| 48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
# Image files - compressed
|
| 53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
ResNet-CIFAR10/Classification-normal/dataset/cifar-10-batches-py/* filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.pyc
|
| 2 |
+
_pycache_
|
| 3 |
+
model-CIFAR10
|
| 4 |
+
|
| 5 |
+
#cifar10
|
| 6 |
+
**/cifar-10-batches-py/
|
| 7 |
+
**/cifar-10-python.tar.gz
|
TextCNN-THUCNews/Classification/README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TextCNN 可视化实验脚本
|
| 2 |
+
|
| 3 |
+
基于原始 Chinese-Text-Classification-Pytorch 仓库重构的 TextCNN 训练脚本,专门用于可视化实验。
|
| 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类**: TextCNN模型实现
|
| 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 |
+
```
|
TextCNN-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
|
TextCNN-THUCNews/Classification/dataset/THUCNews/data/dev.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TextCNN-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
|
TextCNN-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
|
TextCNN-THUCNews/Classification/dataset/THUCNews/data/test.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TextCNN-THUCNews/Classification/dataset/THUCNews/data/train.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TextCNN-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
|
TextCNN-THUCNews/Classification/dataset/THUCNews/saved_dict/model.ckpt
ADDED
|
File without changes
|
TextCNN-THUCNews/Classification/dataset/index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TextCNN-THUCNews/Classification/dataset/info.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "TextCNN",
|
| 3 |
+
"classes": [
|
| 4 |
+
"finance",
|
| 5 |
+
"realty",
|
| 6 |
+
"stocks",
|
| 7 |
+
"education",
|
| 8 |
+
"science",
|
| 9 |
+
"society",
|
| 10 |
+
"politics",
|
| 11 |
+
"sports",
|
| 12 |
+
"game",
|
| 13 |
+
"entertainment"
|
| 14 |
+
]
|
| 15 |
+
}
|
TextCNN-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
|
TextCNN-THUCNews/Classification/epochs/epoch_1/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:402b14d3ea184111f2efde0f268bb4bdec4586564890c80d800a8d4db185e698
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_1/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2048b7c86d0f76fa0e82db46ff20d721ee96b1357f197e0f99fac94ecc991a38
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_1/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76b0a92a1d385d6f9ee2477319fc7ab140571afc1ae5c2686d6375f7451306c9
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_10/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de6c3021954903c8f86968fa40d0afa3f5cd52563cf90676eff2ac9ea2d62200
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_10/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4eb95fde7821e883605fa044880cb9bf7744a9bad09f2722ec2619b69be77e5
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_10/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be90d7349fdc157ae6b1b7454ea3d4ed6e65a27d6a27ee0e464bbad35df957d4
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_11/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49843116616633bbbf5eae77b8ffca8e42fbb8922707522c84d93a78fa804047
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_11/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5607a540693db1381e64656a0c8a3b05b0d090f744276e0ed4d34eaad39db63
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_11/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7793dd4b238ca97ce4335942fb2f49f12f51c02214aaca70b756c0e340afac6
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_12/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be29bccef2f29ce5ba5ddf837107266f188324566614450c9f5b5be69e341ef8
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_12/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee47cc6ad04e708bf90d35e179b388b806e6a14f647ac9701ebb0c75a056220a
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_12/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abde9f872082f83ed170c66e85ce73514056e5afa822338bef18bc884e7ad902
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_13/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b79f0df1da94d6a9009c215e953ed660c69544f0863cfb1125542e022d44634
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_13/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac989a115445efffe6064dc7861cc3bb822ae59413c3b81858195d939aa20a01
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_13/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b916bd5d31011ecf7cf4802459c56749ebe1689f7834665fe9f9c92c4db6926f
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_14/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df937a916f652883dbc9a26ff8f7f0e2cdadaeb8650d93b7ee912e9c5c53dcd1
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_14/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:da41b5d553ccdb4d615c9571efbf9dddfa1a45e351a7ead74eed4e77aa242f33
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_14/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bf1d89494674b6e6469e97c02e6659cbee38366814836bbcab263b8001f70b9
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_15/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75d245bb207cd726d14dc6b287cc25b450fa0987b93f6a57cef8915aa29f579f
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_15/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:280074b9459c2364b10da91f66b001753f850480500060875a4bf0bbad4718f3
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_15/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:942580b4b652857e0e76bd5807a5775bc961b9d94e6bb46fcd84ad8a5cf49f27
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_16/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e96de8e9f7153dd483202052052628f97813043d085eb4b84e5468474f05762
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_16/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8f6ce9f6c08c083678f4906ab105f1ca70a14b16f9a8869652086ce51643b67
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_16/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6413125076d007b8b3505e85b477c139ca923bfbf76c6c0622e8a30023930af7
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_17/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bede594abf9bdb3714d7cb7aa7d3671515ac373ded3a3eb8096d91e5b2435ec
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_17/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:426806a0c3871568298876b5f4ae2b382da1bbd7d10f9b6478f777dea9d75d35
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_17/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cdde3f8856de9218d8293617e01401326a9a53fe6e4e256caa1969133146628
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_18/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b701a2d380f57ce4340c464ab0a45cac44035f96ebff54b7a4dbe2924743b536
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_18/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dc30343ef8e40bf45ecde6afdf9c8c39889cd32c6ec46b4f10a7b4bf834d5ee
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_18/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb8a313c64ecda26b4b52c6acf5a64edd8422d510e40bad7859aa39b591fda60
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_19/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60bc51e46d01929701e5e192c43dcf948cc9530208e30ad6363ce2cef6d4eb3c
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_19/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c5597476e5f0139109addee747c7fb08af67c84e4d9801067fb124955dc0366
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_19/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:211fab9ef94569a39e7a8320b74b8207a041f8f2769b29dc930e4fe74654ff23
|
| 3 |
+
size 8000128
|
TextCNN-THUCNews/Classification/epochs/epoch_2/embeddings.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:954e73f7e732efb218b7ecb5a99346657ca4a24a94a015ee9a48bfcc16010abb
|
| 3 |
+
size 614400128
|
TextCNN-THUCNews/Classification/epochs/epoch_2/model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0d297c9c35c48f30da954efb84b63ccfa32cc09eef7ce4bef07d3046d44c574
|
| 3 |
+
size 8516130
|
TextCNN-THUCNews/Classification/epochs/epoch_2/predictions.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a571e37842a23aafa7cf7712c4ae093bf20530c7842018e08cc7d72bcbf6a57f
|
| 3 |
+
size 8000128
|