# 500 error accessing "hkunlp/instructor-large"

**URL:** <https://discuss.huggingface.co/t/500-error-accessing-hkunlp-instructor-large/47183>\
**Category:** Beginners\
**Created:** [July 18, 2023, 11:27am UTC](https://discuss.huggingface.co/t/500-error-accessing-hkunlp-instructor-large/47183 "2023-07-18T11:27:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![happyday1](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/happyday1/32/17711_2.png) [@happyday1](https://discuss.huggingface.co/u/happyday1)\
**Post date:** [July 18, 2023, 11:27am UTC](https://discuss.huggingface.co/t/500-error-accessing-hkunlp-instructor-large/47183/1 "2023-07-18T11:27:20Z")

</div>

I tried [this embeddings example](https://github.com/huggingface/blog/blob/main/getting-started-with-embeddings.md) . Works great with the example model. I want to use model\_id = “hkunlp/instructor-large”. Running this line:

```auto
embeddings = query(texts)

```

returns:

```auto
" __init__ () got an unexpected keyword argument 'pooling_mode_weightedmean_tokens'"

```

What am I missing or is there a problem with my request? Thank you.
