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

PureTensorAI
/
Jais-3-0.9B-NVFP4A16

Text Generation
Transformers
Safetensors
Arabic
English
k2_horizon
nvfp4
nvfp4a16
4-bit precision
compressed-tensors
llm-compressor
gptq
quantized
vllm
arabic
jais-3
custom_code
conversational
8-bit precision
Model card Files Files and versions
xet
Community

Instructions to use PureTensorAI/Jais-3-0.9B-NVFP4A16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use PureTensorAI/Jais-3-0.9B-NVFP4A16 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="PureTensorAI/Jais-3-0.9B-NVFP4A16", trust_remote_code=True)
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModelForCausalLM
    model = AutoModelForCausalLM.from_pretrained("PureTensorAI/Jais-3-0.9B-NVFP4A16", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use PureTensorAI/Jais-3-0.9B-NVFP4A16 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "PureTensorAI/Jais-3-0.9B-NVFP4A16"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "PureTensorAI/Jais-3-0.9B-NVFP4A16",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/PureTensorAI/Jais-3-0.9B-NVFP4A16
  • SGLang

    How to use PureTensorAI/Jais-3-0.9B-NVFP4A16 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 "PureTensorAI/Jais-3-0.9B-NVFP4A16" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "PureTensorAI/Jais-3-0.9B-NVFP4A16",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    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 "PureTensorAI/Jais-3-0.9B-NVFP4A16" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "PureTensorAI/Jais-3-0.9B-NVFP4A16",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use PureTensorAI/Jais-3-0.9B-NVFP4A16 with Docker Model Runner:

    docker model run hf.co/PureTensorAI/Jais-3-0.9B-NVFP4A16
Jais-3-0.9B-NVFP4A16
896 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
puretensor's picture
puretensor
Point repository references at PureTensorAI
d700c90 verified 3 days ago
  • .gitattributes
    1.52 kB
    initial commit 4 days ago
  • README.md
    9.61 kB
    Point repository references at PureTensorAI 3 days ago
  • chat_template.jinja
    53.3 kB
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago
  • config.json
    2.74 kB
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago
  • configuration_k2_horizon.py
    3.53 kB
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago
  • generation_config.json
    102 Bytes
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago
  • model.safetensors
    890 MB
    xet
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago
  • modeling_k2_horizon.py
    49.5 kB
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago
  • recipe.yaml
    308 Bytes
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago
  • tokenizer.json
    4.95 MB
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago
  • tokenizer_config.json
    330 Bytes
    Jais-3-0.9B NVFP4A16 (GPTQ with capped first-token statistics, weights only) 4 days ago