Text Generation
Transformers
Safetensors
PyTorch
English
pebble_50m
chat
mamba
experimental
mamba2
hybrid
slm
custom_code
Instructions to use basically-experimental/Pebble-50M-Chat-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use basically-experimental/Pebble-50M-Chat-beta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="basically-experimental/Pebble-50M-Chat-beta", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("basically-experimental/Pebble-50M-Chat-beta", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use basically-experimental/Pebble-50M-Chat-beta with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "basically-experimental/Pebble-50M-Chat-beta" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "basically-experimental/Pebble-50M-Chat-beta", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/basically-experimental/Pebble-50M-Chat-beta
- SGLang
How to use basically-experimental/Pebble-50M-Chat-beta 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 "basically-experimental/Pebble-50M-Chat-beta" \ --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": "basically-experimental/Pebble-50M-Chat-beta", "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 "basically-experimental/Pebble-50M-Chat-beta" \ --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": "basically-experimental/Pebble-50M-Chat-beta", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use basically-experimental/Pebble-50M-Chat-beta with Docker Model Runner:
docker model run hf.co/basically-experimental/Pebble-50M-Chat-beta
Commit History
-
Create README.md
Verified signatureb09c361 -
Upload banner.png
Verified signature0c84f0d -
Create modeling_pebble.py
Verified signaturef0cd00b -
Final SFT model
Verified signature14d058e -
SFT step 950
Verified signaturee942a94 -
SFT step 900
Verified signature501f8b9 -
SFT step 850
Verified signature72623b5 -
SFT step 800
Verified signatured66fe1f -
SFT step 750
Verified signature32b61b3 -
SFT step 700
Verified signaturec9e0f57 -
SFT step 650
Verified signature5bebf75 -
SFT step 600
Verified signaturece37395 -
SFT step 550
Verified signature85a68f0 -
SFT step 500
Verified signatureb97c9c1
-
SFT step 450
Verified signature5c3e741 -
SFT step 400
Verified signatureb2d5085 -
SFT step 350
Verified signatureed57186 -
SFT step 300
Verified signaturec59f352 -
SFT step 250
Verified signature068c88d -
SFT step 200
Verified signaturec6d4123 -
SFT step 150
Verified signatureddda926 -
SFT step 100
Verified signaturee9a0e21 -
SFT step 50
Verified signature6a4e66b -
initial commit
Verified signature938c6fb