Translation
Transformers
Safetensors
MLX
gemma3_text
text-generation
mlx-my-repo
text-generation-inference
4-bit precision
Instructions to use introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit") model = AutoModelForCausalLM.from_pretrained("introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit", device_map="auto") - MLX
How to use introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit
The Model introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit was converted to MLX format from yanolja/YanoljaNEXT-Rosetta-27B-2511 using mlx-lm version 0.28.3.
Use with mlx
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit")
prompt="hello"
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
- Downloads last month
- 11
Model size
28B params
Tensor type
BF16
ยท
U32 ยท
Hardware compatibility
Log In to add your hardware
4-bit
Model tree for introvoyz041/YanoljaNEXT-Rosetta-27B-2511-mlx-4Bit
Base model
yanolja/YanoljaNEXT-Rosetta-27B-2511