Text Generation
Transformers
Safetensors
English
lfm2
text-editing
rewriting
paraphrasing
instruct
conversational
Instructions to use appvoid/palmer-005-core with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use appvoid/palmer-005-core with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="appvoid/palmer-005-core") 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-core") model = AutoModelForCausalLM.from_pretrained("appvoid/palmer-005-core", 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-core with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "appvoid/palmer-005-core" # 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-core", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/appvoid/palmer-005-core
- SGLang
How to use appvoid/palmer-005-core 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-core" \ --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-core", "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-core" \ --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-core", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use appvoid/palmer-005-core with Docker Model Runner:
docker model run hf.co/appvoid/palmer-005-core
Commit History
-
Update README.md
Verified signature0a1f3a7
-
Update README.md
Verified signature7de55f8 -
Upload LICENSE
Verified signature6d5c862 -
Update README.md
Verified signaturebe2fe5e -
Update README.md
Verified signature1ab390a
-
Upload nano.png
Verified signatureaeb1e88 -
Update README.md
Verified signature37c8a72 -
Update README.md
Verified signature78fa4f7 -
Update README.md
Verified signature9034561 -
Update README.md
Verified signature544c739 -
Update README.md
Verified signature5c6fe85
-
Update README.md
Verified signature83a0609 -
Update README.md
Verified signature680d9f5 -
Update README.md
Verified signaturee0613ea -
Update README.md
Verified signature29cc5d8 -
Update README.md
Verified signature0e0934f -
Update README.md
Verified signature485d831 -
Update README.md
Verified signature247767e -
Update README.md
Verified signaturefdaf3ba -
Update README.md
Verified signature9bd1e7a -
Update README.md
Verified signature447ca1b -
Update README.md
Verified signature906bf56 -
Update README.md
Verified signature7617aa7 -
Update README.md
Verified signature864ae94 -
Update README.md
Verified signature09b6c89 -
Update README.md
Verified signatureb2c7a93 -
Update README.md
Verified signature6334845 -
Update README.md
Verified signature449e710 -
Update README.md
Verified signatured320799 -
Update README.md
Verified signaturec665a54 -
Update README.md
Verified signature0477e9a -
Update README.md
Verified signature82b6613 -
Update README.md
Verified signature35c298c -
Update README.md
Verified signature2deafec -
Update README.md
Verified signature63c4079 -
Update README.md
Verified signaturedab931b -
Update README.md
Verified signature7067ee5 -
Update README.md
Verified signature89c0fc1 -
Update README.md
Verified signaturece01f03 -
Update README.md
Verified signature790927b -
Update README.md
Verified signature12f5c45
-
Upload graphite-001 fine-tuned model
Verified signature0d9e783 -
initial commit
Verified signaturee329c96