@@ -22,58 +22,58 @@ const (
2222 // the model to be served, such as the config.json, generation_config.json, etc.
2323 // The CONFIG command can be used multiple times in a modelfile, it
2424 // will be copied the config file to the artifact package as a layer.
25- CONFIG = "config "
25+ CONFIG = "CONFIG "
2626
2727 // MODEL is the command to set the model file path. The value of this command
2828 // is the glob of the model file path to match the model file name.
2929 // The MODEL command can be used multiple times in a modelfile, it will scan
3030 // the model file path by the glob and copy each model file to the artifact
3131 // package, and each model file will be a layer.
32- MODEL = "model "
32+ MODEL = "MODEL "
3333
3434 // CODE is the command to set the code file path. The value of this commands
3535 // is the glob of the code file path to match the code file name.
3636 // The CODE command can be used multiple times in a modelfile, it will scan
3737 // the code file path by the glob and copy each code file to the artifact
3838 // package, and each code file will be a layer.
39- CODE = "code "
39+ CODE = "CODE "
4040
4141 // DATASET is the command to set the dataset file path. The value of this commands
4242 // is the glob of the dataset file path to match the dataset file name.
4343 // The DATASET command can be used multiple times in a modelfile, it will scan
4444 // the dataset file path by the glob and copy each dataset file to the artifact
4545 // package, and each dataset file will be a layer.
46- DATASET = "dataset "
46+ DATASET = "DATASET "
4747
4848 // DOC is the command to set the documentation file path. The value of this commands
4949 // is the glob of the documentation file path to match the documentation file name.
5050 // The DOC command can be used multiple times in a modelfile, it will scan
5151 // the documentation file path by the glob and copy each documentation file to the artifact
5252 // package, and each documentation file will be a layer.
53- DOC = "doc "
53+ DOC = "DOC "
5454
5555 // NAME is the command to set the model name, such as llama3-8b-instruct, gpt2-xl,
5656 // qwen2-vl-72b-instruct, etc.
57- NAME = "name "
57+ NAME = "NAME "
5858
5959 // ARCH is the command to set the architecture of the model, such as transformer,
6060 // cnn, rnn, etc.
61- ARCH = "arch "
61+ ARCH = "ARCH "
6262
6363 // FAMILY is the command to set the family of the model, such as llama3, gpt2, qwen2, etc.
64- FAMILY = "family "
64+ FAMILY = "FAMILY "
6565
6666 // FORMAT is the command to set the format of the model, such as onnx, tensorflow, pytorch, etc.
67- FORMAT = "format "
67+ FORMAT = "FORMAT "
6868
6969 // PARAMSIZE is the command to set the parameter size of the model.
70- PARAMSIZE = "paramsize "
70+ PARAMSIZE = "PARAMSIZE "
7171
7272 // PRECISION is the command to set the precision of the model, such as bf16, fp16, int8, etc.
73- PRECISION = "precision "
73+ PRECISION = "PRECISION "
7474
7575 // QUANTIZATION is the command to set the quantization of the model, such as awq, gptq, etc.
76- QUANTIZATION = "quantization "
76+ QUANTIZATION = "QUANTIZATION "
7777)
7878
7979// Commands is a list of all the commands that can be used in a modelfile.
0 commit comments