How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Pretergeek/Mistral-7B-v0.2_EOT")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Pretergeek/Mistral-7B-v0.2_EOT")
model = AutoModelForCausalLM.from_pretrained("Pretergeek/Mistral-7B-v0.2_EOT", device_map="auto")
Quick Links

Adds EOT token to Mistral-7B-v0.2. This replicates Mistral_7B_with_EOT_token but using Mistral-7B-v0.2 instead of v0.1.

Downloads last month
8
Safetensors
Model size
7B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support