Text Generation
Transformers
Safetensors
English
Hindi
qwen2
reasoning
coding
mathematics
quantization
4-bit model
state-of-the-art
conversational
text-generation-inference
4-bit precision
bitsandbytes
Instructions to use 169Pi/Alpie-Core with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 169Pi/Alpie-Core with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="169Pi/Alpie-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("169Pi/Alpie-Core") model = AutoModelForCausalLM.from_pretrained("169Pi/Alpie-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 169Pi/Alpie-Core with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "169Pi/Alpie-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": "169Pi/Alpie-Core", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/169Pi/Alpie-Core
- SGLang
How to use 169Pi/Alpie-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 "169Pi/Alpie-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": "169Pi/Alpie-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 "169Pi/Alpie-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": "169Pi/Alpie-Core", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use 169Pi/Alpie-Core with Docker Model Runner:
docker model run hf.co/169Pi/Alpie-Core
Commit History
-
Update README.md
Verified signaturee07ba2e
-
Update README.md
Verified signaturee51429f
-
Update README.md
Verified signaturee37f6af -
Update README.md
Verified signature8676821 -
Update README.md
Verified signaturec5e95e4 -
Update README.md
Verified signature8f9c8bf
-
Update README.md
Verified signature6cd8c67 -
Update README.md
Verified signaturec0a3c38
-
Update README.md
Verified signature65f8795 -
Rename Alpie_Core (HF).pdf to Alpie_Core.pdf
Verified signaturecca7827 -
Delete Alpie_Core.pdf
Verified signaturec9a863e -
Update README.md
Verified signatured1fcc01 -
Upload Alpie_Core (HF).pdf
Verified signature0bf1c86
-
Update README.md
Verified signatureac47855
-
Update README.md
Verified signature2fb0dab
-
Update README.md
Verified signature45d1b55
-
Update README.md
Verified signature2b3ee70 -
Update README.md
Verified signaturebe73b15 -
Update README.md
Verified signature937a539 -
Update README.md
Verified signature4952319 -
Update README.md
Verified signature9c68ef7 -
Update README.md
Verified signatured3c4bfa -
Update README.md
Verified signatured3cc664 -
Update README.md
Verified signatured301133 -
Update README.md
Verified signature80567f0 -
Update README.md
Verified signatureb795416 -
Update README.md
Verified signature01a69a6 -
Rename Humanity's Last Exam (Text Only) - Accuracy Comparison.png to HLE.png
Verified signature9442cad -
Rename Benchmark_ GSM8K.png to GSM8K.png
Verified signature1fbf933 -
Rename Benchmark_ AIME.png to AIME.png
Verified signaturef9e5e23 -
Update README.md
Verified signature2248e3c -
Rename Benchmark_ BBH.png to BBH.png
Verified signaturea37e0e6 -
Update README.md
Verified signature65b6be8 -
Update README.md
Verified signature6644c49 -
Update README.md
Verified signature4896695 -
Update README.md
Verified signaturebae016e -
Upload Alpie_Core.pdf
Verified signaturef39c6c7 -
Delete Alpie_Core.pdf
Verified signaturee2a59ea -
Upload Alpie_Core.pdf
Verified signature30b38bc -
Upload combined_benchmark.png
Verified signaturee332ff1 -
Upload 2 files
Verified signature5c7079f -
Upload 2 files
Verified signaturef1e0e3a -
Upload swe.png
Verified signature2f0375c -
Update README.md
Verified signature196454e -
Update README.md
Verified signaturedf125e5 -
Update README.md
Verified signature494b673 -
Update README.md
Verified signatureee94a8c -
Update README.md
Verified signaturee687c70 -
Upload carbon_footprint.png
Verified signatureb2e8199 -
Update README.md
Verified signatureabea210