AI Natural Language Tests
Collection
4 items • Updated • 1
How to use aiqualitylab/ai-natural-language-tests with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("aiqualitylab/ai-natural-language-tests", device_map="auto")How to use aiqualitylab/ai-natural-language-tests with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf aiqualitylab/ai-natural-language-tests:Q8_0 # Run inference directly in the terminal: llama cli -hf aiqualitylab/ai-natural-language-tests:Q8_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf aiqualitylab/ai-natural-language-tests:Q8_0 # Run inference directly in the terminal: llama cli -hf aiqualitylab/ai-natural-language-tests:Q8_0
# 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 aiqualitylab/ai-natural-language-tests:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf aiqualitylab/ai-natural-language-tests:Q8_0
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 aiqualitylab/ai-natural-language-tests:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf aiqualitylab/ai-natural-language-tests:Q8_0
docker model run hf.co/aiqualitylab/ai-natural-language-tests:Q8_0
How to use aiqualitylab/ai-natural-language-tests with Ollama:
ollama run hf.co/aiqualitylab/ai-natural-language-tests:Q8_0
How to use aiqualitylab/ai-natural-language-tests with Pi:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aiqualitylab/ai-natural-language-tests:Q8_0
# 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": "aiqualitylab/ai-natural-language-tests:Q8_0"
}
]
}
}
}# Start Pi in your project directory: pi
How to use aiqualitylab/ai-natural-language-tests with Docker Model Runner:
docker model run hf.co/aiqualitylab/ai-natural-language-tests:Q8_0
How to use aiqualitylab/ai-natural-language-tests with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull aiqualitylab/ai-natural-language-tests:Q8_0
lemonade run user.ai-natural-language-tests-Q8_0
lemonade list
How to use aiqualitylab/ai-natural-language-tests with Hermes Agent:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aiqualitylab/ai-natural-language-tests:Q8_0
# 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 aiqualitylab/ai-natural-language-tests:Q8_0
hermes
How to use aiqualitylab/ai-natural-language-tests with OpenClaw:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf aiqualitylab/ai-natural-language-tests:Q8_0
# 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 "aiqualitylab/ai-natural-language-tests:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
openclaw agent --local --agent main --message "Hello from Hugging Face"
This model is a fine-tuned version of Qwen/Qwen2.5-Coder-1.5B-Instruct. It has been trained using TRL.
from transformers import pipeline
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?"
generator = pipeline("text-generation", model="aiqualitylab/ai-natural-language-tests", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
This model was trained with SFT.
Cite TRL as:
@software{vonwerra2020trl,
title = {{TRL: Transformers Reinforcement Learning}},
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
license = {Apache-2.0},
url = {https://github.com/huggingface/trl},
year = {2020}
}
8-bit
Base model
Qwen/Qwen2.5-1.5B