You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: finbert.m
    path of file: ./repos/transformer-models
    
    the code of the file until where you have to start completion: function mdl = finbert(nvp)
% finbert   Pretrained FinBERT transformer model
%   mdl = finbert loads a pretrained FinBERT model and downloads the model
%   weights and vocab file if necessary.

    
function mdl = finbert(nvp)
% finbert   Pretrained FinBERT transformer model
%   mdl = finbert loads a pretrained FinBERT model and downloads the model
%   weights and vocab file if necessary.
%
%   mdl = finbert('Model', modelName) loads the FinBERT model specified by
%   modelName. Supported values for modelName are "sentiment-model"
%   (default) and "language-model".

% Copyright 2021 The MathWorks, Inc.
arguments
    nvp.Model (1,1) string {mustBeMember(nvp.Model,...
        ["language-model";
        "sentiment-model"])} = "sentiment-model"
end