Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

large-traversaal
/
Alif-1.0-8B-Instruct

Text Generation
Transformers
Safetensors
GGUF
English
Urdu
llama
unsloth
trl
text-generation-inference
Model card Files Files and versions
xet
Community
3

Instructions to use large-traversaal/Alif-1.0-8B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use large-traversaal/Alif-1.0-8B-Instruct with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="large-traversaal/Alif-1.0-8B-Instruct")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("large-traversaal/Alif-1.0-8B-Instruct", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use large-traversaal/Alif-1.0-8B-Instruct 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 large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
    Build from source code
    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-app
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama serve -hf large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama cli -hf large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
    Use Docker
    docker model run hf.co/large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
  • Llama new
  • LM Studio
  • Jan
  • vLLM

    How to use large-traversaal/Alif-1.0-8B-Instruct with vLLM:

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

    How to use large-traversaal/Alif-1.0-8B-Instruct 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 "large-traversaal/Alif-1.0-8B-Instruct" \
        --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": "large-traversaal/Alif-1.0-8B-Instruct",
    		"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 "large-traversaal/Alif-1.0-8B-Instruct" \
            --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": "large-traversaal/Alif-1.0-8B-Instruct",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Ollama

    How to use large-traversaal/Alif-1.0-8B-Instruct with Ollama:

    ollama run hf.co/large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
  • Unsloth Desktop
  • Docker Model Runner

    How to use large-traversaal/Alif-1.0-8B-Instruct with Docker Model Runner:

    docker model run hf.co/large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
  • Lemonade

    How to use large-traversaal/Alif-1.0-8B-Instruct with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull large-traversaal/Alif-1.0-8B-Instruct:Q4_K_M
    Run and chat with the model
    lemonade run user.Alif-1.0-8B-Instruct-Q4_K_M
    List all available models
    lemonade list
  • Atomic Chat
Alif-1.0-8B-Instruct
52.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 55 commits
alishafique's picture
alishafique
Update README.md
03d549f verified 19 days ago
  • .gitattributes
    2.55 kB
    Rename model-Q2_K.gguf to model.Q2_K.gguf over 1 year ago
  • README.md
    3.77 kB
    Update README.md 19 days ago
  • adapter_config.json
    831 Bytes
    Upload model trained with Unsloth almost 2 years ago
  • adapter_model.safetensors
    3.44 GB
    xet
    Upload model trained with Unsloth almost 2 years ago
  • config.json
    29 Bytes
    (Trained with Unsloth) over 1 year ago
  • model-Q2_K.gguf
    3.18 GB
    xet
    Rename model.Q2_K.gguf to model-Q2_K.gguf over 1 year ago
  • model-Q3_K_M.gguf
    4.02 GB
    xet
    Upload model-Q3_K_M.gguf with huggingface_hub over 1 year ago
  • model-Q4_K_M.gguf
    4.92 GB
    xet
    Upload model-Q4_K_M.gguf with huggingface_hub over 1 year ago
  • model-Q5_K_M.gguf
    5.73 GB
    xet
    Upload model-Q5_K_M.gguf with huggingface_hub over 1 year ago
  • model-Q6_K.gguf
    6.6 GB
    xet
    Upload model-Q6_K.gguf with huggingface_hub over 1 year ago
  • model-Q8_0.gguf
    8.54 GB
    xet
    Upload model-Q8_0.gguf with huggingface_hub over 1 year ago
  • model-f16.gguf
    16.1 GB
    xet
    Upload model-f16.gguf with huggingface_hub over 1 year ago
  • result1.jpg
    352 kB
    xet
    Upload 2 files over 1 year ago
  • result2.jpg
    285 kB
    xet
    Upload result2.jpg over 1 year ago
  • special_tokens_map.json
    459 Bytes
    Upload model trained with Unsloth almost 2 years ago
  • tokenizer.json
    17.2 MB
    xet
    Upload model trained with Unsloth almost 2 years ago
  • tokenizer_config.json
    50.6 kB
    Upload model trained with Unsloth almost 2 years ago