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

lowdown-labs
/
fela-autocomplete

Text Generation
Transformers
Safetensors
code
fela
fourier-neural-operator
fno
gated-deltanet
cpu
on-device
autocomplete
fill-in-the-middle
constant-memory
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use lowdown-labs/fela-autocomplete with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use lowdown-labs/fela-autocomplete with Transformers:

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

    How to use lowdown-labs/fela-autocomplete with vLLM:

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

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

    How to use lowdown-labs/fela-autocomplete with Docker Model Runner:

    docker model run hf.co/lowdown-labs/fela-autocomplete
fela-autocomplete
5.67 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
itstheraj's picture
itstheraj
initial commit
309d916 3 days ago
  • quickstart
    initial commit 3 days ago
  • space
    initial commit 3 days ago
  • .gitattributes
    50 Bytes
    initial commit 3 days ago
  • .gitignore
    53 Bytes
    initial commit 3 days ago
  • LICENSE
    25.4 kB
    initial commit 3 days ago
  • README.md
    14.2 kB
    initial commit 3 days ago
  • config.json
    1.78 kB
    initial commit 3 days ago
  • configuration_fela.py
    1.25 kB
    initial commit 3 days ago
  • cpu_delta.py
    8.62 kB
    initial commit 3 days ago
  • cpu_landmark.py
    3.83 kB
    initial commit 3 days ago
  • cpu_patch.py
    4.93 kB
    initial commit 3 days ago
  • cpu_swa.py
    3.28 kB
    initial commit 3 days ago
  • model.safetensors
    3.58 GB
    xet
    initial commit 3 days ago
  • model_cpu_gpt2.py
    44.4 kB
    initial commit 3 days ago
  • model_int8.safetensors
    2.08 GB
    xet
    initial commit 3 days ago
  • modeling.py
    7.82 kB
    initial commit 3 days ago
  • modeling_fela.py
    2.69 kB
    initial commit 3 days ago
  • requirements.txt
    105 Bytes
    initial commit 3 days ago
  • tokenizer.json
    7.03 MB
    initial commit 3 days ago
  • verify.py
    1.33 kB
    initial commit 3 days ago