MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / convert.py

File convert.py

tokenizer/convert/convert.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# This is taken from llama-cpp 12 Mar 2024, for conversion of models to GGUF to run on llama-cpp.
2# It can also be used for converting modified tokenizer.json to tokenizer.model. See https://github.com/ggerganov/llama.cpp/issues/2443
3
4#!/usr/bin/env python3

Callers

nothing calls this directly

Calls 4

UnquantizedDataTypeClass · 0.85
dtypeMethod · 0.80
mainFunction · 0.70

Tested by

no test coverage detected