Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

qubitpage
/
sentinel-prime-350m

Text Generation
Transformers
Safetensors
English
sentinel_brain
sentinel-prime
Mixture of Experts
sparse-mixture-of-experts
from-scratch
custom-architecture
custom_code
Model card Files Files and versions
xet
Community

Instructions to use qubitpage/sentinel-prime-350m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use qubitpage/sentinel-prime-350m with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="qubitpage/sentinel-prime-350m", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("qubitpage/sentinel-prime-350m", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use qubitpage/sentinel-prime-350m with vLLM:

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

    How to use qubitpage/sentinel-prime-350m 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 "qubitpage/sentinel-prime-350m" \
        --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": "qubitpage/sentinel-prime-350m",
    		"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 "qubitpage/sentinel-prime-350m" \
            --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": "qubitpage/sentinel-prime-350m",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use qubitpage/sentinel-prime-350m with Docker Model Runner:

    docker model run hf.co/qubitpage/sentinel-prime-350m
sentinel-prime-350m
3.36 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 40 commits
qubitpage's picture
qubitpage
Add Support This Project section (Surge link)
2e9eea7 verified 16 days ago
  • checkpoints
    step 9500 val_loss 3.0578 16 days ago
  • .gitattributes
    1.52 kB
    initial commit 17 days ago
  • README.md
    4.78 kB
    Add Support This Project section (Surge link) 16 days ago
  • config.json
    902 Bytes
    Upload SentinelBrainForCausalLM 16 days ago
  • generation_config.json
    183 Bytes
    Upload SentinelBrainForCausalLM 16 days ago
  • hf_model.py
    16.8 kB
    Upload hf_model.py with huggingface_hub 16 days ago
  • hf_tokenizer.py
    5.21 kB
    Upload hf_tokenizer.py with huggingface_hub 16 days ago
  • model.safetensors
    1.88 GB
    xet
    Upload SentinelBrainForCausalLM 16 days ago
  • tiktoken_vocab.json
    136 Bytes
    Upload tokenizer 16 days ago
  • tokenizer_config.json
    482 Bytes
    Add auto_map so AutoTokenizer + trust_remote_code routes to SentinelBrainTokenizer 16 days ago
  • training_metadata.json
    233 Bytes
    Upload training_metadata.json with huggingface_hub 16 days ago