logger.info("Usage: python convert_hf_to_gguf_update.py <huggingface_token>") sys.exit(1) # TODO: add models here, base models preferred models = [ {"name": "llama-spm", "tokt": TOKENIZER_TYPE.SPM, "repo": "https://huggingface.co/meta-llama/Llama-2-7b-hf", }, {"na...
1 parentc8047d5commit0515ad9 Showing1 changed filewith6 additionsand1 deletion. 7 changes: 6 additions & 1 deletion7convert-hf-to-gguf.py Original file line numberDiff line numberDiff line change Expand Up@@ -2840,7 +2840,12 @@ def main() -> None: ...
if 'NO_LOCAL_GGUF' not in os.environ: sys.path.insert(1, str(Path(__file__).parent / 'gguf-py')) import gguflogger = logging.getLogger("hf-to-gguf")### MODEL DEFINITIONS ###class SentencePieceTokenTypes(IntEnum): NORMAL =...
if 'NO_LOCAL_GGUF' not in os.environ: sys.path.insert(1, str(Path(__file__).parent / 'gguf-py')) import gguf # reuse model definitions from convert_hf_to_gguf.py from convert_hf_to_gguf import LazyTorchTensor, Model ...
Use this online free Base64 Image Maker to quickly upload an image and to convert it into a base64 string. The image can be in jpeg, gif, and png format. Base64 is an encoding algorithm that allows converting any characters into an alphabet which consists of Latin letters, digits, plus...
AlfND14q5GOMcfHxU7bXi9L61XQQhF8jPgkFFV9TxECvuyCa/KKLZeidoXxIpcoI Xq4BgSLKuP32ki8tOO7+6n/FA9NQdoPIjOrDvK5CTWcSrWg0mtYAg3ijJ78iwmno7yDQls3L /XKOgVi5uy9A0a3cTOpYAiPrjIilTf0Aa2zoUS2nhNN49YxSBsI/BhchuaMnY4gF6ijQs+hE NP8HLphDaRAiq/BdDwAxhK8AY0ljmpfnNkAcnCtg7MgMklgeoXvJfKwn2BLSGS...
uAQBG6R4ty/KhX8m4DIp3aNVWGpH4PUhPu+9/t74DWRwmkyzz3XGrj81/uF/i+Ir 0dxYfN+alWPyXQAAAIEAs+iYg7HzExUBi7PqNNM/zm4nYNpoLY7KH++o3LSIAlcW AACBAJ2eubcKow/A/OUxccJUqkd17+HaATh+ox4hKYZ5O2Rt/fPLAC55BADmDZKG VBoBQXde+Hf9Z5gG0dLU+RhucOqqze0BUDN2K4EW6C2lyy+I38ds5C+Sy2LyvAsp...
The problem I'm having is that the flow fails on the script when trying to add the image to the excel worksheet. I am confused as I mostly plagiarised the scriptfrom this thread, where it has worked perfectly for others, and I know the (two) base64 string(s) to be...
I've then modified my script to create a string variable, using getRange.getText() and then I'm passing that variable into the addImage() function functionmain(workbook:ExcelScript.Workbook,base64ImageString1:string,base64ImageString2:string){constsheet=workbook.getWo...
Zt+EXhf4kXXxX0zSfFdz4vn1PxVrllH4h+KXxV8XeDfDOveOLm4ufF2v8AgX4Z+LPGutfDX4e6/r7XuqQajrngXwl4e1WWx1zxFpou107xFrlrqHu1FR7Gi5UZujS5sPT9lh5ezjzUKTjCHs6LtelT5KdOHJBxjy04RtaMUtqea5pShiKdLMcfTp4vD0cJiqdPGYiEMThcPh3hcPhsRGNRRrYehhW8NRo1FKnSw7dGEY03ynzh+0x+yT8AP2xPCfhbwD...