Comments (5)
can you please provide the reproducible code and output you are getting?
from fastt5.
does it work with python ort or are you facing the issue only with the js version of ort?
from fastt5.
facing
I'm facing this error in transformer-js that is using ONNX converted model here
from fastt5.
can you please provide the reproducible code and output you are getting?
Yes, I will fork the original repo and apply the changes.
from fastt5.
@Ki6an here my fork where you can try it
This wil install the app and convert flan-t5-small to onnx:
git clone https://github.com/loretoparisi/transformers-js.git
cd transformers-js/
pip install transformers
python tools/convert_model.py
You will find then the quantized models in the /models
folder.
to run it
make demo
make run
now points to http://localhost:8152/?model_id=google/flan-t5-small
The tokenizer code is located here.
from fastt5.
Related Issues (20)
- Support for py3.10 HOT 1
- Fails to convert T0-3B HOT 2
- Mt5 model loading fails HOT 11
- Is it suit for other translation model like "Helsinki-NLP / opus-mt-en-de"? HOT 1
- Decoder's encoder_attention_mask input should be called decoder_attention_mask HOT 1
- Thank You and Demo Running in the Browser HOT 2
- M2M100 to ONNX
- Upgrade ONNX runtime HOT 1
- fastt5 not working with FastAPI gunicorn and docker HOT 1
- No such file or directory: '/content/encoder.embed_tokens.weight' HOT 3
- In the source code, the use of attention_mask is contradictory HOT 1
- Issue with onnxruntime HOT 4
- GPU support
- Segmentation fault (core dumped) HOT 5
- Is fastT5 qunatization slower than pytorch dynamic quantization?
- TypeError: quantize_dynamic() got an unexpected keyword argument 'activation_type' HOT 1
- Dead kernel
- TypeError: quantize_dynamic() got an unexpected keyword argument 'activation_type' HOT 4
- Does UMT5 Supports? HOT 2
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 fastt5.