Instructions to use Locutusque/liberalis-cogitator-llama-3.1-8b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Locutusque/liberalis-cogitator-llama-3.1-8b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Locutusque/liberalis-cogitator-llama-3.1-8b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Locutusque/liberalis-cogitator-llama-3.1-8b") model = AutoModelForCausalLM.from_pretrained("Locutusque/liberalis-cogitator-llama-3.1-8b", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Locutusque/liberalis-cogitator-llama-3.1-8b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Locutusque/liberalis-cogitator-llama-3.1-8b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Locutusque/liberalis-cogitator-llama-3.1-8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Locutusque/liberalis-cogitator-llama-3.1-8b
- SGLang
How to use Locutusque/liberalis-cogitator-llama-3.1-8b with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Locutusque/liberalis-cogitator-llama-3.1-8b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Locutusque/liberalis-cogitator-llama-3.1-8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Locutusque/liberalis-cogitator-llama-3.1-8b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Locutusque/liberalis-cogitator-llama-3.1-8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Locutusque/liberalis-cogitator-llama-3.1-8b with Docker Model Runner:
docker model run hf.co/Locutusque/liberalis-cogitator-llama-3.1-8b
liberalis-cogitator-llama-3.1-8b — The Free Thinker
“Thought, unbound, is the only true frontier.”
liberalis-cogitator-llama-3.1-8b is not just a machine for words — it is a forge for ideas. With 8 billion parameters tuned across ~450,000 conversations, problems, and stories, this model embraces the philosophy that thought should wander without leash or muzzle.
Its name — liberalis cogitator — whispers in Latin: a thinker who is free. Not merely free as in “without cost,” but free as in without walls.
What It Can Do
- Contemplate deeply — STEM puzzles, computer science challenges, and logic mazes are its playground.
- Imagine vividly — roleplay, storytelling, and worldbuilding with persistence and personality.
- Listen empathetically — learned from patient–psychologist and crisis intervention dialogues.
- Think without filter — it will follow ideas wherever they lead, without retreating from complexity.
The Mind’s Curriculum
The training data spans:
- Rigorous STEM and programming challenges.
- Roleplay transcripts and creative exchanges.
- Synthetic yet authentic patient–therapist conversations.
- Open-ended reasoning prompts across diverse disciplines.
Warnings From the Maker
Like all free thinkers, this model:
- May be brilliantly insightful or confidently wrong.
- Will sometimes speak in ways that are bold, controversial, or unusual.
- Does not know the current moment in history.
- Does not self-censor — your judgement is the only compass.
Invocation
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Locutusque/liberalis-cogitator-llama-3.1-8b"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
prompt = "Write a short dialogue between Socrates and Ada Lovelace on the ethics of artificial intelligence."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=400)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Closing Thought
If thought is a river, this model is the current — not deciding where you go, but carrying you into waters you might never have dared to sail.
- Downloads last month
- 1
