Edit model card

Model Information

BrainCog is developed by BrainCog group.

Current version is BrainCog-8B-0.1-Instruct.

Use with transformers

import torch
import transformers

model_id = "sunbaby/BrainCog-8B-0.1-Instruct"
pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={
      "torch_dtype": torch.bfloat16
    },
    device_map="auto",
)
messages = [
    {"role": "system", "content": "You are a useful chatbot or assistant to help people."},
    {"role": "user", "content": "How are you?"},
]
outputs = pipeline(
    messages,
    max_new_tokens=2048,
)
print(outputs[0]["generated_text"][-1])

Responsibility

The output of the model is uncontrollable, and its output does not represent our opinion

Downloads last month
21
Safetensors
Model size
8.03B params
Tensor type
BF16
·
Inference API
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for sunbaby/BrainCog-8B-0.1-Instruct

Finetuned
this model
Quantizations
1 model

Dataset used to train sunbaby/BrainCog-8B-0.1-Instruct