Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

InternScience
/
Agents-A1

Text Generation
Transformers
Safetensors
qwen3_5_moe
image-text-to-text
Mixture of Experts
vlm
vision
agentic
conversational
Eval Results
Model card Files Files and versions
xet
Community
12

Instructions to use InternScience/Agents-A1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use InternScience/Agents-A1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", 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)
    # Load model directly
    from transformers import AutoProcessor, AutoModelForMultimodalLM
    
    processor = AutoProcessor.from_pretrained("InternScience/Agents-A1")
    model = AutoModelForMultimodalLM.from_pretrained("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?"}
            ]
        },
    ]
    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]:]))
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use InternScience/Agents-A1 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "InternScience/Agents-A1"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "InternScience/Agents-A1",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/InternScience/Agents-A1
  • SGLang

    How to use InternScience/Agents-A1 with SGLang:

    Install from pip and serve model
    # Install SGLang from pip:
    pip install sglang
    # Start the SGLang server:
    python3 -m sglang.launch_server \
        --model-path "InternScience/Agents-A1" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "InternScience/Agents-A1",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker images
    docker run --gpus all \
        --shm-size 32g \
        -p 30000:30000 \
        -v ~/.cache/huggingface:/root/.cache/huggingface \
        --env "HF_TOKEN=<secret>" \
        --ipc=host \
        lmsysorg/sglang:latest \
        python3 -m sglang.launch_server \
            --model-path "InternScience/Agents-A1" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "InternScience/Agents-A1",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use InternScience/Agents-A1 with Docker Model Runner:

    docker model run hf.co/InternScience/Agents-A1
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Stability Comparison: Agents-A1 vs Nex-N2-mini under Q5_K_M Quantization

1
#12 opened about 13 hours ago by
BipedalBit

benchmaxxed

1
#11 opened about 17 hours ago by
Tom-Neverwinter

merge -> Agents-A1 / Ornith-1.0-35B / Qwen3.5-35B-A3B

👍 2
#10 opened 1 day ago by
tepirale

How does post-training Qwen3.5-35B produce better benchmark results than GPT5.5?

#9 opened 1 day ago by
Ilm-Alan

Model broken

🤯 1
3
#7 opened 2 days ago by
rekillkos

支持MPT的GGUF版本什么时候发布?

#5 opened 4 days ago by
herman6888

FP8版本什么时候发布?

2
#4 opened 4 days ago by
wwwcxc520

GGUF version please!!!

5
#3 opened 5 days ago by
cimilarkes

temp parameter

🚀👍 4
#2 opened 6 days ago by
felkf

Explain

1
#1 opened 6 days ago by
usermma
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs