Instructions to use TensorVizion/Loi-LLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TensorVizion/Loi-LLM with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf TensorVizion/Loi-LLM # Run inference directly in the terminal: llama cli -hf TensorVizion/Loi-LLM
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TensorVizion/Loi-LLM # Run inference directly in the terminal: llama cli -hf TensorVizion/Loi-LLM
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf TensorVizion/Loi-LLM # Run inference directly in the terminal: ./build/bin/llama cli -hf TensorVizion/Loi-LLM
Use Docker
docker model run hf.co/TensorVizion/Loi-LLM
- Llama new
- LM Studio
- Jan
- Ollama
How to use TensorVizion/Loi-LLM with Ollama:
ollama run hf.co/TensorVizion/Loi-LLM
- Unsloth Desktop
- Pi
How to use TensorVizion/Loi-LLM with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TensorVizion/Loi-LLM
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "TensorVizion/Loi-LLM" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use TensorVizion/Loi-LLM with Docker Model Runner:
docker model run hf.co/TensorVizion/Loi-LLM
- Lemonade
How to use TensorVizion/Loi-LLM with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TensorVizion/Loi-LLM
Run and chat with the model
lemonade run user.Loi-LLM-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use TensorVizion/Loi-LLM with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TensorVizion/Loi-LLM
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default TensorVizion/Loi-LLM
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TensorVizion/Loi-LLM with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TensorVizion/Loi-LLM
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "TensorVizion/Loi-LLM" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
| 1 |
---
|
| 2 |
license: llama3.2
|
| 3 |
---
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
**A fine-tuned general-purpose chat model built on Meta's Llama 3.2 3B Instruct.**Developed by [LiquidVizion](https://liquidvizion.me) · Based on `meta-llama/Llama-3.2-3B-Instruct`
|
| 7 |
|
| 8 |
* * *
|
| 9 |
|
|
@@ -16,7 +15,7 @@ Vector AI is a conversational language model fine-tuned from Llama 3.2 3B Instru
|
|
| 16 |
| Base Model | meta-llama/Llama-3.2-3B-Instruct |
|
| 17 |
| Fine-tune Method | QLoRA (PEFT) |
|
| 18 |
| Parameters | ~3B |
|
| 19 |
-
| Context Length | 4096 tokens |
|
| 20 |
| Language | English |
|
| 21 |
| License | Llama 3.2 Community License |
|
| 22 |
|
|
@@ -44,7 +43,7 @@ This repository includes four files for different use cases:
|
|
| 44 |
import torch
|
| 45 |
|
| 46 |
base_model_id = "meta-llama/Llama-3.2-3B-Instruct"
|
| 47 |
-
adapter_id = "
|
| 48 |
|
| 49 |
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|
| 50 |
base_model = AutoModelForCausalLM.from_pretrained(
|
|
@@ -121,10 +120,10 @@ For more deterministic / factual responses, lower temperature to `0.3–0.5`.
|
|
| 121 |
|
| 122 |
This model is released under the **[Llama 3.2 Community License](https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE)**.Use is subject to Meta's acceptable use policy. Commercial use is permitted under the terms of that license.
|
| 123 |
|
| 124 |
-
Base model: © Meta Platforms, Inc.Fine-tune and adapter weights: ©
|
| 125 |
|
| 126 |
* * *
|
| 127 |
|
| 128 |
## About TensorVizion
|
| 129 |
|
| 130 |
-
[LiquidVizion](https://liquidvizion.me) is a creative AI and design studio publishing open models, LoRA adapters, and generative AI tools.Find more models and resources on [HuggingFace](https://huggingface.co/
|
|
|
|
| 1 |
---
|
| 2 |
license: llama3.2
|
| 3 |
---
|
| 4 |
+
## Introducing Loi
|
| 5 |
+
**A fine-tuned coding and general purpose model built on Meta's Llama 3.2 3B Instruct.**Developed by [TensorVizion](https://tensorvizion.github.io/Portfolio/) · Based on `meta-llama/Llama-3.2-3B-Instruct`
|
|
|
|
| 6 |
|
| 7 |
* * *
|
| 8 |
|
|
|
|
| 15 |
| Base Model | meta-llama/Llama-3.2-3B-Instruct |
|
| 16 |
| Fine-tune Method | QLoRA (PEFT) |
|
| 17 |
| Parameters | ~3B |
|
| 18 |
+
| QLoRA Context Length | 4096 tokens |
|
| 19 |
| Language | English |
|
| 20 |
| License | Llama 3.2 Community License |
|
| 21 |
|
|
|
|
| 43 |
import torch
|
| 44 |
|
| 45 |
base_model_id = "meta-llama/Llama-3.2-3B-Instruct"
|
| 46 |
+
adapter_id = "TensorVizion/Loi-LLM" # update with your HF repo path
|
| 47 |
|
| 48 |
tokenizer = AutoTokenizer.from_pretrained(base_model_id)
|
| 49 |
base_model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
| 120 |
|
| 121 |
This model is released under the **[Llama 3.2 Community License](https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE)**.Use is subject to Meta's acceptable use policy. Commercial use is permitted under the terms of that license.
|
| 122 |
|
| 123 |
+
Base model: © Meta Platforms, Inc.Fine-tune and adapter weights: © TensorVizion
|
| 124 |
|
| 125 |
* * *
|
| 126 |
|
| 127 |
## About TensorVizion
|
| 128 |
|
| 129 |
+
[LiquidVizion](https://liquidvizion.me) is a creative AI and design studio publishing open models, LoRA adapters, and generative AI tools.Find more models and resources on [HuggingFace](https://huggingface.co/tensorvizion) and [CivitAI](https://civitai.com/tensorvizion).
|