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

david-thrower
/
HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3

Text Generation
Transformers
Safetensors
helix
custom_code
Model card Files Files and versions
xet
Community

Instructions to use david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3
  • SGLang

    How to use david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3 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 "david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3" \
        --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": "david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3",
    		"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 "david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3" \
            --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": "david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3 with Docker Model Runner:

    docker model run hf.co/david-thrower/HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3
HelixLM-41M-1remedialepoch-from-20260529-2240-d512-h8-nl3-ffn2-s512-1500MT-ep3
83.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
david-thrower's picture
david-thrower
Update README.md
290cb86 verified 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    5.51 kB
    Update README.md 2 months ago
  • config.json
    2.15 kB
    Upload HelixForCausalLM 2 months ago
  • config.py
    15.6 kB
    Upload HelixForCausalLM 2 months ago
  • generation_config.json
    355 Bytes
    Upload HelixForCausalLM 2 months ago
  • graph.py
    12.8 kB
    Upload HelixForCausalLM 2 months ago
  • hf_model.py
    18.4 kB
    Upload HelixForCausalLM 2 months ago
  • mamba2.py
    11.3 kB
    Upload HelixForCausalLM 2 months ago
  • model.py
    4.98 kB
    Upload HelixForCausalLM 2 months ago
  • model.safetensors
    80.1 MB
    xet
    Upload HelixForCausalLM 2 months ago
  • nodes.py
    17.6 kB
    Upload HelixForCausalLM 2 months ago
  • recurrent.py
    4.13 kB
    Upload HelixForCausalLM 2 months ago
  • rope.py
    2.46 kB
    Upload HelixForCausalLM 2 months ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer 2 months ago
  • tokenizer.py
    10.5 kB
    Upload HelixForCausalLM 2 months ago
  • tokenizer_config.json
    326 Bytes
    Upload tokenizer 2 months ago