Skip to main content
-3 votes
0 answers
41 views

How to upload a machine learning model (.pkl) to Hugging Face? [closed]

I'm new to machine learning and I’m trying to upload a simple model (.pkl file) to Hugging Face. I’ve already created a model repository on Hugging Face, but I'm confused about how to upload the .pkl ...
Aam Vt's user avatar
  • 1
0 votes
0 answers
25 views

Unable to call Hugging face api from my local machine

I want to use a model via hugging face, but even with a valid token it's not working. Can someone please help. Test Code from huggingface_hub import InferenceClient token = "...
vicky113's user avatar
  • 351
1 vote
1 answer
53 views

how to use jinaai/jina-embeddings-v2-base-en with trust_remote_code=False

I am using jinaai/jina-embeddings-v2-base-en model to generate embeddings for vector search. Following is my code to generate embeddings using the jinaai model: from transformers import AutoModel ...
avy's user avatar
  • 447
0 votes
0 answers
114 views

How do I use DeepSeek R1 Distill through HuggingFace Inference API?

I have been looking forward to use lightweighted LLM's for a project to convert human language to SQL queries for a database. To do this, I am reading tutorials and official docs on HuggingFace ...
franjefriten's user avatar
0 votes
0 answers
110 views

Error while loading the MultiModal Models from Huggingface hub

I am trying to use a multimodal model from Huggingface hub. I tried with "maya-multimodal/maya" model.(Following is the code to load the model): from llama_index.multi_modal_llms.huggingface ...
Swagat Mishra's user avatar
3 votes
1 answer
10k views

ImportError: cannot import name 'cached_download' from 'huggingface_hub'

huggingface_hub==0.27.1 diffusers==0.28.0 I am getting this error: Traceback (most recent call last): File "/data/om/Lotus/infer.py", line 11, in <module> from diffusers.utils ...
Om Rastogi's user avatar
  • 1,037
1 vote
0 answers
484 views

Cannot download Llama 3.2 3B model using Unsloth and Hugging Face

I want to locally fine-tune using my own dataset and then save the Llama 3.2-3B model locally too. I have an Anaconda setup and I'm on the base environment, where I can see clearly that unsloth and ...
Worker1432's user avatar
0 votes
0 answers
537 views

SSL Certificate Verification Error with Hugging Face Transformers CLI

I'm trying to download the TheBloke/falcon-40b-instruct-GPTQ model using the Hugging Face Transformers CLI in PowerShell on Windows 10, but I consistently encounter an SSL certificate error. It ...
bbartling's user avatar
  • 3,530
0 votes
0 answers
97 views

SSL certification error while calling huggingface inference APIs via Langgraph & langchain

I am using Huggingface inference APIs for a basic GenAI applciation using Llama 3.2 & mistral. While calling the APIs i am getting the below error: (MaxRetryError("HTTPSConnectionPool(host='...
venugopal rao's user avatar
0 votes
1 answer
995 views

`repo_type` argument if needed

Now trying to run a python script, loading a model from hugging face. In the terminal it gives an error: huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/...
soulys's user avatar
  • 1
2 votes
2 answers
2k views

Cannot load a gated model from hugginface despite having access and logging in

I am training a Llama-3.1-8B-Instruct model for a specific task. I have request the access to the huggingface repository, and got access, confirmed on the huggingface webapp dashboard. I tried calling ...
majTheHero's user avatar
0 votes
1 answer
172 views

How to load the tokenizer locally from Unbabel/COMET

I am trying to use COMET in a place where it cannot download its own models. It seems to load wmt22-comet-da model as far as I can tell, but it seems not to recognize my local xlm-roberta-large ...
MrVocabulary's user avatar
1 vote
2 answers
279 views

Error when pushing Llama3.1 7B fine-tuned model to Huggingface

I'm having an issue pushing a fine-tuned Llama 3.1 model to Huggingface, getting the error below. All of the literature that I've read suggests that the code below that I'm using to push is correct, ...
Matt Zerella's user avatar
-1 votes
1 answer
76 views

HuggingFace model downloads are not counted

I'm trying to get HuggingFace to count the downloads of a model, but it refuses to count it. The model in questions is uploaded here: https://huggingface.co/ibm-granite/granite-geospatial-wxc-...
Romeo Kienzler's user avatar
0 votes
0 answers
224 views

Error about bind attribute when making langchain agent with huggingface models

I am trying to write a python code for making Lang chain agent with hugging face models but I encounter an error: 'TextGenerationPipeline' object has no attribute 'bind' this error happens when I ...
Pendarh's user avatar

15 30 50 per page
1
2 3 4 5