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

Serdar404
/
RecGPT-10M

Text Generation
Transformers
Safetensors
English
recgpt
babylm
babylm-2026
strict-small
custom_code
Model card Files Files and versions
xet
Community

Instructions to use Serdar404/RecGPT-10M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Serdar404/RecGPT-10M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Serdar404/RecGPT-10M", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("Serdar404/RecGPT-10M", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use Serdar404/RecGPT-10M with vLLM:

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

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

    How to use Serdar404/RecGPT-10M with Docker Model Runner:

    docker model run hf.co/Serdar404/RecGPT-10M
RecGPT-10M
139 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Serdar404's picture
Serdar404
update readme
3056203 verified 5 days ago
  • .gitattributes
    1.52 kB
    initial commit 5 days ago
  • README.md
    2.17 kB
    update readme 5 days ago
  • config.json
    565 Bytes
    Upload RecGPT-10M main checkpoint 5 days ago
  • model.safetensors
    137 MB
    xet
    Upload RecGPT-10M main checkpoint 5 days ago
  • modeling_recgpt.py
    15.5 kB
    Upload RecGPT-10M main checkpoint 5 days ago
  • tokenizer.json
    2.31 MB
    Upload RecGPT-10M main checkpoint 5 days ago
  • tokenizer_config.json
    200 Bytes
    Upload RecGPT-10M main checkpoint 5 days ago
  • train_config.json
    1.74 kB
    Upload RecGPT-10M main checkpoint 5 days ago