Comments (4)
torch版本问题,退到1.4即可
from bert-transformer-for-summarization.
torch版本问题,退到1.4即可
没用啊老哥,不是版本问题。
from bert-transformer-for-summarization.
我也遇到了,你解决了吗?
from bert-transformer-for-summarization.
修改Beam.py中的
hyp.append(self.next_ys[j+1][k].type(torch.long))
k = self.prev_ks[j][k].type(torch.long)
就可以解决了。跟torch版本没关系,但是这个模型的效果极其差
from bert-transformer-for-summarization.
Related Issues (14)
- thank you for your good job,some questions HOT 5
- How can i run it with cpu?
- 请问,您训练集训练了多少个epoch才得到认为不错的效果 HOT 1
- python train.py --data_dir ./data/ --bert_model ./pretrained_model
- The generated summaries are all [pad] characters? HOT 1
- how can i get train.csv? HOT 3
- 可以加你qq吗
- Question about optimizer. HOT 2
- where is "pytorch_model.bin"?
- TypeError: beam_decode() missing 2 required positional arguments: 'beam_size' and 'n_best' HOT 1
- results HOT 3
- Can' t find pytorch_model.bin
- hello,I really need your help 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 bert-transformer-for-summarization.