Open Zoey384 opened 2 weeks ago
Hi @Zoey384 - if your Hugging Face model checkpoint is on local disk, you can set pretrained_model_name_or_path: /path/to/your/checkpoint
inside client_spec
in your model_deployments.yaml
as below. You do not need to upload your model to Hugging Face Hub.
I modified the Huggingface's model stucture, and I wanted to use HELM to evaluate my model's performance. But I met some problems. I found I could create the files model_deployments.yaml, model_metadata.yaml and tokenizer_configs.yaml, but I cannot write my local model's path. How can I use my local model after I created the files model_deployments.yaml, model_metadata.yaml and tokenizer_configs.yaml in prod_env/ ? Must I upload my model to Huggingface?
Need I create a file like '/helm/src/helm/clients/huggingface_client.py'?
Many thanks!