LLama Tokenizer Calculate tokens for the Llama model independently from huge repos Copied from here: https://github.com/meta-llama/llama3/blob/71367a6cafecf2eea125c374161e6cea10b69dfa/llama/tokenizer.py