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

reaperdoesntknow
/
MoA-400M

Text Generation
Transformers
PyTorch
moa_metric
convergentintel
moa
conversational
Model card Files Files and versions
xet
Community

Instructions to use reaperdoesntknow/MoA-400M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use reaperdoesntknow/MoA-400M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="reaperdoesntknow/MoA-400M")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import MoAMetricLM
    model = MoAMetricLM.from_pretrained("reaperdoesntknow/MoA-400M", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use reaperdoesntknow/MoA-400M with vLLM:

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

    How to use reaperdoesntknow/MoA-400M 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 "reaperdoesntknow/MoA-400M" \
        --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": "reaperdoesntknow/MoA-400M",
    		"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 "reaperdoesntknow/MoA-400M" \
            --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": "reaperdoesntknow/MoA-400M",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use reaperdoesntknow/MoA-400M with Docker Model Runner:

    docker model run hf.co/reaperdoesntknow/MoA-400M
MoA-400M
1.73 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 20 commits
reaperdoesntknow's picture
reaperdoesntknow
keeper: refresh 2026-05-16
08210cd verified about 6 hours ago
  • .gitattributes
    1.57 kB
    Upload tokenizer 8 months ago
  • README.md
    12.2 kB
    keeper: refresh 2026-05-16 about 6 hours ago
  • added_tokens.json
    605 Bytes
    Upload tokenizer 8 months ago
  • chat_template.jinja
    2.43 kB
    Upload tokenizer 8 months ago
  • config.json
    1.27 kB
    Upload MoAMetricLM 8 months ago
  • generation_config.json
    121 Bytes
    Upload MoAMetricLM 8 months ago
  • merges.txt
    1.67 MB
    Upload tokenizer 8 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    1.71 GB
    xet
    Upload MoAMetricLM 8 months ago
  • special_tokens_map.json
    502 Bytes
    Upload tokenizer 8 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload tokenizer 8 months ago
  • tokenizer_config.json
    4.69 kB
    Upload tokenizer 8 months ago
  • vocab.json
    2.78 MB
    Upload tokenizer 8 months ago