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

  • Log In
  • Sign Up

thepowerfuldeez
/
imu1_base

Text Generation
Transformers
Safetensors
English
imu_1
language-model
sample-efficient
pretraining
transformer
conversational
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use thepowerfuldeez/imu1_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use thepowerfuldeez/imu1_base with Transformers:

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

    How to use thepowerfuldeez/imu1_base with vLLM:

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

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

    How to use thepowerfuldeez/imu1_base with Docker Model Runner:

    docker model run hf.co/thepowerfuldeez/imu1_base
imu1_base
2.16 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
thepowerfuldeez's picture
thepowerfuldeez
Update README.md
127ee04 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    3.11 kB
    Update README.md 3 months ago
  • chat_template.jinja
    1.11 kB
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago
  • config.json
    946 Bytes
    Add auto_map to config.json for custom model loading 4 months ago
  • configuration_imu_1.py
    7.85 kB
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago
  • generation_config.json
    220 Bytes
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago
  • merges.txt
    466 kB
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago
  • model.safetensors
    2.16 GB
    xet
    Upload EMA checkpoint (265000_ema.pt) - improved model quality 4 months ago
  • modeling_imu_1.py
    26.7 kB
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago
  • special_tokens_map.json
    831 Bytes
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago
  • tokenizer.json
    3.52 MB
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago
  • tokenizer_config.json
    694 Bytes
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago
  • vocab.json
    801 kB
    Upload IMU-1 Base checkpoint with custom modeling code 4 months ago