Comments (2)
本地x64架构可以本地运行:
[2023-09-10 22:05:06,773] [ INFO] - >>> [PyTorchInferBackend] Creating Engine ...
[2023-09-10 22:05:07,963] [ INFO] - >>> [PyTorchInferBackend] Use CPU to inference ...
[2023-09-10 22:05:07,964] [ INFO] - >>> [PyTorchInferBackend] Engine Created ...
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
- Serving Flask app 'uie-backend-api2'
- Debug mode: off
- Running on all addresses (0.0.0.0)
- Running on http://127.0.0.1:888
- Running on http://10.234.63.104:888
Press CTRL+C to quit
C:\Users\Administrator\anaconda3\lib\site-packages\transformers\modeling_utils.py:909: FutureWarning: Thedevice
argument is deprecated and will be removed in v5 of Transformers.
warnings.warn(
127.0.0.1 - - [10/Sep/2023 22:05:16] "POST / HTTP/1.1" 200 -
from uie_pytorch.
解决方案:使用静态图模型引擎onnx。
静态图
from uie_pytorch.
Related Issues (20)
- uie_m_large_pytorch 问题
- 情感分类支持微调吗? HOT 2
- Parameter error
- UIEPredictor(model='uie-base', schema=schema)默认模型存在哪
- 微调模型时疑似报错:he OrderedVocab you are attempting to save contains a hole for index 12084, your vocabulary could be corrupted ! HOT 2
- 使用gpu,中文文本长度过长时会出现报错。长度较短则不会。报错信息如下 HOT 2
- schema里面添加的属性是不是不能太多? HOT 2
- prompt(in-context learning)实现信息抽取
- 好像不支持普通分类的模型微调是吗?
- 数据预处理格式 - 关系抽取和事件抽取
- convert uie-m-base报错AttributeError: 'ErnieMTokenizer' object has no attribute 'vocab' HOT 2
- 为啥论文中用的是Transformer架构而实际实现却用bert?
- evaluate.py执行时报错
- 数据格式中的prompt含义
- 报错module 'paddle.fluid.dygraph' has no attribute 'load_dygraph',请问怎么解决 HOT 1
- 转onnx模型的时候报错
- Bug in ErnieMConverter Class
- 多label进行训练之后的测试集的F1值针对的是所有标签的嘛,如何看针对一个标签的F1值?
- uie-base 转torch,验证时报错
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 uie_pytorch.