Git Product home page Git Product logo

mps256 / vicuna.ps1 Goto Github PK

View Code? Open in Web Editor NEW
82.0 8.0 18.0 110 KB

This is a PowerShell script that automates the process of setting up and running VICUNA on a CPU (without a graphics card) using the llama.cpp library and a pre-trained ggml-vicuna-13b-4bit.bin model. The script downloads and extracts the required files, creates a batch file to run VICUNA, and creates a desktop shortcut to launch the batch file.

PowerShell 100.00%
ai chatbot chatgpt chatgpt3 chatgpt4 cpu gpt vicuna

vicuna.ps1's Issues

Wrong path

On PC PowerShell script placed main.exe into folder C:\VICUNA\llama-master-master-cc9cee8--x64\main.exe but vicuna.bat is expected at C:\VICUNA\main.exe

Launch error

Failed to open logfile 'main.log' with error 'Permission denied'
[1698425118] Log start
[1698425118] Cmd: C:\VICUNA\llama.cpp\main.exe -i --interactive-first -r "### Human:" -t 8 --temp 0 --color -c 2048 -n -1 --ignore-eos --repeat_penalty 1.2 --instruct -m C:\VICUNA\ggml-vicuna-13b-4bit.bin
[1698425118] main: build = 1431 (c8d6a1f)
[1698425118] main: built with MSVC 19.35.32217.1 for x64
[1698425118] main: seed = 1698425118
[1698425118] main: llama backend init
[1698425118] main: load the model and apply lora adapter, if any
gguf_init_from_file: invalid magic characters tjgg.
error loading model: llama_model_loader: failed to load model from C:\VICUNA\ggml-vicuna-13b-4bit.bin

llama_load_model_from_file: failed to load model
llama_init_from_gpt_params: error: failed to load model 'C:\VICUNA\ggml-vicuna-13b-4bit.bin'
[1698425118] main: error: unable to load model
Press any key to continue . . .

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.