File size: 1,124 Bytes
7727138
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---

language:
- en
tags:
- topic-modeling
- story-generation
- nlp
- pytorch
license: mit
---



# TopicNet-TopNet Integrated Model

Unified Framework for Semantic Graph-Guided Topic Discovery and Neural Topic-Driven Story Generation

## Model Architecture
- **TopicNet**: Semantic graph-guided topic discovery with LSTM encoder
- **TopNet**: Neural topic-driven story generation with cross-modal attention
- **Cross-Modal Attention**: Aligns topic discovery with story generation

## Training Results
- Topic Loss: ~2.996
- Story Loss: ~9.211
- Trained on NVIDIA V100 GPU
- 20 epochs, 200 batches/epoch

## Usage
```python

from transformers import AutoModel, AutoTokenizer



model = AutoModel.from_pretrained("your-username/topicnet-topnet-integrated")

tokenizer = AutoTokenizer.from_pretrained("your-username/topicnet-topnet-integrated")

```


## Citation
```bibtex

@article{topicnet_topnet_2024,

  title={Unified Framework for Semantic Graph-Guided Topic Discovery and Neural Topic-Driven Story Generation},

  author={Your Name},

  journal={arXiv preprint},

  year={2024}

}

```