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

CharlieBT
/
plumb-4b-df-v2

Text Generation
Transformers
Safetensors
qwen3_5_text
reax
bittensor
sn92
demand_forecasting
Model card Files Files and versions
xet
Community

Instructions to use CharlieBT/plumb-4b-df-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use CharlieBT/plumb-4b-df-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="CharlieBT/plumb-4b-df-v2")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("CharlieBT/plumb-4b-df-v2")
    model = AutoModelForCausalLM.from_pretrained("CharlieBT/plumb-4b-df-v2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use CharlieBT/plumb-4b-df-v2 with vLLM:

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

    How to use CharlieBT/plumb-4b-df-v2 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 "CharlieBT/plumb-4b-df-v2" \
        --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": "CharlieBT/plumb-4b-df-v2",
    		"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 "CharlieBT/plumb-4b-df-v2" \
            --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": "CharlieBT/plumb-4b-df-v2",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use CharlieBT/plumb-4b-df-v2 with Docker Model Runner:

    docker model run hf.co/CharlieBT/plumb-4b-df-v2
plumb-4b-df-v2
8.43 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Charlie320's picture
Charlie320
REAX SN92 demand_forecasting specialist v2
a5a0c39 verified 1 day ago
  • .gitattributes
    1.57 kB
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • LICENSE
    11.4 kB
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • NOTICE
    701 Bytes
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • NOTICE-jevk5
    1.42 kB
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • README.md
    541 Bytes
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • config.json
    1.98 kB
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • generation_config.json
    116 Bytes
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • model.safetensors
    8.41 GB
    xet
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • reax-specialist.json
    234 Bytes
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • tokenizer.json
    20 MB
    xet
    REAX SN92 demand_forecasting specialist v2 1 day ago
  • tokenizer_config.json
    1.13 kB
    REAX SN92 demand_forecasting specialist v2 1 day ago