https://github.com/pratheeshrussell/llm_node
Trying to run llm with node
https://github.com/pratheeshrussell/llm_node
Last synced: 3 months ago
JSON representation
Trying to run llm with node
- Host: GitHub
- URL: https://github.com/pratheeshrussell/llm_node
- Owner: pratheeshrussell
- Created: 2023-12-24T06:23:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-18T07:36:07.000Z (over 1 year ago)
- Last Synced: 2025-01-10T04:13:54.055Z (5 months ago)
- Language: TypeScript
- Size: 158 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLM Node
Using [node-llama-cpp](https://withcatai.github.io/node-llama-cpp/)## Model
Add a gguf model to the models folder
Tried
* [TheBloke/dolphin-2_6-phi-2-GGUF](https://huggingface.co/TheBloke/dolphin-2_6-phi-2-GGUF)## running the code
```
npm run start
```## Running the model in chat mode from commandline
After installing the dependencies
```
npx --no node-llama-cpp chat --model ./models/dolphin-2_6-phi-2.Q4_K_M.gguf
```## Version
* Node: V18.12.0