Instructions to use pre-trained models
See original GitHub issueGiven the current documentation, it is not clear to me how to use a pre-trained model. My understanding is that using the following will not download the pre-trained model:
model = ClassificationModel('bert', 'bert-base-multilingual-cased')
If this understanding is correct, how can I download a pre-trained model and use it in simpletransformers. Clear instructions on how to do that would be most welcome.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to use a pre-trained deep learning model - Educative.io
Points to consider before moving on to the implementation · Import the required libraries · Load the model · Load the image ·...
Read more >Transfer learning from pre-trained models | by Pedro Marcelino
4. Transfer learning process · Select a pre-trained model. · Classify your problem according to the Size-Similarity Matrix. In Figure 3 you have...
Read more >Transfer learning and fine-tuning | TensorFlow Core
A pre-trained model is a saved network that was previously trained on a large dataset, typically on a large-scale image-classification task. You either...
Read more >Using pretrained models - Hugging Face Course
When using a pretrained model, make sure to check how it was trained, on which datasets, its limits, and its biases. All of...
Read more >Transfer Learning in Keras with Computer Vision Models
How to Use Pre-Trained Models ... The use of a pre-trained model is limited only by your creativity. For example, a model may...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I realize that it is not explicitly stated in the docs, but that line will download the pre-trained model.
Yeah, community models will be downloaded as long as the primary model type (BERT, RoBERTa, XLNet, etc.) is supported for that particular task.