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

  • Log In
  • Sign Up

kevin510
/
friday

Text Generation
Transformers
Safetensors
friday
vision-language
multimodal
custom_code
bf16
conversational
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use kevin510/friday with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="kevin510/friday", trust_remote_code=True)
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("kevin510/friday", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use kevin510/friday with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "kevin510/friday"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "kevin510/friday",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/kevin510/friday
  • SGLang

    How to use kevin510/friday 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 "kevin510/friday" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "kevin510/friday",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    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 "kevin510/friday" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "kevin510/friday",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use kevin510/friday with Docker Model Runner:

    docker model run hf.co/kevin510/friday
friday
Ctrl+K
Ctrl+K
  • 1 contributor
History: 43 commits
kevin510's picture
kevin510
Update README.md
7dfd1e5 verified 25 days ago
  • friday_model
    Upload 18 files 11 months ago
  • .gitattributes
    1.57 kB
    upload tokenizer configuration about 1 year ago
  • README.md
    2.72 kB
    Update README.md 25 days ago
  • added_tokens.json
    318 Bytes
    upload tokenizer configuration about 1 year ago
  • config.json
    3.27 kB
    Update config.json 11 months ago
  • configuration_friday.py
    76 Bytes
    Upload 5 files 11 months ago
  • configuration_phi3.py
    10.9 kB
    Upload 5 files 11 months ago
  • friday_map.py
    168 Bytes
    Update friday_map.py 11 months ago
  • generation_config.json
    169 Bytes
    upload model 11 months ago
  • merges.txt
    2.42 MB
    upload tokenizer configuration about 1 year ago
  • model-00001-of-00002.safetensors
    4.9 GB
    xet
    upload model 11 months ago
  • model-00002-of-00002.safetensors
    3.09 GB
    xet
    upload model 11 months ago
  • model.safetensors.index.json
    91.8 kB
    upload model 11 months ago
  • modeling_friday.py
    48.6 kB
    Update modeling_friday.py 11 months ago
  • modeling_phi3.py
    54.3 kB
    Upload 5 files 11 months ago
  • requirements.txt
    193 Bytes
    Upload requirements.txt 11 months ago
  • special_tokens_map.json
    473 Bytes
    upload tokenizer configuration about 1 year ago
  • tokenizer.json
    15.5 MB
    xet
    upload tokenizer configuration about 1 year ago
  • tokenizer_config.json
    3.52 kB
    upload tokenizer configuration about 1 year ago
  • vocab.json
    3.91 MB
    upload tokenizer configuration about 1 year ago