How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="evelabs/ghost")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("evelabs/ghost")
model = AutoModelForCausalLM.from_pretrained("evelabs/ghost", 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=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

ghost

Write-up: A trace of the mind, in the weights.
Machine-Readable Spec: evelabs.info/notes/001/spec.xml
Causal Control (Arm B): evelabs/ghost-control-student-B

ghost is a text-in, text-out language model post-trained via full-vocabulary privileged distillation from an EEG-conditioned teacher. During training, the teacher reads simultaneous human neural data alongside the conversation prompt; during distillation, ghost learns to infer unspoken user intent from the unfolding text trajectory aloneโ€”requiring no neural hardware at run time.

Quickstart

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "evelabs/ghost"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")

Overview

Evaluated on strictly held-out recording sessions against ghost-control-student-B (identical base model, text, token order, and seed, but distilled from a teacher fed turn-shuffled EEG):

  • High-Entropy Conceptual Forks: The neural signal acts 23.5ร— stronger at high-entropy conceptual bifurcations than on low-entropy syntax, where local grammar already determines the next token.
  • Amortized Intent Inference: As conversation context accumulates at run time, ghost reconstructs the latent cognitive state from text alone and outperforms the control on multi-turn continuations and long-range discourse resolution (LAMBADA and WikiText perplexity).
  • Internal Geometry Alignment: Even though trained purely on output token probabilities, ghost's internal transformer hidden states spontaneously align with the real-EEG teacher on unseen sessions.

Full write-up and data: https://evelabs.info/notes/001

Downloads last month
134
Safetensors
Model size
4B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support