chore: Add comments for each file extension type
This commit is contained in:
parent
da72554f58
commit
fcd20ab9e9
1 changed files with 8 additions and 8 deletions
|
@ -969,14 +969,14 @@ VOCAB_TYPE_NAMES: dict[VocabType, str] = {
|
||||||
# Model File Types
|
# Model File Types
|
||||||
#
|
#
|
||||||
class ModelFileType(IntEnum):
|
class ModelFileType(IntEnum):
|
||||||
UNK = auto()
|
NON = auto() # undefined
|
||||||
PT = auto()
|
PT = auto() # torch
|
||||||
PTH = auto()
|
PTH = auto() # torch
|
||||||
BIN = auto()
|
BIN = auto() # torch
|
||||||
SAFETENSORS = auto()
|
SAFETENSORS = auto() # safetensors
|
||||||
JSON = auto()
|
JSON = auto() # transformers/tokenizers
|
||||||
MODEL = auto()
|
MODEL = auto() # sentencepiece
|
||||||
GGUF = auto()
|
GGUF = auto() # ggml/llama.cpp
|
||||||
|
|
||||||
|
|
||||||
MODEL_FILE_TYPE_NAMES: dict[ModelFileType, str] = {
|
MODEL_FILE_TYPE_NAMES: dict[ModelFileType, str] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue