Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Duplicated from  yanny-654/YAPPERTAR-ai-5B-1.0

Fantominsight
/
YAPPERTAR-ai-5B-1.0

Text Generation
Transformers
Safetensors
GGUF
text-generation-inference
conversational
Model card Files Files and versions
xet
Community

Instructions to use Fantominsight/YAPPERTAR-ai-5B-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Fantominsight/YAPPERTAR-ai-5B-1.0 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="Fantominsight/YAPPERTAR-ai-5B-1.0")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Fantominsight/YAPPERTAR-ai-5B-1.0", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use Fantominsight/YAPPERTAR-ai-5B-1.0 with vLLM:

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

    How to use Fantominsight/YAPPERTAR-ai-5B-1.0 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 "Fantominsight/YAPPERTAR-ai-5B-1.0" \
        --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": "Fantominsight/YAPPERTAR-ai-5B-1.0",
    		"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 "Fantominsight/YAPPERTAR-ai-5B-1.0" \
            --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": "Fantominsight/YAPPERTAR-ai-5B-1.0",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use Fantominsight/YAPPERTAR-ai-5B-1.0 with Docker Model Runner:

    docker model run hf.co/Fantominsight/YAPPERTAR-ai-5B-1.0
YAPPERTAR-ai-5B-1.0
20 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
yappertar4's picture
yappertar4
Update README.md
face299 verified 10 days ago
  • .gitattributes
    1.69 kB
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • API
    19 Bytes
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • README.md
    1.23 kB
    Update README.md 10 days ago
  • YAPPERTAR-ai-3B.gguf
    58.3 MB
    xet
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • YAPPERTAR-ai-5B-!.0.T.gguf
    7.68 GB
    xet
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • model.safetensors-00001-of-00002.safetensors
    5.33 GB
    xet
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • model.safetensors-00002-of-00002.safetensors
    3.99 GB
    xet
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • model.safetensors.index.json
    76.2 kB
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • multilingual_30M.zip

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    2.46 GB
    xet
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • tokenizer.json
    12.8 MB
    xet
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • tokenizer_config.json
    16.7 kB
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago
  • train-00000-of-00001.parquet
    511 MB
    xet
    Duplicate from yanny-654/YAPPERTAR-ai-5B-1.0 12 days ago