Text Generation
Transformers
GGUF
PEFT
Trained with AutoTrain
text-generation-inference
llama-cpp
gguf-my-lora
Instructions to use c3ts/newmodelGGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use c3ts/newmodelGGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="c3ts/newmodelGGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("c3ts/newmodelGGUF", device_map="auto") - PEFT
How to use c3ts/newmodelGGUF with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use c3ts/newmodelGGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "c3ts/newmodelGGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "c3ts/newmodelGGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/c3ts/newmodelGGUF
- SGLang
How to use c3ts/newmodelGGUF 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 "c3ts/newmodelGGUF" \ --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": "c3ts/newmodelGGUF", "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 "c3ts/newmodelGGUF" \ --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": "c3ts/newmodelGGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use c3ts/newmodelGGUF with Docker Model Runner:
docker model run hf.co/c3ts/newmodelGGUF
|
Download README.md from c3ts/newmodelGGUF: direct link, hf CLI and curl.
- Browser
- Download file 970 Bytes
-
https://huggingface.co/c3ts/newmodelGGUF/resolve/main/README.md
- Command line
-
hf download hf://c3ts/newmodelGGUF/README.md
-
curl -L -o README.md https://huggingface.co/c3ts/newmodelGGUF/resolve/main/README.md
970 Bytes
| tags: | |
| - autotrain | |
| - text-generation-inference | |
| - text-generation | |
| - peft | |
| - llama-cpp | |
| - gguf-my-lora | |
| library_name: transformers | |
| base_model: c3ts/Newmodel | |
| widget: | |
| - messages: | |
| - role: user | |
| content: What is your favorite condiment? | |
| license: other | |
| # zashwanth/Newmodel-F16-GGUF | |
| This LoRA adapter was converted to GGUF format from [`c3ts/Newmodel`](https://huggingface.co/c3ts/Newmodel) via the ggml.ai's [GGUF-my-lora](https://huggingface.co/spaces/ggml-org/gguf-my-lora) space. | |
| Refer to the [original adapter repository](https://huggingface.co/c3ts/Newmodel) for more details. | |
| ## Use with llama.cpp | |
| ```bash | |
| # with cli | |
| llama-cli -m base_model.gguf --lora Newmodel-f16.gguf (...other args) | |
| # with server | |
| llama-server -m base_model.gguf --lora Newmodel-f16.gguf (...other args) | |
| ``` | |
| To know more about LoRA usage with llama.cpp server, refer to the [llama.cpp server documentation](https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md). | |