Downloads · 30 days
28
5% of all-time downloads
phospho-app/mistral_7b_V0.1
mistral_7b_V0.1 is a text generation model from phospho-app. 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.
Implementation of Mistral 7B model by the phospho team. You can test it directly in the HuggingFace space.
Downloads · 30 days
28
5% of all-time downloads
All-time downloads
540
Public
Repo size
29.5 GB
Likes
4
Public
Click a slice to open those files.
.bin15 GB · 100%
From the Hugging Face model README
Implementation of Mistral 7B model by the phospho team. You can test it directly in the HuggingFace space.
import torch
from transformers import LlamaForCausalLM, LlamaTokenizer, pipeline, TextStreamer
tokenizer = LlamaTokenizer.from_pretrained("phospho-app/mistral_7b_V0.1")
model = LlamaForCausalLM.from_pretrained("phospho-app/mistral_7b_V0.1", torch_dtype=torch.bfloat16)
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)