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

  • Log In
  • Sign Up

ZeppelinCorp
/
Charm_10

Text Generation
Transformers
PyTorch
chemistry
biology
finance
legal
music
art
code
climate
medical
text-generation-inference
Merge
Mixture of Experts
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use ZeppelinCorp/Charm_10 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="ZeppelinCorp/Charm_10")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("ZeppelinCorp/Charm_10", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use ZeppelinCorp/Charm_10 with vLLM:

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

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

    How to use ZeppelinCorp/Charm_10 with Docker Model Runner:

    docker model run hf.co/ZeppelinCorp/Charm_10
Charm_10
304 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
GeminiFan207's picture
GeminiFan207
Update README.md
ee77746 verified about 1 year ago
  • .gitattributes
    1.57 kB
    Upload 12 files about 1 year ago
  • IMG_0344.jpeg
    263 kB
    xet
    Upload 12 files about 1 year ago
  • README.md
    3.34 kB
    Update README.md about 1 year ago
  • audio_analysis.py
    2.06 kB
    Upload 12 files about 1 year ago
  • charm_c10_nlp.py
    2.95 kB
    Upload 12 files about 1 year ago
  • ethical_guidelines.py
    3.11 kB
    Upload 12 files about 1 year ago
  • firewall.py
    2.46 kB
    Upload 12 files about 1 year ago
  • inference.py
    4.38 kB
    Upload 12 files about 1 year ago
  • memory_management.py
    2.9 kB
    Upload 12 files about 1 year ago
  • model.py
    4.61 kB
    Create model.py about 1 year ago
  • reinforcement_learning.py
    7.28 kB
    Upload 12 files about 1 year ago
  • vision_processing.py
    3.74 kB
    Upload 12 files about 1 year ago
  • web-search.py
    3.21 kB
    Upload 12 files about 1 year ago