Reson

Reson is an inference-only LoRA adapter for meta-llama/Llama-2-7b-chat-hf. It was trained on approximately 11,000 instruction/response pairs to explore reflective reasoning and strategy revision. The training data is not included here.

The adapter weights in this repository are preserved as published. They have not been merged into the base model or converted.

Files

  • adapter_model.safetensors and adapter_config.json: the published adapter.
  • tokenizer.* and chat_template.jinja: the tokenizer assets and chat format published with this adapter.
  • training_logs/: historical training checkpoints. The benchmark uses only the top-level adapter.

Use

The base model is gated on Hugging Face. Request access from Meta and authenticate before loading it.

import torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig

base = "meta-llama/Llama-2-7b-chat-hf"
adapter = "Nexus-Walker/Reson"
tokenizer = AutoTokenizer.from_pretrained(base)
quantization = BitsAndBytesConfig(load_in_4bit=True, bnb_4bit_quant_type="nf4")
model = AutoModelForCausalLM.from_pretrained(
    base,
    quantization_config=quantization,
    torch_dtype=torch.float16,
    device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter)

License

Reson-authored documentation and helper code in this repository are MIT-licensed; see LICENSE. The adapter depends on Llama 2 and remains subject to Meta's Llama 2 Community License. LICENSE-LLAMA2 and its required attribution in NOTICE are included. Obtain the gated base model separately from Meta.

The model metadata identifies the adapter's Llama 2 license. No benchmark results are published here yet.

Downloads last month
38
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Nexus-Walker/Reson

Adapter
(1209)
this model