Comments (2)
Hello @baokemi,
Have you seen any code in this repo related to this step in their paper?
Each utterance is converted to the [CLS] representation concatenated with the topic representation
$z_n$ and knowledge
representation$c_n$
In the code, the output from the topic-driven Roberta model is then fed into transformer classifier without any concatenation.
Maybe I miss something. What do you think?
from todkat.
Hi there, thanks for the interest in our work. The extra knowledge is generated from the Comic and SentenceBert respectively. The files are too large to upload and knowledge base construction is not in the scope of our work. I have uploaded the version you can refer to. Simply run the atomic_extractor.py
and main_gen.py
to retrieve the knowledge and enhance the dataset. Please be aware that you need to download the atomic dataset and the comet_pretrained_models and place them in the dataset directory.
from todkat.
Related Issues (15)
- Cuda Issue while training. HOT 1
- RuntimeError: Tensor for 'out' is on CPU, Tensor for argument #1 'self' is on CPU, but expected them to be on GPU (while checking arguments for addmm)
- I wonder if there's any code about the topic representation learning. It would be a great help if you can realease this part of code.😊 HOT 1
- Error with meld dataset HOT 1
- Where is the point network? HOT 1
- Wrong Weighted-Avg F1 in All Experiments HOT 1
- There is only "self.transformerlayer = TransformerEncoderLayer" in "class TransformerUnit", but no "TransformerDecoderLayer". HOT 1
- model path error HOT 2
- wrong results on emorynlp HOT 2
- Codes for commonsense selection and integration HOT 1
- Can't access"https://huggingface.co/api/save/topic-language-model-emory"
- Where is the topic vector based on VAE HOT 2
- Where is VAE code??? HOT 1
- who could tell me where is tramsfomers file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from todkat.