Agents-A1 35B-A3B

Apache 2.0

InternScience · 35B (3B active) · MoE

مزيج خبراء وكيل متعدّد الوسائط وعالي الكفاءة، للبحث الطويل والهندسة والبحث العلمي. تعرّف على ما إذا كان كرت شاشتك أو جهاز الماك قادرًا على تشغيل Agents-A1 35B-A3B محليًا — 19.6 جيجابايت كحد أدنى، و32.6 جيجابايت موصى بها.

كيف تستخدم Agents-A1 35B-A3B في Transformers

حمّل Agents-A1 35B-A3B في بايثون عبر مكتبة Transformers من HuggingFace. هذه الأوزان الكاملة غير المكمَّمة، فتحتاج ذاكرة أكبر من ملفات GGUF.

عبر pipeline — الطريقة الأسهل

pip install -U transformers
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="InternScience/Agents-A1")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)

تحميل النموذج مباشرة

pip install -U transformers
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("InternScience/Agents-A1")
model = AutoModelForMultimodalLM.from_pretrained("InternScience/Agents-A1", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))

التوثيق الرسمي: Transformers

أوامر التشغيلHuggingFace
2026-06سياق 256K

مستويات الـ Quantization

Quantizationالبتاتالذاكرةالجودةالحالة
Q2_K211.7GBمنخفضة—
Q3_K_M316.2GBمتوسطة—
Q4_K_M418.4GBجيدة—
Q5_K_M522.9GBجيدة—
Q6_K627.4GBممتازة—
Q8_0836.4GBممتازة—
F161672.2GBبلا فقد—

الأرقام تشمل الأوزان وذاكرة KV عند طول سياق 2K توكن. غيّر طول السياق من لوحة جهازك لترى أثره على الذاكرة والسرعة.

أسئلة شائعة عن تشغيل Agents-A1 35B-A3B محليًا

هل أستطيع تشغيل Agents-A1 35B-A3B على جهازي؟
يحتاج Agents-A1 35B-A3B إلى 19.6 جيجابايت من الذاكرة كحد أدنى، والموصى به 32.6 جيجابايت. يكفي أن تفتح هذه الصفحة ليُقيَّم النموذج تلقائيًا أمام كرت شاشتك أو جهاز الماك، ثم تشغّله عبر Ollama أو LM Studio أو llama.cpp.
كم يحتاج Agents-A1 35B-A3B من الـ VRAM؟
بتكميم Q4_K_M يستهلك Agents-A1 35B-A3B نحو 18.4 جيجابايت من ذاكرة الكرت. أما المستويات الأعلى فتحتاج ذاكرة أكبر، والأدنى تناسب الكروت المحدودة مقابل تنازل في الجودة.