public static Encoding getEncoding(String modelName) {
        return modelMap.get(modelName);
    }
Get an Encoding object by model name.

@param modelName
@return Encoding
api/src/main/java/com/theokanning/openai/utils/TikTokensUtil.java