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

MarioBoscoGPU
/
fqpegaqmsmbd

Text Generation
Transformers
PyTorch
private_llm
feature-extraction
custom-code
private-llm
custom_code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use MarioBoscoGPU/fqpegaqmsmbd with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="MarioBoscoGPU/fqpegaqmsmbd", trust_remote_code=True)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("MarioBoscoGPU/fqpegaqmsmbd", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use MarioBoscoGPU/fqpegaqmsmbd with vLLM:

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

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

    How to use MarioBoscoGPU/fqpegaqmsmbd with Docker Model Runner:

    docker model run hf.co/MarioBoscoGPU/fqpegaqmsmbd
fqpegaqmsmbd
35.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
MarioBoscoGPU's picture
MarioBoscoGPU
Upload private LLM custom-code model
607b7b2 verified 3 months ago
  • .gitattributes
    175 Bytes
    Upload private LLM custom-code model 3 months ago
  • .gitignore
    23 Bytes
    Upload private LLM custom-code model 3 months ago
  • README.md
    2.59 kB
    Upload private LLM custom-code model 3 months ago
  • __init__.py
    303 Bytes
    Upload private LLM custom-code model 3 months ago
  • config.json
    1.09 kB
    Upload private LLM custom-code model 3 months ago
  • configuration_private_llm.py
    1.33 kB
    Upload private LLM custom-code model 3 months ago
  • generation_config.json
    127 Bytes
    Upload private LLM custom-code model 3 months ago
  • modeling_private_llm.py
    17.9 kB
    Upload private LLM custom-code model 3 months ago
  • pipeline_private_llm.py
    629 Bytes
    Upload private LLM custom-code model 3 months ago
  • private_LLM_model.py
    2.78 kB
    Upload private LLM custom-code model 3 months ago
  • private_llm_tokenizer.json
    155 Bytes
    Upload private LLM custom-code model 3 months ago
  • publish_to_hub.py
    2.29 kB
    Upload private LLM custom-code model 3 months ago
  • pytorch_model.bin
    1.62 kB
    xet
    Upload private LLM custom-code model 3 months ago
  • requirements.txt
    52 Bytes
    Upload private LLM custom-code model 3 months ago
  • special_tokens_map.json
    99 Bytes
    Upload private LLM custom-code model 3 months ago
  • tokenization_private_llm.py
    3.61 kB
    Upload private LLM custom-code model 3 months ago
  • tokenizer_config.json
    395 Bytes
    Upload private LLM custom-code model 3 months ago