-
已经从源码编译了 transformers
我的推理代码如下
def load(self):
from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
from transformers.generation import Generat…
-
你好,我在运行transformer_nsc.yml时,碰到以下问题,请问怎么解决?
Hugginface transformers not installed; please visit https://github.com/huggingface/transformers
meshed-memory-transformer not installed; please run `pip in…
-
Hello,
I've tried running realtoxicityprompts (github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/tasks/realtoxicityprompts/) through the Hugging Face leaderboard backend code (https://h…
-
Take sentence:
Mr. Sherlock Holmes , who was usually very late in the mornings , save upon those not infrequent occasions when he was up all night , was seated at the breakfast table .
The c…
-
I'm running this notebook - https://github.com/protectai/llm-guard/blob/main/docs/tutorials/notebooks/langchain_rag.ipynb
The last 11th chunk from the resume has a prompt injection shown below, bu…
-
### Description / 描述
**代码:**
`import torch
from PIL import Image
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained('openbmb/MiniCPM-V', trust_remote_code=Tru…
-
Hi Turbo,
I am interested in doing some model self-merges. Currently, I do this with a script with huggingface models.
Basically, I calculate the mapping, eg to duplicate layer 3:
{1:1, 2:2,3:3…
-
### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a sim…
-
Hello, do you have any idea how to export the models to the onnx format?
I tried a script from huggingface: https://github.com/huggingface/transformers/blob/master/src/transformers/convert_graph_to…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
### 20230506都正常使用,到了0507晚上就不行了。
### python web_demo.py
'HTTPSConnectionPool(host='huggingf…