Kevin Scott

Results 78 comments of Kevin Scott

@CharlieFRuan I've just tried again (same Chrome version) and, lo and behold, it appears to be working. Perhaps there was a new deploy of `webllm` in the meantime? I see...

I think there's a few things to try: 1. Does it work in the browser for you? Check this link (https://codesandbox.io/p/devbox/upscalerjs-demo-maxim-denoising-msfsy8?embed=1&file=%2Findex.js%3A13%2C4) - and check out the console. It will probably...

Appreciate the testing, and sorry you're running into this. Let's try a different tack. Try cloning this repo (https://github.com/thekevinscott/upscaling-noise-bug), running `npm install` and then `npm run dev`, and see what...

Just to clarify, if you do something like: ``` const tf = require('@tensorflow/tfjs-node'); const image = tf.node.decodeImage(fs.readFileSync('./fixture.png'), 3); ``` It gives you the above issue? (I'm unclear whether the error...

``` ./build-for-web.sh ndarray ``` appears to work, but introduces new errors into the console: ``` mnist_inference_web.js:315 panicked at /Users/thekevinscott/code/burn/burn-core/src/record/memory.rs:39:85: called `Result::unwrap()` on an `Err` value: Utf8 { inner: Utf8Error {...

It looks as though the initial model is missing `inputNames`. The (working) model (`@Xenova/phi-1_5_dev`) has: ``` inputNames: [ 'input_ids', 'attention_mask', 'position_ids', 'past_key_values.0.key', 'past_key_values.0.value', 'past_key_values.1.key', 'past_key_values.1.value', 'past_key_values.2.key', 'past_key_values.2.value', 'past_key_values.3.key', 'past_key_values.3.value', 'past_key_values.4.key',...

Thanks for the discussion and the responses. I've been trying to implement this updated command, but dependencies seem to have shifted since I last posted. I'm trying to move these...

I've landed on a working implementation here: https://github.com/thekevinscott/reproducing-phi-1-5-conversion This appears to convert Phi 1.5 successfully from the [original repository](https://huggingface.co/susnato/phi-1_5_dev). To summarize the issues I ran into along the way: -...