Downloads · 30 days
165
0% of all-time downloads
BEE-spoke-data/Mixtral-GQA-400m-v2
Mixtral-GQA-400m-v2 is a text generation model from BEE-spoke-data. 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
165
0% of all-time downloads
All-time downloads
41.5K
Public
Parameters
2B
158 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors4.3 GB · 100%
How the weights are stored.
BF161.9B · 93%
From the Hugging Face model README
# !pip install -U -q transformers datasets accelerate sentencepiece
import pprint as pp
from transformers import pipeline
pipe = pipeline(
"text-generation",
model="BEE-spoke-data/Mixtral-GQA-400m-v2",
device_map="auto",
)
pipe.model.config.pad_token_id = pipe.model.config.eos_token_id
prompt = "My favorite movie is Godfather because"
res = pipe(
prompt,
max_new_tokens=256,
top_k=4,
penalty_alpha=0.6,
use_cache=True,
no_repeat_ngram_size=4,
repetition_penalty=1.1,
renormalize_logits=True,
)
pp.pprint(res[0])