SkunkworksAI/reasoning-0.01
Viewer • Updated • 29.9k • 227 • 293
How to use saishshinde15/Reasoning_model_llama with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "question-answering" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# pip install "transformers<5.0.0"
from transformers import pipeline
pipe = pipeline("question-answering", model="saishshinde15/Reasoning_model_llama") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("saishshinde15/Reasoning_model_llama", device_map="auto")This llama model was trained 2x faster with Unsloth and Huggingface's TRL library.
Base model
meta-llama/Llama-3.1-8B