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

  • Log In
  • Sign Up

quipohealth
/
Classfication

Image-Text-to-Text
Transformers
PyTorch
TensorBoard
vision-encoder-decoder
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community

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

  • Libraries
  • Transformers

    How to use quipohealth/Classfication with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-text-to-text", model="quipohealth/Classfication")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForImageTextToText
    
    tokenizer = AutoTokenizer.from_pretrained("quipohealth/Classfication")
    model = AutoModelForImageTextToText.from_pretrained("quipohealth/Classfication")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use quipohealth/Classfication with vLLM:

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

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

    How to use quipohealth/Classfication with Docker Model Runner:

    docker model run hf.co/quipohealth/Classfication
Classfication
2.43 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
quipohealth's picture
quipohealth
Upload events.out.tfevents.1709714514.DESKTOP-UFD6NVL.15508.0
1b9ce5c verified about 2 years ago
  • runs
    Upload events.out.tfevents.1709714514.DESKTOP-UFD6NVL.15508.0 about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.07 kB
    Upload 11 files about 2 years ago
  • added_tokens.json
    114 Bytes
    Upload 4 files about 2 years ago
  • config.json
    5.02 kB
    Upload 4 files about 2 years ago
  • generation_config.json
    160 Bytes
    Upload 4 files about 2 years ago
  • optimizer.pt
    1.62 GB
    xet
    Upload 4 files about 2 years ago
  • preprocessor_config.json
    420 Bytes
    Upload 11 files about 2 years ago
  • pytorch_model.bin
    809 MB
    xet
    Upload 11 files about 2 years ago
  • rng_state.pth
    13.6 kB
    xet
    Upload 11 files about 2 years ago
  • scheduler.pt
    627 Bytes
    xet
    Upload 11 files about 2 years ago
  • sentencepiece.bpe.model
    1.3 MB
    xet
    Upload 11 files about 2 years ago
  • special_tokens_map.json
    372 Bytes
    Upload 11 files about 2 years ago
  • tokenizer.json
    4.01 MB
    Upload 11 files about 2 years ago
  • tokenizer_config.json
    510 Bytes
    Upload 11 files about 2 years ago
  • trainer_state.json
    7.74 kB
    Upload 11 files about 2 years ago
  • training_args.bin
    4.09 kB
    xet
    Upload 11 files about 2 years ago