Comments (5)
I don't think using the original split will make the model unable to train. You need to check your code.
from pytorch-multimodal_sarcasm_detection.
I found it also, and I changed to the original split, it run success, but F1 and acc decreased by 1.5% compare to original paper, is it some difference between tensorflow/pytorch
from pytorch-multimodal_sarcasm_detection.
I found it also, and I changed to the original split, it run success, but F1 and acc decreased by 1.5% compare to original paper, is it some difference between tensorflow/pytorch
Yes, it because I didn't do exactly the same as the original code:
- I initialized all weight by zero, instead of truncated normal distribution.
- In the LSTM part, the author did the dropout on hidden state, but I did it on the cell itself. It because PyTorch didn't support that yet, you may check here.
from pytorch-multimodal_sarcasm_detection.
I found it also, and I changed to the original split, it run success, but F1 and acc decreased by 1.5% compare to original paper, is it some difference between tensorflow/pytorch
Yes, it because I didn't do exactly the same as the original code:
- I initialized all weight by zero, instead of truncated normal distribution.
- In the LSTM part, the author did the dropout on hidden state, but I did it on the cell itself. It because PyTorch didn't support that yet, you may check here.
Thanks for your kind answer, I fix my code and it worked. By the way, I would like to know which part has been initialized by zero.
from pytorch-multimodal_sarcasm_detection.
I found it also, and I changed to the original split, it run success, but F1 and acc decreased by 1.5% compare to original paper, is it some difference between tensorflow/pytorch
Yes, it because I didn't do exactly the same as the original code:
- I initialized all weight by zero, instead of truncated normal distribution.
- In the LSTM part, the author did the dropout on hidden state, but I did it on the cell itself. It because PyTorch didn't support that yet, you may check here.
Thanks for your kind answer, I fix my code and it worked. By the way, I would like to know which part has been initialized by zero.
I may be incorrect, they might not be initialized by zero, but what I want to say is that I didn't do any of the work on the initialize part(except the "early fusion" which described in the paper). So all of the layers are initialized by PyTorch's default setting, which may differ from the original code.
from pytorch-multimodal_sarcasm_detection.
Related Issues (6)
- Image data HOT 2
- about parameter fc_dropout_rate HOT 1
- file path question HOT 3
- About five attributes HOT 3
- About Embedded HOT 1
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 pytorch-multimodal_sarcasm_detection.