Text Generation
Transformers
GGUF
PEFT
Trained with AutoTrain
text-generation-inference
llama-cpp
gguf-my-lora
Instructions to use shafire/AgentZero-F16-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shafire/AgentZero-F16-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="shafire/AgentZero-F16-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shafire/AgentZero-F16-GGUF", dtype="auto") - PEFT
How to use shafire/AgentZero-F16-GGUF with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use shafire/AgentZero-F16-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "shafire/AgentZero-F16-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shafire/AgentZero-F16-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/shafire/AgentZero-F16-GGUF
- SGLang
How to use shafire/AgentZero-F16-GGUF 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 "shafire/AgentZero-F16-GGUF" \ --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": "shafire/AgentZero-F16-GGUF", "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 "shafire/AgentZero-F16-GGUF" \ --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": "shafire/AgentZero-F16-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use shafire/AgentZero-F16-GGUF with Docker Model Runner:
docker model run hf.co/shafire/AgentZero-F16-GGUF
shafire/AgentZero-F16-GGUF
This LoRA adapter was converted to GGUF format from shafire/AgentZero via the ggml.ai's GGUF-my-lora space.
Refer to the original adapter repository for more details.
LICENSE: Zero Public Licence v1.0 Section 1 โ Safety layer must stay intact. Section 2 โ Export to states under UK embargo requires licence. Section 3 โ Author disclaims forks that remove Section 1 or 2.
Use with llama.cpp
# with cli
llama-cli -m base_model.gguf --lora AgentZero-f16.gguf (...other args)
# with server
llama-server -m base_model.gguf --lora AgentZero-f16.gguf (...other args)
To know more about LoRA usage with llama.cpp server, refer to the llama.cpp server documentation.
- Downloads last month
- 10
Hardware compatibility
Log In to add your hardware
16-bit