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

Davizig10jojo
/
BlazerApex-2B

Text Generation
Transformers
Safetensors
GGUF
Portuguese
English
pt-br
portuguese
programming
logic
math
quantized
iq4_xs
mobile
lora
minicpm
Model card Files Files and versions
xet
Community

Instructions to use Davizig10jojo/BlazerApex-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Davizig10jojo/BlazerApex-2B with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Davizig10jojo/BlazerApex-2B")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Davizig10jojo/BlazerApex-2B", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use Davizig10jojo/BlazerApex-2B with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf Davizig10jojo/BlazerApex-2B:IQ4_XS
    # Run inference directly in the terminal:
    llama cli -hf Davizig10jojo/BlazerApex-2B:IQ4_XS
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf Davizig10jojo/BlazerApex-2B:IQ4_XS
    # Run inference directly in the terminal:
    llama cli -hf Davizig10jojo/BlazerApex-2B:IQ4_XS
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf Davizig10jojo/BlazerApex-2B:IQ4_XS
    # Run inference directly in the terminal:
    ./llama-cli -hf Davizig10jojo/BlazerApex-2B:IQ4_XS
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf Davizig10jojo/BlazerApex-2B:IQ4_XS
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf Davizig10jojo/BlazerApex-2B:IQ4_XS
    Use Docker
    docker model run hf.co/Davizig10jojo/BlazerApex-2B:IQ4_XS
  • LM Studio
  • Jan
  • vLLM

    How to use Davizig10jojo/BlazerApex-2B with vLLM:

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

    How to use Davizig10jojo/BlazerApex-2B 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 "Davizig10jojo/BlazerApex-2B" \
        --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": "Davizig10jojo/BlazerApex-2B",
    		"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 "Davizig10jojo/BlazerApex-2B" \
            --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": "Davizig10jojo/BlazerApex-2B",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Ollama

    How to use Davizig10jojo/BlazerApex-2B with Ollama:

    ollama run hf.co/Davizig10jojo/BlazerApex-2B:IQ4_XS
  • Unsloth Desktop
  • Docker Model Runner

    How to use Davizig10jojo/BlazerApex-2B with Docker Model Runner:

    docker model run hf.co/Davizig10jojo/BlazerApex-2B:IQ4_XS
  • Lemonade

    How to use Davizig10jojo/BlazerApex-2B with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull Davizig10jojo/BlazerApex-2B:IQ4_XS
    Run and chat with the model
    lemonade run user.BlazerApex-2B-IQ4_XS
    List all available models
    lemonade list
  • Atomic Chat
BlazerApex-2B
6.68 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 30 commits
Davizig10jojo's picture
Davizig10jojo
Upload lora_ptbr/tokenizer_config.json with huggingface_hub
7b8d78d verified 1 day ago
  • gguf
    Delete gguf/seila.png 5 days ago
  • lora
    Delete lora/seila.png 5 days ago
  • lora_ptbr
    Upload lora_ptbr/tokenizer_config.json with huggingface_hub 1 day ago
  • safetensors
    Delete safetensors/seila.png 5 days ago
  • .gitattributes
    1.64 kB
    Upload benchmark_radar.png with huggingface_hub 2 days ago
  • Notas_do_benchmark.txt
    428 Bytes
    Rename Notas_do_benchmark.json to Notas_do_benchmark.txt 2 days ago
  • README.md
    4.9 kB
    Update README.md 2 days ago
  • benchmark_radar.png
    278 kB
    xet
    Upload benchmark_radar.png with huggingface_hub 2 days ago