Downloads · 30 days
55
9% of all-time downloads
Vlor999/mlx-UNfilteredAI-1B
mlx-UNfilteredAI-1B is a text generation model from Vlor999. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
This is the MLX version of the UnfilteredAI-1B model, optimized for efficient inference on Apple Silicon devices using Apple's MLX framework.
Downloads · 30 days
55
9% of all-time downloads
All-time downloads
640
Public
Parameters
1.1B
2.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.1 GB · 100%
From the Hugging Face model README
This is the MLX version of the UnfilteredAI-1B model, optimized for efficient inference on Apple Silicon devices using Apple's MLX framework.
The MLX UnfilteredAI-1B is a converted version of the original UnfilteredAI-1B text generation model, adapted for Apple's MLX machine learning framework. This allows for fast and efficient text generation on macOS devices with M-series chips, leveraging the native capabilities of Apple Silicon.
This model can be used for text generation tasks such as:
The model is uncensored and may generate sensitive, controversial, or harmful content. It should not be used for:
As an uncensored model, it may exhibit biases present in the training data and generate inappropriate content. Users should be aware of potential risks including:
Use responsibly and with caution. Implement appropriate safeguards if deploying in production environments.
To use this model, you'll need to install the MLX library and mlx-lm:
# uv version
uv init .
uv add mlx mlx-lm
# pip version
pip install mlx mlx-lm
Then, load and use the model:
from mlx_lm import load, generate
# Load the model from hugging-face
model, tokenizer = load("Vlor999/mlx-UNfilteredAI-1B")
# Generate text
prompt = "Hello, how are you?"
response = generate(model, tokenizer, prompt, max_tokens=100, verbose=True)
print(response)
Then run the model:
uv run python filename.py
# or by using the environment
source .venv/bin/activate
python filename.py
Or directly using mlx-lm:
uv run mlx_lm.chat --model Vlor999/mlx-UNfilteredAI-1B
# Example:
uv run mlx_lm.chat --model Vlor999/mlx-UNfilteredAI-1B --max-tokens=4096
# to have more informations about how to use mlx_lm you can run:
uv run mlx_lm.chat --help