hf_mirrors/agiin-13.6B-v0.1
Model Introduction
Files & versions
Analysis

Model Card for mncai/agiin-13.6B-v0.1

Introduction of MindsAndCompany

https://mnc.ai/

We create various AI models and develop solutions that can be applied to businesses. And as for generative AI, we are developing products like Code Assistant, TOD Chatbot, LLMOps, and are in the process of developing Enterprise AGI (Artificial General Intelligence).

Model Summary

This model was built based on the Mistral architecture. It was inspired by neural connection technology and rehabilitation therapy. I have created a new model architecture that does not require pretraining, and training the model is sufficient with just one H100 for 7 hours.

Data

Intel/orca_dpo_pairs (DPO)

Surgery and Training

stack mistral 62 layers and DPO.

How to Use

from openmind import AutoTokenizer, AutoModelForCausalLM
import openmind
import torch
import torch_npu 
import argparse

def parse_args():
    parser = argparse.ArgumentParser()
    parser.add_argument(
        "--model_name_or_path",
        type=str,
        help="Path to model",
        default="LF_AICC/agiin-13.6B-v0.1",
    )
    args = parser.parse_args()
    return args

args = parse_args()
model = args.model_name_or_path

tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = openmind.pipeline(
    "text-generation",
    model=model,
    tokenizer=tokenizer,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
sequences = pipeline(
   "<|im_start|>user\nDoes P=NP?<|im_end|>\n<|im_start|>assistant\n",
    max_length=256,
    do_sample=True,
    top_k=10,
    num_return_sequences=1,
    eos_token_id=tokenizer.eos_token_id,
)
for seq in sequences:
    print(f"Result: {seq['generated_text']}")

Contact

If you have any questions, please raise an issue or contact us at dwmyoung@mnc.ai