annabechang

Results 5 comments of annabechang

I see. and replace the #class with xywhc? Thank you for such detailed explanation!

there's alpaca on huggingface, i think you can do something like this: `llm = HuggingFaceHub(repo_id="chavinlo/alpaca-native", model_kwargs={"temperature":0, "max_length":64})`

similar error: ``` instructor_embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl", model_kwargs={"device": "cuda"}) --------------------------------------------------------------------------- ValidationError Traceback (most recent call last) Cell In[25], line 1 ----> 1 instructor_embeddings = HuggingFaceInstructEmbeddings(model_name="hkunlp/instructor-xl", 2 model_kwargs={"device": "cuda"}) File ~/.conda/envs/py38/lib/python3.8/site-packages/langchain/embeddings/huggingface.py:102, in...

> chatgtp could have solved that one! "No module named 'accelerate'" you have to install accelerate. could you show/ point me to where i can find how to install accelerate?...

> As a quick fix for this. On version 0.5.0, I was able to get around this error by commenting out line `2572 `in `modeling_utils.py` ([see this fork of transformers](https://github.com/user1342/transformers)):...