# Autotrain build can't be loaded

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-build-cant-be-loaded%2F72637%3E%5C
**Category:** 🤗AutoTrain\
**Created:** [February 10, 2024, 11:22am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-build-cant-be-loaded%2F72637 "2024-02-10T11:22:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RandyPulse](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/randypulse/32/23721_2.png) [@RandyPulse](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRandyPulse)%5C
**Post date:** [February 10, 2024, 11:22am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-build-cant-be-loaded%2F72637%2F1 "2024-02-10T11:22:43Z")

</div>

So, a model was added to my repo from autotrain. However, it has folders ‘runs’ and ‘checkpoint-183’ and I can’t use it. It has some safetensor file among others, but I can’t use the model.

Did the autotrain complete succesfully or why has it placed these files and not the correct ones?

I get this when trying to use the model:  
RandyPulse/autotrain-nbnv5-kp6zr is not a local folder and is not a valid model identifier listed on ‘[Models - Hugging Face](https://huggingface.co/models)’  
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`

I have also tried placing my read-token:  
model = AutoModelForCausalLM.from\_pretrained(  
model\_path,  
device\_map=“auto”,  
torch\_dtype=‘auto’,  
token=“XXXXYYYYZZZZ”  
).eval()

---

<div class="post-metadata">

**Author:** ![RandyPulse](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/randypulse/32/23721_2.png) [@RandyPulse](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRandyPulse)%5C
**Post date:** [February 10, 2024, 3:20pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fautotrain-build-cant-be-loaded%2F72637%2F2 "2024-02-10T15:20:00Z")

</div>

Well yeah, I needed to give a token for the tokenizer also. But now I get a message that the folder doesn’t have config.json

“RandyPulse/autotrain-nbnv5-kp6zr does not appear to have a file named config.json”
