Files
Llama3-10B-lingyang-v1/README.md
ModelHub XC ea330f5297 初始化项目,由ModelHub XC社区提供模型
Model: wwe180/Llama3-10B-lingyang-v1
Source: Original Platform
2026-08-07 06:53:18 +08:00

1.4 KiB

base_model, library_name, tags, license
base_model library_name tags license
wwe180/Llama3-10B-lingyang-v1
transformers
mergekit
merge
other

#The model is experimental, so the results cannot be guaranteed.

After simple testing, the effect is good, stronger than llama-3-8b!

merge

This is a merge of pre-trained language models created using mergekit.

Merge Details

Merge Method

This model was merged using the passthrough merge method using NousResearch/Meta-Llama-3-8B-Instruct as a base.

Models Merged

The following models were included in the merge:

💻 Usage

!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "Llama3-10B-lingyang-v1"
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",
)