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

devoppro
/
FastLLM

Text Generation
Transformers
Safetensors
English
modern_llm
custom-architecture
rope
gqa
swiglu
rmsnorm
custom_code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use devoppro/FastLLM with Transformers:

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

    How to use devoppro/FastLLM with vLLM:

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

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

    How to use devoppro/FastLLM with Docker Model Runner:

    docker model run hf.co/devoppro/FastLLM
FastLLM
4.95 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 84 commits
devoppro's picture
devoppro
Training in progress, step 4100, checkpoint
ca970b4 verified 8 days ago
  • last-checkpoint
    Training in progress, step 4100, checkpoint 8 days ago
  • .gitattributes
    1.59 kB
    Training in progress, step 500, checkpoint 10 days ago
  • README.md
    1.61 kB
    Create README.md 11 days ago
  • config.json
    644 Bytes
    Upload 3 files 10 days ago
  • configuration_modern_llm.py
    1.46 kB
    Upload configuration_modern_llm.py with huggingface_hub 10 days ago
  • model.safetensors
    1.24 GB
    xet
    Training in progress, step 4100 8 days ago
  • modeling_modern_llm.py
    5.69 kB
    Update modeling_modern_llm.py 9 days ago
  • training_args.bin
    5.2 kB
    xet
    Training in progress, step 600 10 days ago