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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

LoganResearch
/
ARC-Mamba-7B-CF-HOT

Text Generation
Transformers
Safetensors
English
mamba
state-space
cf-hot
behavioral-steering
proprioception
AI-safety
probes
falcon-mamba
Model card Files Files and versions
xet
Community

Instructions to use LoganResearch/ARC-Mamba-7B-CF-HOT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use LoganResearch/ARC-Mamba-7B-CF-HOT with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="LoganResearch/ARC-Mamba-7B-CF-HOT")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("LoganResearch/ARC-Mamba-7B-CF-HOT", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use LoganResearch/ARC-Mamba-7B-CF-HOT with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "LoganResearch/ARC-Mamba-7B-CF-HOT"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "LoganResearch/ARC-Mamba-7B-CF-HOT",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/LoganResearch/ARC-Mamba-7B-CF-HOT
  • SGLang

    How to use LoganResearch/ARC-Mamba-7B-CF-HOT 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 "LoganResearch/ARC-Mamba-7B-CF-HOT" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "LoganResearch/ARC-Mamba-7B-CF-HOT",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    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 "LoganResearch/ARC-Mamba-7B-CF-HOT" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "LoganResearch/ARC-Mamba-7B-CF-HOT",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use LoganResearch/ARC-Mamba-7B-CF-HOT with Docker Model Runner:

    docker model run hf.co/LoganResearch/ARC-Mamba-7B-CF-HOT
ARC-Mamba-7B-CF-HOT
14.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
LoganResearch's picture
LoganResearch
Upload folder using huggingface_hub
720d5ab verified 5 months ago
  • base_model
    Upload folder using huggingface_hub 5 months ago
  • probes
    Upload folder using huggingface_hub 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • Medical_Mamba.py
    12.2 kB
    Create Medical_Mamba.py 5 months ago
  • README.md
    3.64 kB
    Upload folder using huggingface_hub 5 months ago
  • requirements.txt
    72 Bytes
    Upload folder using huggingface_hub 5 months ago
  • run.py
    12.5 kB
    Upload folder using huggingface_hub 5 months ago
  • train.py
    46.3 kB
    Upload folder using huggingface_hub 5 months ago