luojunyu/SemiEvol
Viewer • Updated • 56k • 203 • 18
How to use luojunyu/Llama-3.1-8B-SemiEvol-MMLU with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="luojunyu/Llama-3.1-8B-SemiEvol-MMLU") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("luojunyu/Llama-3.1-8B-SemiEvol-MMLU")
model = AutoModelForCausalLM.from_pretrained("luojunyu/Llama-3.1-8B-SemiEvol-MMLU", device_map="auto")Release model for paper SemiEvol.
Base model
meta-llama/Llama-3.1-8B