Instructions to use luojunyu/Llama-3.1-8B-SemiEvol-MMLU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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") - Notebooks
- Google Colab
- Kaggle
Ctrl+K