Text Generation
Safetensors
GGUF
Portuguese
llama
spiritism
kardec
espiritismo
allan-kardec
religion
portuguese
brazilian
fine-tuned
qlora
llama-3
spirituality
riv-ai
espírita
unsloth
GGUF
llama.cpp
conversational
Instructions to use ia-espirita/riv-ai 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 ia-espirita/riv-ai 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 ia-espirita/riv-ai:Q4_K_M # Run inference directly in the terminal: llama cli -hf ia-espirita/riv-ai:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ia-espirita/riv-ai:Q4_K_M # Run inference directly in the terminal: llama cli -hf ia-espirita/riv-ai:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf ia-espirita/riv-ai:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ia-espirita/riv-ai:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf ia-espirita/riv-ai:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ia-espirita/riv-ai:Q4_K_M
Use Docker
docker model run hf.co/ia-espirita/riv-ai:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use ia-espirita/riv-ai with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ia-espirita/riv-ai" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ia-espirita/riv-ai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ia-espirita/riv-ai:Q4_K_M
- Ollama
How to use ia-espirita/riv-ai with Ollama:
ollama run hf.co/ia-espirita/riv-ai:Q4_K_M
- Unsloth Desktop
- Pi
How to use ia-espirita/riv-ai with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ia-espirita/riv-ai:Q4_K_M
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ia-espirita/riv-ai:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ia-espirita/riv-ai with Docker Model Runner:
docker model run hf.co/ia-espirita/riv-ai:Q4_K_M
- Lemonade
How to use ia-espirita/riv-ai with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ia-espirita/riv-ai:Q4_K_M
Run and chat with the model
lemonade run user.riv-ai-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use ia-espirita/riv-ai with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ia-espirita/riv-ai:Q4_K_M
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:8080/v1 hermes config set model.default ia-espirita/riv-ai:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ia-espirita/riv-ai with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ia-espirita/riv-ai:Q4_K_M
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:8080/v1 \ --custom-model-id "ia-espirita/riv-ai:Q4_K_M" \ --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"
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- README.md +18 -17
- adapter_config.json +50 -0
- adapter_model.safetensors +3 -0
README.md
CHANGED
|
@@ -1,28 +1,29 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
-
|
| 4 |
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
| 19 |
datasets:
|
| 20 |
-
|
| 21 |
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
| 22 |
pipeline_tag: text-generation
|
| 23 |
model-index:
|
| 24 |
-
|
| 25 |
-
|
| 26 |
---
|
| 27 |
|
| 28 |
# 🔮 RIV AI — Modelo de IA Espírita Open Source
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
+
- pt
|
| 4 |
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
+
- spiritism
|
| 7 |
+
- kardec
|
| 8 |
+
- espiritismo
|
| 9 |
+
- allan-kardec
|
| 10 |
+
- religion
|
| 11 |
+
- portuguese
|
| 12 |
+
- brazilian
|
| 13 |
+
- fine-tuned
|
| 14 |
+
- qlora
|
| 15 |
+
- llama-3
|
| 16 |
+
- spirituality
|
| 17 |
+
- riv-ai
|
| 18 |
+
- espírita
|
| 19 |
+
- unsloth
|
| 20 |
datasets:
|
| 21 |
+
- ia-espirita/riv-ai-dataset
|
| 22 |
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
| 23 |
pipeline_tag: text-generation
|
| 24 |
model-index:
|
| 25 |
+
- name: riv-ai
|
| 26 |
+
results: []
|
| 27 |
---
|
| 28 |
|
| 29 |
# 🔮 RIV AI — Modelo de IA Espírita Open Source
|
adapter_config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alora_invocation_tokens": null,
|
| 3 |
+
"alpha_pattern": {},
|
| 4 |
+
"arrow_config": null,
|
| 5 |
+
"auto_mapping": {
|
| 6 |
+
"base_model_class": "LlamaForCausalLM",
|
| 7 |
+
"parent_library": "transformers.models.llama.modeling_llama",
|
| 8 |
+
"unsloth_fixed": true
|
| 9 |
+
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/meta-llama-3.1-8b-instruct-unsloth-bnb-4bit",
|
| 11 |
+
"bias": "none",
|
| 12 |
+
"corda_config": null,
|
| 13 |
+
"ensure_weight_tying": false,
|
| 14 |
+
"eva_config": null,
|
| 15 |
+
"exclude_modules": null,
|
| 16 |
+
"fan_in_fan_out": false,
|
| 17 |
+
"inference_mode": true,
|
| 18 |
+
"init_lora_weights": true,
|
| 19 |
+
"layer_replication": null,
|
| 20 |
+
"layers_pattern": null,
|
| 21 |
+
"layers_to_transform": null,
|
| 22 |
+
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 32,
|
| 24 |
+
"lora_bias": false,
|
| 25 |
+
"lora_dropout": 0,
|
| 26 |
+
"megatron_config": null,
|
| 27 |
+
"megatron_core": "megatron.core",
|
| 28 |
+
"modules_to_save": null,
|
| 29 |
+
"peft_type": "LORA",
|
| 30 |
+
"peft_version": "0.18.1",
|
| 31 |
+
"qalora_group_size": 16,
|
| 32 |
+
"r": 16,
|
| 33 |
+
"rank_pattern": {},
|
| 34 |
+
"revision": null,
|
| 35 |
+
"target_modules": [
|
| 36 |
+
"o_proj",
|
| 37 |
+
"up_proj",
|
| 38 |
+
"q_proj",
|
| 39 |
+
"down_proj",
|
| 40 |
+
"v_proj",
|
| 41 |
+
"gate_proj",
|
| 42 |
+
"k_proj"
|
| 43 |
+
],
|
| 44 |
+
"target_parameters": null,
|
| 45 |
+
"task_type": "CAUSAL_LM",
|
| 46 |
+
"trainable_token_indices": null,
|
| 47 |
+
"use_dora": false,
|
| 48 |
+
"use_qalora": false,
|
| 49 |
+
"use_rslora": false
|
| 50 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:430a1cfe022285dcbc5d7e50f3508dda11fa5b40c1feebc9f207414935112c5d
|
| 3 |
+
size 167832240
|