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

mmmadness
/
mmmadness-llm

Text Generation
Transformers
Safetensors
mmmadness-llm
custom_code
Model card Files Files and versions
xet
Community

Instructions to use mmmadness/mmmadness-llm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mmmadness/mmmadness-llm with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="mmmadness/mmmadness-llm", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("mmmadness/mmmadness-llm", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use mmmadness/mmmadness-llm with vLLM:

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

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

    How to use mmmadness/mmmadness-llm with Docker Model Runner:

    docker model run hf.co/mmmadness/mmmadness-llm
mmmadness-llm / logs
474 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
vidmartin's picture
vidmartin
push training logs
52c2488 verified 3 months ago
  • best_val.txt
    30 Bytes
    push training logs 3 months ago
  • checkpt0_val.txt
    30 Bytes
    push training logs 3 months ago
  • checkpt1_val.txt
    30 Bytes
    push training logs 3 months ago
  • checkpt2_val.txt
    32 Bytes
    push training logs 3 months ago
  • checkpt3_val.txt
    34 Bytes
    push training logs 3 months ago
  • checkpt4_val.txt
    33 Bytes
    push training logs 3 months ago
  • checkpt5_val.txt
    34 Bytes
    push training logs 3 months ago
  • checkpt6_val.txt
    33 Bytes
    push training logs 3 months ago
  • checkpt7_val.txt
    34 Bytes
    push training logs 3 months ago
  • checkpt8_val.txt
    34 Bytes
    push training logs 3 months ago
  • checkpt9_val.txt
    34 Bytes
    push training logs 3 months ago
  • cmd.txt
    246 Bytes
    push training logs 3 months ago
  • err.txt
    3.45 kB
    push training logs 3 months ago
  • job-id.txt
    31 Bytes
    push training logs 3 months ago
  • out.txt
    470 kB
    push training logs 3 months ago