Instructions to use CyberSociety/HummanAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use CyberSociety/HummanAI with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("undefined") model.load_adapter("CyberSociety/HummanAI", set_active=True) - llama-cpp-python
How to use CyberSociety/HummanAI with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="CyberSociety/HummanAI", filename="Model_Bahasa_Ram 2.gguf", )
llm.create_chat_completion( messages = "\"I like you. I love you\"" )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use CyberSociety/HummanAI with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf CyberSociety/HummanAI # Run inference directly in the terminal: llama-cli -hf CyberSociety/HummanAI
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf CyberSociety/HummanAI # Run inference directly in the terminal: llama-cli -hf CyberSociety/HummanAI
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 CyberSociety/HummanAI # Run inference directly in the terminal: ./llama-cli -hf CyberSociety/HummanAI
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 CyberSociety/HummanAI # Run inference directly in the terminal: ./build/bin/llama-cli -hf CyberSociety/HummanAI
Use Docker
docker model run hf.co/CyberSociety/HummanAI
- LM Studio
- Jan
- Ollama
How to use CyberSociety/HummanAI with Ollama:
ollama run hf.co/CyberSociety/HummanAI
- Unsloth Studio
How to use CyberSociety/HummanAI with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CyberSociety/HummanAI to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CyberSociety/HummanAI to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for CyberSociety/HummanAI to start chatting
- Pi
How to use CyberSociety/HummanAI with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf CyberSociety/HummanAI
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "CyberSociety/HummanAI" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use CyberSociety/HummanAI with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf CyberSociety/HummanAI
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 CyberSociety/HummanAI
Run Hermes
hermes
- Docker Model Runner
How to use CyberSociety/HummanAI with Docker Model Runner:
docker model run hf.co/CyberSociety/HummanAI
- Lemonade
How to use CyberSociety/HummanAI with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull CyberSociety/HummanAI
Run and chat with the model
lemonade run user.HummanAI-{{QUANT_TAG}}List all available models
lemonade list
Upload 2 files
Browse files## 💻 Cara Menjalankan Aplikasi
1. Buka terminal/command prompt.
2. Arahkan ke direktori proyek Anda.
3. Jalankan script Python:
```bash
python main.py
```
*(Ganti `main.py` dengan nama file Python Anda yang sebenarnya).*
Setelah berjalan, Anda akan melihat tampilan seperti ini di terminal:
```text
=== HackCat AI Chat ===
(Ketik 'exit' untuk berhenti)
Kamu: Halo, apa kabar?
AI: Halo! Kabar saya baik. Ada yang bisa saya bantu hari ini?
```
Ketik **`exit`** kapan saja untuk menghentikan program dan keluar dari sesi obrolan.
---
## ⚙️ Penjelasan Kode Singkat
* `model_path="./model/"`: Menentukan lokasi di mana program akan mencari file model.
* `allow_download=False`: Memaksa program untuk hanya menggunakan model yang sudah ada secara lokal. Jika file tidak ditemukan, program akan memunculkan *error* alih-alih mencoba mengunduhnya dari internet.
* `streaming=True`: Memungkinkan teks dicetak ke layar sedikit demi sedikit (efek mengetik) alih-alih menunggu seluruh kalimat selesai dibuat oleh AI.
---
- .gitattributes +1 -0
- Model_Bahasa_Ram 2.gguf +3 -0
- main.py +17 -0
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Model_Bahasa_Ram[[:space:]]2.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a1a2eb6d15622bf3c96857206351ba97e1af16c30d7a74ee38970e434e9407e
|
| 3 |
+
size 1117320736
|
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from gpt4all import GPT4All
|
| 2 |
+
model = GPT4All(
|
| 3 |
+
model_name="Model_Bahasa_Ram 2.gguf",
|
| 4 |
+
model_path="./model/",
|
| 5 |
+
allow_download=False
|
| 6 |
+
)
|
| 7 |
+
print("=== HackCat AI Chat ===")
|
| 8 |
+
print("(Ketik 'exit' untuk berhenti)\n")
|
| 9 |
+
with model.chat_session():
|
| 10 |
+
while True:
|
| 11 |
+
pesan = input("Kamu: ")
|
| 12 |
+
if pesan.lower() == 'exit':
|
| 13 |
+
break
|
| 14 |
+
print("AI: ", end="", flush=True)
|
| 15 |
+
for teks in model.generate(pesan, max_tokens=500, streaming=True):
|
| 16 |
+
print(teks, end="", flush=True)
|
| 17 |
+
print()
|