7 ms·
Are there more accurate models available? All my tests seem to give poor results. I assume because it has to be a downloadable size?
by slimebot80 4y ago
Are there more accurate models available?
All my tests seem to give poor results. I assume because it has to be a downloadable size?
- xenova 4y agoHere is the full list of available models: https://huggingface.co/Xenova/transformers.js/tree/main/quantized https://huggingface.co/Xenova/transformers.js/tree/main/quan... As I mentioned in another comment, the library just allows the models to be run in the browser. The models generally give the same outputs as if they were run with their PyTorch equivalents, so, the quality can (for the most part) be blamed on the original model. Also, remember to play around with generation parameters. Some tasks like code completion and speech-to-text work best with greedy sampling (sample=false, top_k=0), while others like text generation work best with random sampling (sample=true, top_k>0)