GithubHelp home page GithubHelp logo

Comments (9)

CharlieFRuan avatar CharlieFRuan commented on June 11, 2024 1

Thanks for the list! WizardMath and OpenHermes can reuse the wasm of Mistral (as shown in prebuiltAppConfig in src/config.ts); CodeLlama should be able to reuse that of Llama-2, as long as they share the same quantization (e.g. q4f16_1) and number of params (e.g. 7B or 13B).

from web-llm.

flatsiedatsie avatar flatsiedatsie commented on June 11, 2024

I think I just found the files:

https://huggingface.co/OO8/1_6B_dev/tree/main

from web-llm.

flatsiedatsie avatar flatsiedatsie commented on June 11, 2024

Got stuck on:

[FATAL] /workspace/mlc-llm/3rdparty/tvm/include/tvm/runtime/packed_func.h:1908: Function tvmjs.array.decode_storage(0: runtime.NDArray, 1: basic_string<char>, 2: basic_string<char>, 3: basic_string<char>) -> void expects 4 arguments, but 3 were provided.
put_char @ web-llm.bundle.mjs:3421

from web-llm.

CharlieFRuan avatar CharlieFRuan commented on June 11, 2024

This is likely due to an old version of the web-llm npm (if you are not building from source). If you are building from source, this is likely due to the repo not up to date; try pull the recent changes

from web-llm.

flatsiedatsie avatar flatsiedatsie commented on June 11, 2024

It would be fantastic if this model could become part of the default supported models.

The multi-language ability is fantastic. I'm very impressed with it, especially for its size.

from web-llm.

flatsiedatsie avatar flatsiedatsie commented on June 11, 2024

Awesome, it seems the model has already become available in the Huggingface repo. The chunks exist:

https://huggingface.co/mlc-ai

However, the .wasm files are missing from binary-mlc-llm-libs. I've created an issue about that.

mlc-ai/binary-mlc-llm-libs#111

from web-llm.

CharlieFRuan avatar CharlieFRuan commented on June 11, 2024

Thanks for the request! We should be able to add the prebuilt wasm files in shortly. cc @YiyanZhai

from web-llm.

flatsiedatsie avatar flatsiedatsie commented on June 11, 2024

Fantastic! Thank you!

from web-llm.

flatsiedatsie avatar flatsiedatsie commented on June 11, 2024

For the record, I think there are more models for which the shards are available, but the wasm files are not (yet).

  • Music
  • WizardMath
  • Gorilla
  • Gemma 7B
  • CodeLlama
  • OpenHermes

from web-llm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.