Axm

Results 18 comments of Axm

Hello! - Thanks for the quick response! :) I upgrade to `Node v20.11.0` and reinstalled node_modules, still seeing path error. When adding absolute path, it still seems to append it...

I was able to fix this with the following code: ``` import { pipeline, env } from '@xenova/transformers'; env.localModelPath = './'; let pipe = await pipeline('feature-extraction','gte-small',{local_files_only:true}); ``` I think changing...

@xenova - bump! Let me know and I will start a PR for this

@hiepxanh Can you provide sample code and your directory structure so I can use as test case as well as mine?

@xenova @hiepxanh - I have found a quick patch. unable to push a branch up though? ``` $ git push origin explicit-path remote: Permission to xenova/transformers.js.git denied to axrati. fatal:...

@xenova - the change here isn't major, and doesnt supply full vs relative path. Its an issue with how `localPath` & `requestURL` are derived. Please let me open branch to...

@xenova , @hiepxanh, @lsb , @TrumanDu Sorry for the delay on this, have been working on other projects. Opened a forked PR here for review!: https://github.com/xenova/transformers.js/pull/602

@TrumanDu @hiepxanh @lsb @xenova No problem TrumanDu :) ... xenova - can you please check the PR? Small but effective change! https://github.com/xenova/transformers.js/pull/602

@xenova - reminder for this PR! if you can approve the checks to run it'd help ~