openplayground icon indicating copy to clipboard operation
openplayground copied to clipboard

add upload for models

Open iHaagcom opened this issue 1 year ago • 7 comments

Can you please provide an example of how to load a .bin model please?

iHaagcom avatar Apr 04 '23 08:04 iHaagcom

I'd like to know how to add my LLama and Alpaca Models as well. One of these is located at Z:\AI\dalai\alpaca\models\30B\ggml-model-q4_0.bin for example Would be cool to know how o at local Models

Cellenseres avatar Apr 04 '23 12:04 Cellenseres

Even .pt models, there isn't much instruction for these either.

iHaagcom avatar Apr 04 '23 13:04 iHaagcom

Just tried openplayground run -m "e:\Machine Learning\ggml-alpaca-7b-native-q4.bin"

Machine Learning\gpt4all-lora-quantized.bin" Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ MemoryError

iHaagcom avatar Apr 04 '23 14:04 iHaagcom

We will add examples in the next couple of days :) Unfortunately, you won't be able to load .pt files directly. Instead, you'd have to create a WebSocket server wrapper so that the UI can communicate with external models

AlexanderLourenco avatar Apr 04 '23 14:04 AlexanderLourenco

We will add examples in the next couple of days :)

Unfortunately, you won't be able to load .pt files directly. Instead, you'd have to create a WebSocket server wrapper so that the UI can communicate with external models

What about .bin models?

iHaagcom avatar Apr 04 '23 15:04 iHaagcom

We will add examples in the next couple of days :)

Unfortunately, you won't be able to load .pt files directly. Instead, you'd have to create a WebSocket server wrapper so that the UI can communicate with external models

What about .bin models?

check my pr

mmyjona avatar Apr 05 '23 16:04 mmyjona

Awesome looking forward to it.

iHaagcom avatar Apr 09 '23 23:04 iHaagcom