Instructions to use Agtian/cpt7 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 Agtian/cpt7 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 Agtian/cpt7:BF16 # Run inference directly in the terminal: llama cli -hf Agtian/cpt7:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Agtian/cpt7:BF16 # Run inference directly in the terminal: llama cli -hf Agtian/cpt7:BF16
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 Agtian/cpt7:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf Agtian/cpt7:BF16
Use Docker
docker model run hf.co/Agtian/cpt7:BF16
- Llama new
- LM Studio
- Jan
- Ollama
How to use Agtian/cpt7 with Ollama:
ollama run hf.co/Agtian/cpt7:BF16
- Unsloth Desktop
- Pi
How to use Agtian/cpt7 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Agtian/cpt7:BF16
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": "Agtian/cpt7:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Agtian/cpt7 with Docker Model Runner:
docker model run hf.co/Agtian/cpt7:BF16
- Lemonade
How to use Agtian/cpt7 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Agtian/cpt7:BF16
Run and chat with the model
lemonade run user.cpt7-BF16
List all available models
lemonade list
- Hermes Agent
How to use Agtian/cpt7 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Agtian/cpt7:BF16
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 Agtian/cpt7:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Agtian/cpt7 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Agtian/cpt7:BF16
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 "Agtian/cpt7:BF16" \ --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"
Training in progress, step 6850
Browse files- README.md +51 -13
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,21 +1,59 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
-
-
|
| 4 |
-
- llama.cpp
|
| 5 |
- unsloth
|
| 6 |
-
-
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
-
#
|
| 10 |
|
| 11 |
-
This model
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
- For text only LLMs: `llama-cli -hf Agtian/cpt7 --jinja`
|
| 15 |
-
- For multimodal models: `llama-mtmd-cli -hf Agtian/cpt7 --jinja`
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: aisingapore/Gemma-SEA-LION-v4.5-E2B-IT
|
| 3 |
+
library_name: transformers
|
| 4 |
+
model_name: cpt7
|
| 5 |
tags:
|
| 6 |
+
- generated_from_trainer
|
|
|
|
| 7 |
- unsloth
|
| 8 |
+
- sft
|
| 9 |
+
- trl
|
| 10 |
+
licence: license
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Model Card for cpt7
|
| 14 |
|
| 15 |
+
This model is a fine-tuned version of [aisingapore/Gemma-SEA-LION-v4.5-E2B-IT](https://huggingface.co/aisingapore/Gemma-SEA-LION-v4.5-E2B-IT).
|
| 16 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
| 17 |
|
| 18 |
+
## Quick start
|
|
|
|
|
|
|
| 19 |
|
| 20 |
+
```python
|
| 21 |
+
from transformers import pipeline
|
| 22 |
+
|
| 23 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 24 |
+
generator = pipeline("text-generation", model="Agtian/cpt7", device="cuda")
|
| 25 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 26 |
+
print(output["generated_text"])
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
## Training procedure
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
This model was trained with SFT.
|
| 35 |
+
|
| 36 |
+
### Framework versions
|
| 37 |
+
|
| 38 |
+
- TRL: 0.24.0
|
| 39 |
+
- Transformers: 5.5.0
|
| 40 |
+
- Pytorch: 2.8.0+cu129
|
| 41 |
+
- Datasets: 4.3.0
|
| 42 |
+
- Tokenizers: 0.22.2
|
| 43 |
+
|
| 44 |
+
## Citations
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
Cite TRL as:
|
| 49 |
+
|
| 50 |
+
```bibtex
|
| 51 |
+
@misc{vonwerra2022trl,
|
| 52 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
| 53 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
|
| 54 |
+
year = 2020,
|
| 55 |
+
journal = {GitHub repository},
|
| 56 |
+
publisher = {GitHub},
|
| 57 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
| 58 |
+
}
|
| 59 |
+
```
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2016091984
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c81802ace7564d1db12e75c8ba80048a7bfff07d5e541f71065328d2aeffa53
|
| 3 |
size 2016091984
|