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

ljcamargo
/
amlonet_llama

Text Generation
Transformers
Safetensors
GGUF
multilingual
unsloth
llama
conversational
Model card Files Files and versions
xet
Community

Instructions to use ljcamargo/amlonet_llama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use ljcamargo/amlonet_llama with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="ljcamargo/amlonet_llama")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("ljcamargo/amlonet_llama", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use ljcamargo/amlonet_llama 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 ljcamargo/amlonet_llama:F16
    # Run inference directly in the terminal:
    llama cli -hf ljcamargo/amlonet_llama:F16
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf ljcamargo/amlonet_llama:F16
    # Run inference directly in the terminal:
    llama cli -hf ljcamargo/amlonet_llama:F16
    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 ljcamargo/amlonet_llama:F16
    # Run inference directly in the terminal:
    ./llama-cli -hf ljcamargo/amlonet_llama:F16
    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 ljcamargo/amlonet_llama:F16
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf ljcamargo/amlonet_llama:F16
    Use Docker
    docker model run hf.co/ljcamargo/amlonet_llama:F16
  • LM Studio
  • Jan
  • vLLM

    How to use ljcamargo/amlonet_llama with vLLM:

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

    How to use ljcamargo/amlonet_llama 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 "ljcamargo/amlonet_llama" \
        --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": "ljcamargo/amlonet_llama",
    		"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 "ljcamargo/amlonet_llama" \
            --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": "ljcamargo/amlonet_llama",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Ollama

    How to use ljcamargo/amlonet_llama with Ollama:

    ollama run hf.co/ljcamargo/amlonet_llama:F16
  • Unsloth Studio

    How to use ljcamargo/amlonet_llama with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for ljcamargo/amlonet_llama to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for ljcamargo/amlonet_llama to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for ljcamargo/amlonet_llama to start chatting
  • Docker Model Runner

    How to use ljcamargo/amlonet_llama with Docker Model Runner:

    docker model run hf.co/ljcamargo/amlonet_llama:F16
  • Lemonade

    How to use ljcamargo/amlonet_llama with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull ljcamargo/amlonet_llama:F16
    Run and chat with the model
    lemonade run user.amlonet_llama-F16
    List all available models
    lemonade list
  • Atomic Chat
amlonet_llama
21.2 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 33 commits
ljcamargo's picture
ljcamargo
Delete config.json
1a84983 verified almost 2 years ago
  • .gitattributes
    1.63 kB
    (Trained with Unsloth) almost 2 years ago
  • README.md
    229 Bytes
    Upload model trained with Unsloth almost 2 years ago
  • adapter_config.json
    736 Bytes
    Training in progress, step 25 almost 2 years ago
  • adapter_model.safetensors
    168 MB
    xet
    Training in progress, step 400 almost 2 years ago
  • special_tokens_map.json
    459 Bytes
    Training in progress, step 60 almost 2 years ago
  • tokenizer.json
    9.09 MB
    Training in progress, step 60 almost 2 years ago
  • tokenizer_config.json
    51.8 kB
    Upload model trained with Unsloth almost 2 years ago
  • training_args.bin

    Detected Pickle imports (9)

    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.HubStrategy",
    • "accelerate.state.PartialState",
    • "torch.device",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "accelerate.utils.dataclasses.DistributedType",
    • "trl.trainer.sft_config.SFTConfig"

    How to fix it?

    5.43 kB
    xet
    Training in progress, step 25 almost 2 years ago
  • unsloth.F16.gguf
    16.1 GB
    xet
    (Trained with Unsloth) almost 2 years ago
  • unsloth.Q4_K_M.gguf
    4.92 GB
    xet
    (Trained with Unsloth) almost 2 years ago