Text Generation
Transformers
Safetensors
falcon_h1
text-editing
rewriting
paraphrasing
instruct
conversational
Instructions to use appvoid/palmer-005 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use appvoid/palmer-005 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="appvoid/palmer-005") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("appvoid/palmer-005") model = AutoModelForCausalLM.from_pretrained("appvoid/palmer-005", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use appvoid/palmer-005 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "appvoid/palmer-005" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "appvoid/palmer-005", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/appvoid/palmer-005
- SGLang
How to use appvoid/palmer-005 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 "appvoid/palmer-005" \ --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": "appvoid/palmer-005", "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 "appvoid/palmer-005" \ --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": "appvoid/palmer-005", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use appvoid/palmer-005 with Docker Model Runner:
docker model run hf.co/appvoid/palmer-005
Commit History
-
Update README.md
Verified signature03b00ba -
Update README.md
Verified signature4340f7f -
Update README.md
Verified signaturec7c3559 -
Update README.md
Verified signature0327b23 -
Update README.md
Verified signature9425904 -
Update README.md
Verified signature3b0d2d1 -
Update README.md
Verified signaturef2c9ed7 -
Update README.md
Verified signature23d914e -
Update README.md
Verified signature1082152 -
Update README.md
Verified signatured7ae277 -
Upload LICENSE
Verified signature681499c -
Update README.md
Verified signaturef6aae29 -
Update README.md
Verified signature374e882 -
Update README.md
Verified signature62732c2 -
Update README.md
Verified signature39654e5 -
Update README.md
Verified signature9b5dbb2 -
Update README.md
Verified signature7291804
-
Update README.md
Verified signature73ef7de -
Update README.md
Verified signaturefdabbf5 -
Update README.md
Verified signature1232e3b -
Update README.md
Verified signature4caa429 -
Update README.md
Verified signaturec12cf16 -
Update README.md
Verified signature93a63d8 -
Update README.md
Verified signaturec5d1d83 -
Upload palmer-005-icon.png
Verified signature7d68f93 -
Update README.md
Verified signature71bb102
-
Upload graphite-001 fine-tuned model
Verified signaturea8549df -
initial commit
Verified signaturebfde504