System.nanoTime¶
The naive way is to profling your JVM application using System.nanoTime
(which gets the system time in nanosecond resolution).
The GPT-2 Model in NLP
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Code for the paper "Language Models are Unsupervised Multitask Learners"
The project huggingface/transfomer has implementation of transfomer based modles (such as GPT-2 ) .
References
https://openai …
The Bert Model in NLP
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Implementations
huggingface/transformers has PyTorch implementation of transfomer based models (such as BERT and DistilBERT ).
https://github.com/codertimo/BERT-pytorch
Official Implementation of BERT in TensorFlow
Tutorials
https://mccormickml.com/2019 …
Tips on Kerberos
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Installation
Ubuntu
apt-get install krb5-user
CentOS
yum install -y ntp yum install krb5-workstation krb5-libs krb5-auth-dialog
Issues
kinit: Permission denied while initializing Kerberos 5 library
It is likely due to the fact …
Tips on Kaggle
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
General Tips
- By default, internet access from a Kaggle notebook/kernel is turned off. You have to manually turn it on from the right-side panel in order to visit access internet …