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

scrapegoat
/
ScrapeGoat-Music-Stage1

Text Generation
Transformers
Safetensors
English
llama
music
art
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use scrapegoat/ScrapeGoat-Music-Stage1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use scrapegoat/ScrapeGoat-Music-Stage1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="scrapegoat/ScrapeGoat-Music-Stage1")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("scrapegoat/ScrapeGoat-Music-Stage1")
    model = AutoModelForCausalLM.from_pretrained("scrapegoat/ScrapeGoat-Music-Stage1")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use scrapegoat/ScrapeGoat-Music-Stage1 with vLLM:

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

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

    How to use scrapegoat/ScrapeGoat-Music-Stage1 with Docker Model Runner:

    docker model run hf.co/scrapegoat/ScrapeGoat-Music-Stage1
ScrapeGoat-Music-Stage1
12.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Nathan9's picture
Nathan9
Upload 8 files
103c8f5 verified over 1 year ago
  • .gitattributes
    309 Bytes
    Upload 8 files over 1 year ago
  • Document1.pdf
    6.04 MB
    xet
    Upload 8 files over 1 year ago
  • README.md
    8.17 kB
    Update README.md over 1 year ago
  • config.json
    684 Bytes
    Upload 6 files over 1 year ago
  • generation_config.json
    111 Bytes
    Upload 6 files over 1 year ago
  • model-00001-of-00003.safetensors
    4.92 GB
    xet
    Upload 6 files over 1 year ago
  • model-00002-of-00003.safetensors
    4.93 GB
    xet
    Upload 8 files over 1 year ago
  • model-00003-of-00003.safetensors
    2.6 GB
    xet
    Upload 8 files over 1 year ago
  • model.safetensors.index.json
    24 kB
    Upload 6 files over 1 year ago
  • prepare_data.py
    4.79 kB
    Upload 8 files over 1 year ago
  • requirements.txt
    316 Bytes
    Upload 8 files over 1 year ago
  • tokenizer.model
    1.76 MB
    xet
    Upload 6 files over 1 year ago
  • train_hcf.py
    24.7 kB
    Upload 8 files over 1 year ago
  • train_local.py
    12 kB
    Upload 8 files over 1 year ago