Swift 1.0 (myjellylabs/Swift-1.0) is a fast, open-weight multimodal assistant developed by MyJellyLab. It accepts Text, Image, and Audio inputs and generates Text outputs across a 128K-token context window, released in native bfloat16 under the Apache License 2.0.
Post-trained via a two-stage SFT + ORPO pipeline with frozen vision and audio encoders, Swift 1.0 is tailored for software engineering, agentic tool calling, finance and accounting, mathematics, hardware design, STEM reasoning, defensive cybersecurity, and startup operations.
| Specification | Details |
|---|---|
| Model Repository | myjellylabs/Swift-1.0 |
| Developer | MyJellyLab |
| Input Modalities | Text, Image, Audio |
| Output Modality | Text |
| Context Window | 128K tokens |
| Weights Format | Native bfloat16 (safetensors, sharded) |
| Post-Training | Stage 1 Multi-Domain SFT + Stage 2 ORPO Preference Alignment |
| Features | Native function/tool calling, optional thinking mode (enable_thinking=True) |
| License | Apache-2.0 |
>= 0.19.0)Serve an OpenAI-compatible API endpoint in bfloat16:
vllm serve myjellylabs/Swift-1.0 --dtype bfloat16 --port 8000
Query the running server:
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "myjellylabs/Swift-1.0",
"messages": [
{"role": "user", "content": "Write a PostgreSQL query to find the top 3 customers by total spend in 2026."}
],
"temperature": 0.2
}'
transformers (>= 5.10.1)pip install -U "transformers>=5.10.1" accelerate torch torchvision
import torch
from transformers import AutoProcessor, AutoModelForMultimodalLM
model_id = "myjellylabs/Swift-1.0"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForMultimodalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": "Explain EBITDA and compute it if Revenue is $500M, COGS is $200M, and OpEx is $120M (including $30M D&A)."}
]
prompt = processor.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False, # Set to True for step-by-step reasoning mode
)
inputs = processor(text=prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
output_ids = model.generate(**inputs, max_new_tokens=512, do_sample=False)
response = processor.decode(output_ids[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True)
print(response.strip())
float32 arithmetic into full bfloat16 weights while leaving vision, audio, and embedding layers untouched.Released under the Apache License 2.0. See the LICENSE file in this repository for full terms.
model-00002-of-00005.safetensors 5.6 GBmodel-00004-of-00005.safetensors 4.1 GBmodel-00003-of-00005.safetensors 4.0 GBmodel-00001-of-00005.safetensors 2.0 GBmodel-00005-of-00005.safetensors 273 MB