Comments (3)
可以参考我的环境:
absl-py==2.1.0
accessible-pygments==0.0.4
addict==2.4.0
aiofiles==23.2.1
aiohttp==3.8.4
aiosignal==1.3.1
aistudio-sdk==0.1.7
alabaster==0.7.16
aliyun-python-sdk-core==2.15.0
aliyun-python-sdk-kms==2.16.2
altair==5.2.0
annotated-types==0.6.0
anyio==3.7.1
appdirs==1.4.4
astor==0.8.1
asttokens==2.4.1
async-timeout==4.0.3
asyncio-atexit==1.0.1
attrdict==2.0.1
attrs==23.2.0
audioread==3.0.1
Babel==2.14.0
bce-python-sdk==0.9.4
beautifulsoup4==4.12.3
black==23.3.0
blinker==1.7.0
cachetools==5.3.3
cairocffi==1.6.1
CairoSVG==2.7.1
certifi==2024.2.2
cffi==1.16.0
cfgv==3.4.0
charset-normalizer==3.3.2
click==8.1.7
cloudpickle==3.0.0
colorama==0.4.6
colorlog==6.8.2
commonmark==0.9.1
contourpy==1.2.0
coverage==7.4.4
crcmod==1.7
cryptography==42.0.5
cssselect==1.2.0
cssselect2==0.7.0
cssutils==2.10.2
cupy-cuda116==10.6.0
cycler==0.12.1
Cython==3.0.10
data==0.4
dataclasses-json==0.6.4
datasets==2.18.0
decorator==5.1.1
defusedxml==0.7.1
deploy==1.9.1
dill==0.3.4
distlib==0.3.8
docker-pycreds==0.4.0
docutils==0.20.1
einops==0.7.0
emoji==2.11.0
erniebot==0.5.2
erniebot_agent==0.5.0
et-xmlfile==1.1.0
exceptiongroup==1.2.0
execnet==2.0.2
executing==2.0.1
fast-tokenizer-python==1.0.2
fastapi==0.110.0
fastrlock==0.8.2
ffmpy==0.3.2
filelock==3.13.1
fire==0.6.0
flake8==5.0.4
Flask==3.0.2
flask-babel==4.0.0
fonttools==4.49.0
frozenlist==1.4.1
fsspec==2024.2.0
ftfy==6.2.0
funcsigs==1.0.2
future==1.0.0
gast==0.5.4
gitdb==4.0.11
GitPython==3.1.43
gradio==4.19.2
gradio_client==0.10.1
greenlet==3.0.3
grpcio==1.51.3
h11==0.12.0
h5py==3.10.0
html5lib==1.1
httpcore==0.15.0
httpx==0.25.1
huggingface-hub==0.21.1
hyperopt==0.2.7
identify==2.5.35
idna==3.6
imageio==2.34.0
imagesize==1.4.1
imgaug==0.4.0
importlib_metadata==7.1.0
importlib_resources==6.1.2
iniconfig==2.0.0
ipython==8.22.1
isort==5.11.5
itsdangerous==2.1.2
jedi==0.19.1
jieba==0.42.1
Jinja2==3.1.3
jmespath==0.10.0
joblib==1.3.2
jsonlines==4.0.0
jsonpatch==1.33
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-path==0.3.2
jsonschema-specifications==2023.12.1
kiwisolver==1.4.5
langchain==0.1.9
langchain-community==0.0.24
langchain-core==0.1.27
langsmith==0.1.10
lazy-object-proxy==1.10.0
lazy_loader==0.3
librosa==0.10.1
llvmlite==0.42.0
lmdb==1.4.1
loguru==0.5.3
lxml==5.2.0
Markdown==3.5.2
markdown-it-py==3.0.0
MarkupSafe==2.1.5
marshmallow==3.21.0
matplotlib==3.8.3
matplotlib-inline==0.1.6
mccabe==0.7.0
mdurl==0.1.2
modelscope==1.13.3
mpmath==1.3.0
msgpack==1.0.8
multidict==6.0.5
multiprocess==0.70.12.2
mypy==1.6.1
mypy-extensions==1.0.0
networkx==3.2.1
nodeenv==1.8.0
numba==0.59.1
numpy==1.23.5
onnx==1.16.0
openapi-schema-validator==0.6.2
openapi-spec-validator==0.7.1
opencv-contrib-python==4.6.0.66
opencv-python==4.6.0.66
opencv-python-headless==4.9.0.80
openpyxl==3.1.2
opt-einsum==3.3.0
orjson==3.9.15
oss2==2.18.4
packaging==23.2
paddle2onnx==1.1.0
paddlefsl==1.1.0
paddlenlp==2.6.1
paddleocr==2.6.1.3
paddlepaddle==2.6.1
pandas==2.2.1
parameterized==0.9.0
parso==0.8.3
pathable==0.4.3
pathspec==0.12.1
pdf2docx==0.5.8
pexpect==4.9.0
pillow==10.2.0
platformdirs==4.2.0
pluggy==1.4.0
pooch==1.8.1
pre-commit==3.7.0
premailer==3.10.0
prompt-toolkit==3.0.43
protobuf==3.20.2
psutil==5.9.8
ptyprocess==0.7.0
pure-eval==0.2.2
py4j==0.10.9.7
pyarrow==15.0.2
pyarrow-hotfix==0.6
pybind11==2.12.0
pyclipper==1.3.0.post5
pycodestyle==2.9.1
pycparser==2.21
pycryptodome==3.20.0
pydantic==1.10.11
pydantic_core==2.16.3
pydata-sphinx-theme==0.15.2
pydub==0.25.1
pyflakes==2.5.0
Pygments==2.17.2
PyMuPDF==1.20.2
pyparsing==3.1.1
pyphen==0.14.0
pytest==8.1.1
pytest-cov==5.0.0
pytest-timeout==2.3.1
pytest-xdist==3.5.0
python-dateutil==2.8.2
python-docx==1.1.0
python-multipart==0.0.9
pytz==2024.1
PyYAML==6.0.1
rapidfuzz==3.7.0
rarfile==4.1
ray==2.5.1
readthedocs-sphinx-search==0.3.2
recommonmark==0.7.1
referencing==0.31.1
regex==2024.4.16
requests==2.31.0
rfc3339-validator==0.1.4
rich==13.7.0
rouge==1.0.1
rpds-py==0.18.0
ruff==0.2.2
sacremoses==0.1.1
safetensors==0.4.2
scikit-image==0.22.0
scikit-learn==1.4.1.post1
scipy==1.9.1
semantic-version==2.10.0
sentencepiece==0.2.0
sentry-sdk==1.44.0
seqeval==1.2.2
setproctitle==1.3.3
shapely==2.0.3
shellingham==1.5.4
simplejson==3.19.2
six==1.16.0
smmap==5.0.1
sniffio==1.3.1
snowballstemmer==2.2.0
sortedcontainers==2.4.0
soundfile==0.12.1
soupsieve==2.5
soxr==0.3.7
Sphinx==7.2.6
sphinx-book-theme==1.1.2
sphinx-copybutton==0.5.2
sphinx-markdown-tables==0.0.17
sphinx-rtd-theme==2.0.0
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-htmlhelp==2.0.5
sphinxcontrib-jquery==4.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.7
sphinxcontrib-serializinghtml==1.1.10
SQLAlchemy==2.0.27
stack-data==0.6.3
starlette==0.36.3
sympy==1.12
tenacity==8.2.3
tensorboard==2.16.2
tensorboard-data-server==0.7.2
tensorboardX==2.6.2.2
termcolor==2.4.0
threadpoolctl==3.3.0
tifffile==2024.2.12
tiktoken==0.6.0
tinycss2==1.2.1
tokenize-rt==5.2.0
tokenizers==0.15.2
tomli==2.0.1
tomlkit==0.12.0
tool-helpers==0.1.1
toolz==0.12.1
torch==2.2.2
tqdm==4.66.2
traitlets==5.14.1
transformers==4.39.3
triton==2.2.0
typer==0.9.0
types-beautifulsoup4==4.12.0.20240106
types-html5lib==1.1.11.20240228
types-PyYAML==6.0.12.12
types-requests==2.31.0.2
types-urllib3==1.26.25.14
typing-inspect==0.9.0
typing_extensions==4.10.0
tzdata==2024.1
Unidecode==1.3.8
urllib3==1.26.2
uvicorn==0.27.1
virtualenv==20.25.1
visualdl==2.5.3
wandb==0.16.5
wcwidth==0.2.13
WeasyPrint==52.5
webencodings==0.5.1
websockets==11.0.3
Werkzeug==3.0.1
wget==3.2
xxhash==3.4.1
yacs==0.1.8
yapf==0.40.2
yarl==1.9.4
zhon==2.0.2
zipp==3.18.1
from paddlenlp.
可以参考我的环境:
absl-py==2.1.0 accessible-pygments==0.0.4 addict==2.4.0 aiofiles==23.2.1 aiohttp==3.8.4 aiosignal==1.3.1 aistudio-sdk==0.1.7 alabaster==0.7.16 aliyun-python-sdk-core==2.15.0 aliyun-python-sdk-kms==2.16.2 altair==5.2.0 annotated-types==0.6.0 anyio==3.7.1 appdirs==1.4.4 astor==0.8.1 asttokens==2.4.1 async-timeout==4.0.3 asyncio-atexit==1.0.1 attrdict==2.0.1 attrs==23.2.0 audioread==3.0.1 Babel==2.14.0 bce-python-sdk==0.9.4 beautifulsoup4==4.12.3 black==23.3.0 blinker==1.7.0 cachetools==5.3.3 cairocffi==1.6.1 CairoSVG==2.7.1 certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 charset-normalizer==3.3.2 click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 colorlog==6.8.2 commonmark==0.9.1 contourpy==1.2.0 coverage==7.4.4 crcmod==1.7 cryptography==42.0.5 cssselect==1.2.0 cssselect2==0.7.0 cssutils==2.10.2 cupy-cuda116==10.6.0 cycler==0.12.1 Cython==3.0.10 data==0.4 dataclasses-json==0.6.4 datasets==2.18.0 decorator==5.1.1 defusedxml==0.7.1 deploy==1.9.1 dill==0.3.4 distlib==0.3.8 docker-pycreds==0.4.0 docutils==0.20.1 einops==0.7.0 emoji==2.11.0 erniebot==0.5.2 erniebot_agent==0.5.0 et-xmlfile==1.1.0 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fast-tokenizer-python==1.0.2 fastapi==0.110.0 fastrlock==0.8.2 ffmpy==0.3.2 filelock==3.13.1 fire==0.6.0 flake8==5.0.4 Flask==3.0.2 flask-babel==4.0.0 fonttools==4.49.0 frozenlist==1.4.1 fsspec==2024.2.0 ftfy==6.2.0 funcsigs==1.0.2 future==1.0.0 gast==0.5.4 gitdb==4.0.11 GitPython==3.1.43 gradio==4.19.2 gradio_client==0.10.1 greenlet==3.0.3 grpcio==1.51.3 h11==0.12.0 h5py==3.10.0 html5lib==1.1 httpcore==0.15.0 httpx==0.25.1 huggingface-hub==0.21.1 hyperopt==0.2.7 identify==2.5.35 idna==3.6 imageio==2.34.0 imagesize==1.4.1 imgaug==0.4.0 importlib_metadata==7.1.0 importlib_resources==6.1.2 iniconfig==2.0.0 ipython==8.22.1 isort==5.11.5 itsdangerous==2.1.2 jedi==0.19.1 jieba==0.42.1 Jinja2==3.1.3 jmespath==0.10.0 joblib==1.3.2 jsonlines==4.0.0 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-path==0.3.2 jsonschema-specifications==2023.12.1 kiwisolver==1.4.5 langchain==0.1.9 langchain-community==0.0.24 langchain-core==0.1.27 langsmith==0.1.10 lazy-object-proxy==1.10.0 lazy_loader==0.3 librosa==0.10.1 llvmlite==0.42.0 lmdb==1.4.1 loguru==0.5.3 lxml==5.2.0 Markdown==3.5.2 markdown-it-py==3.0.0 MarkupSafe==2.1.5 marshmallow==3.21.0 matplotlib==3.8.3 matplotlib-inline==0.1.6 mccabe==0.7.0 mdurl==0.1.2 modelscope==1.13.3 mpmath==1.3.0 msgpack==1.0.8 multidict==6.0.5 multiprocess==0.70.12.2 mypy==1.6.1 mypy-extensions==1.0.0 networkx==3.2.1 nodeenv==1.8.0 numba==0.59.1 numpy==1.23.5 onnx==1.16.0 openapi-schema-validator==0.6.2 openapi-spec-validator==0.7.1 opencv-contrib-python==4.6.0.66 opencv-python==4.6.0.66 opencv-python-headless==4.9.0.80 openpyxl==3.1.2 opt-einsum==3.3.0 orjson==3.9.15 oss2==2.18.4 packaging==23.2 paddle2onnx==1.1.0 paddlefsl==1.1.0 paddlenlp==2.6.1 paddleocr==2.6.1.3 paddlepaddle==2.6.1 pandas==2.2.1 parameterized==0.9.0 parso==0.8.3 pathable==0.4.3 pathspec==0.12.1 pdf2docx==0.5.8 pexpect==4.9.0 pillow==10.2.0 platformdirs==4.2.0 pluggy==1.4.0 pooch==1.8.1 pre-commit==3.7.0 premailer==3.10.0 prompt-toolkit==3.0.43 protobuf==3.20.2 psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 py4j==0.10.9.7 pyarrow==15.0.2 pyarrow-hotfix==0.6 pybind11==2.12.0 pyclipper==1.3.0.post5 pycodestyle==2.9.1 pycparser==2.21 pycryptodome==3.20.0 pydantic==1.10.11 pydantic_core==2.16.3 pydata-sphinx-theme==0.15.2 pydub==0.25.1 pyflakes==2.5.0 Pygments==2.17.2 PyMuPDF==1.20.2 pyparsing==3.1.1 pyphen==0.14.0 pytest==8.1.1 pytest-cov==5.0.0 pytest-timeout==2.3.1 pytest-xdist==3.5.0 python-dateutil==2.8.2 python-docx==1.1.0 python-multipart==0.0.9 pytz==2024.1 PyYAML==6.0.1 rapidfuzz==3.7.0 rarfile==4.1 ray==2.5.1 readthedocs-sphinx-search==0.3.2 recommonmark==0.7.1 referencing==0.31.1 regex==2024.4.16 requests==2.31.0 rfc3339-validator==0.1.4 rich==13.7.0 rouge==1.0.1 rpds-py==0.18.0 ruff==0.2.2 sacremoses==0.1.1 safetensors==0.4.2 scikit-image==0.22.0 scikit-learn==1.4.1.post1 scipy==1.9.1 semantic-version==2.10.0 sentencepiece==0.2.0 sentry-sdk==1.44.0 seqeval==1.2.2 setproctitle==1.3.3 shapely==2.0.3 shellingham==1.5.4 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 sortedcontainers==2.4.0 soundfile==0.12.1 soupsieve==2.5 soxr==0.3.7 Sphinx==7.2.6 sphinx-book-theme==1.1.2 sphinx-copybutton==0.5.2 sphinx-markdown-tables==0.0.17 sphinx-rtd-theme==2.0.0 sphinxcontrib-applehelp==1.0.8 sphinxcontrib-devhelp==1.0.6 sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jquery==4.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 SQLAlchemy==2.0.27 stack-data==0.6.3 starlette==0.36.3 sympy==1.12 tenacity==8.2.3 tensorboard==2.16.2 tensorboard-data-server==0.7.2 tensorboardX==2.6.2.2 termcolor==2.4.0 threadpoolctl==3.3.0 tifffile==2024.2.12 tiktoken==0.6.0 tinycss2==1.2.1 tokenize-rt==5.2.0 tokenizers==0.15.2 tomli==2.0.1 tomlkit==0.12.0 tool-helpers==0.1.1 toolz==0.12.1 torch==2.2.2 tqdm==4.66.2 traitlets==5.14.1 transformers==4.39.3 triton==2.2.0 typer==0.9.0 types-beautifulsoup4==4.12.0.20240106 types-html5lib==1.1.11.20240228 types-PyYAML==6.0.12.12 types-requests==2.31.0.2 types-urllib3==1.26.25.14 typing-inspect==0.9.0 typing_extensions==4.10.0 tzdata==2024.1 Unidecode==1.3.8 urllib3==1.26.2 uvicorn==0.27.1 virtualenv==20.25.1 visualdl==2.5.3 wandb==0.16.5 wcwidth==0.2.13 WeasyPrint==52.5 webencodings==0.5.1 websockets==11.0.3 Werkzeug==3.0.1 wget==3.2 xxhash==3.4.1 yacs==0.1.8 yapf==0.40.2 yarl==1.9.4 zhon==2.0.2 zipp==3.18.1
paddlenlp版本对应是2.6.1就行吧?跟paddlepaddle版本应该没关系吧。
试了2.6.1还是那边有问题,可以麻烦你截图下zero_shot_text_classification.py么?
from paddlenlp.
numpy==1.23.5
可以参考一下numpy等其他的包
from paddlenlp.
Related Issues (20)
- [Bug]: paddle的nansum不支持empty的求和
- [Bug]: Taskflow("document_intelligence"): Illegal instruction (core dumped) HOT 7
- [Bug]: AutoModel加载本地路径模型报错 HOT 2
- UTC做多标签零样本训练,测试出现过拟合怎么办?
- [Question]: 语义检索Pipelines,召回速度 HOT 1
- [Bug]:UIE-X-base模型微调报错 HOT 2
- taskflow和fastdeploy放在一起会产生中断,是怎么回事呢? HOT 4
- [Question]: PaddleOCR detection and recognition models for PaddleNLP UIE HOT 1
- [Docs]: PaddleNLP/pipelines/examples /sentiment_analysis 这个例子按照文档就从来没有运行成功过,有运行成功的吗?
- [Bug]: Temperature参数似乎没有生效 HOT 4
- [Question]:如何设置多卡pipline并行推理? HOT 2
- paddlepaddle/paddle:2.6.1-gpu-cuda11.2-cudnn8.2-trt8.0容器太大了多大21G,有什么办法进行瘦身 HOT 1
- [Question]: 自制数据集的问题 HOT 1
- [Bug]: 模型微调遇到问题 HOT 1
- UIE-X训练时候支持自定义OCR HOT 2
- [Question]: [Hint: Expected meta_.is_contiguous() == true, but received meta_.is_contiguous():0 != true:1.] (at /paddle/paddle/phi/core/dense_tensor_impl.cc:283) [operator < reshape2 > error] HOT 1
- [Question]: 在语义检索中使用in batch negative训练 HOT 1
- [Question]: 关于微调和推理时max_seq_len参数的设置问题
- [Question]: 如何设置多卡pipline并行推理? HOT 1
- [Bug]: Chatglm3 相关代码 在设置多卡推理报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddlenlp.