Downloads · 30 days
5
21% of all-time downloads
flopsy1/mistral-7B-arXflix
mistral-7B-arXflix is a text generation model from flopsy1. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
5
21% of all-time downloads
All-time downloads
24
Public
Repo size
336 MB
Likes
2
Public
Click a slice to open those files.
.safetensors336 MB · 100%
From the Hugging Face model README
from mistral_inference.model import Transformer
from mistral_inference.generate import generate
from mistral_common.tokens.tokenizers.mistral import MistralTokenizer
from mistral_common.protocol.instruct.messages import UserMessage
from mistral_common.protocol.instruct.request import ChatCompletionRequest
tokenizer = MistralTokenizer.from_file("tokenizer.model.v3") # change to extracted tokenizer file
model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3") # change to extracted model dir
model.load_lora("lora.safetensors")