Comments (3)
After validation, you can find a folder nats_results/model/. This folder stores the best models. The next thing you need to do:
- Go to model.py
Change the modules that you want to transfer from self.train_models to self.base_models. - Go to main.py
set --base_model_dir to the directory where you store your model files.
from leafnats.
Alright, I've done that. Now the questions that arise are:
- In main.py, should I set the mode to transfer learning or using the pretrained parameters? (option --train_base_model)
- Also in main.py, should I set --continue_training to true or false? From what I understand I'm generating a new model from a base one, so it should be false on the first execution (then, if I need to continue training I set it to true).
- Should I be using pointer_generator_network or pointer_generator_network_trans? I have trained the model using pointer_generator_network, so when I try to use pointer_generator_network_trans I get an error message saying that embedding_base doesn't exist.
Thanks for the quick reply and for the good work done here, really.
from leafnats.
-train_base_model
true: if you want to also train those parameters.
false: they will be fixed during training.
-continue_training
most of the time, you should let it be true. In case you lost power, or your job is accidentally stopped, you can continue the training.
-you can use either of them. I suggest you use pointer-generator-network, since you can choose which part will be trained and which will be fixed.
from leafnats.
Related Issues (13)
- Installation Issues, Hardware Requirements? HOT 5
- How to easily extracting attentions? HOT 3
- Could you provide `embedding_base.model` file? HOT 5
- Questions about using of model
- the pretrained model the owner provided get different results in gpu and cpu
- C10110 model on Newsroom dataset cannot get the same result
- Validate task doesn't seem to end HOT 2
- Something like Hugging Face interface? HOT 1
- how about this rouge metric calculator? HOT 1
- Bytecup data HOT 5
- Issue with the Missing FIles after dependency installation HOT 1
- No Module named Nats
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 leafnats.