How to use from the
Use from the
MLX library
# Make sure mlx-lm is installed
# pip install --upgrade mlx-lm
# if on a CUDA device, also pip install mlx[cuda]

# Generate text with mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("FritzStack/Llama3B-GoEmotions-mlx-Q4")

prompt = "Once upon a time in"
text = generate(model, tokenizer, prompt=prompt, verbose=True)

FritzStack/Llama3B-emotions-merged-mlx-4Bit

The Model FritzStack/Llama3B-emotions-merged-mlx-4Bit was converted to MLX format from FritzStack/Llama3B-emotions-merged using mlx-lm version 0.29.1.

Use with mlx

pip install mlx-lm
!pip install git+https://github.com/Fede-stack/TONYpy.git
from TONY.Emotions import Emotions_Predictor_mlx
emotions = Emotions_Predictor_mlx(model_name = 'FritzStack/Llama3B-GoEmotions-mlx-Q4')
emotions.predict_emotions(text)
Downloads last month
16
Safetensors
Model size
0.5B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for FritzStack/Llama3B-GoEmotions-mlx-Q4