Downloads · 30 days
7
11% of all-time downloads
Aleteian/TerraIncognita-24B
TerraIncognita-24B is a machine learning model from Aleteian. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
TerraIncognita-24B is a merge of the following models using LazyMergekit: LatitudeGames/Harbinger-24B ReadyArt/Broken-Tutu-24B-Unslop-v2.0
Downloads · 30 days
7
11% of all-time downloads
All-time downloads
66
Public
Parameters
23.6B
47.2 GB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors47.1 GB · 100%
From the Hugging Face model README
TerraIncognita-24B is a merge of the following models using LazyMergekit:
models:
- model: LatitudeGames/Harbinger-24B
parameters:
weight: 1.0
- model: ReadyArt/Broken-Tutu-24B-Unslop-v2.0
parameters:
weight: 1.0
merge_method: della_linear
base_model: LatitudeGames/Harbinger-24B
parameters:
normalize: true
int8_mask: true
dtype: float16
tokenizer:
source: union
chat_template: "chatml"
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "Aleteian/TerraIncognita-24B"
messages = [{"role": "user", "content": "What is a large language model?"}]
tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
"text-generation",
model=model,
torch_dtype=torch.float16,
device_map="auto",
)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])