Instructions to use EleutherAI/pythia-2.8b-multiplication-first-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EleutherAI/pythia-2.8b-multiplication-first-ft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EleutherAI/pythia-2.8b-multiplication-first-ft")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EleutherAI/pythia-2.8b-multiplication-first-ft") model = AutoModelForCausalLM.from_pretrained("EleutherAI/pythia-2.8b-multiplication-first-ft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use EleutherAI/pythia-2.8b-multiplication-first-ft with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EleutherAI/pythia-2.8b-multiplication-first-ft" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EleutherAI/pythia-2.8b-multiplication-first-ft", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/EleutherAI/pythia-2.8b-multiplication-first-ft
- SGLang
How to use EleutherAI/pythia-2.8b-multiplication-first-ft 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 "EleutherAI/pythia-2.8b-multiplication-first-ft" \ --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": "EleutherAI/pythia-2.8b-multiplication-first-ft", "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 "EleutherAI/pythia-2.8b-multiplication-first-ft" \ --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": "EleutherAI/pythia-2.8b-multiplication-first-ft", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use EleutherAI/pythia-2.8b-multiplication-first-ft with Docker Model Runner:
docker model run hf.co/EleutherAI/pythia-2.8b-multiplication-first-ft
Commit History
-
Upload tokenizer
Verified signature9b0dd27 -
Upload GPTNeoXForCausalLM
Verified signature75108ab -
Upload tokenizer
Verified signature664a4a5 -
Upload GPTNeoXForCausalLM
Verified signaturec7f84ac -
Training in progress, step 131072
Verified signature3a3f9e8 -
Training in progress, step 65536
Verified signature806b40a -
Training in progress, step 32768
Verified signature49556f8 -
Training in progress, step 16384
Verified signature5d97fe6 -
Training in progress, step 8192
Verified signature4a7a25c -
Training in progress, step 4096
Verified signaturefc03069 -
Training in progress, step 2048
Verified signature95df8c8 -
Training in progress, step 1024
Verified signaturec69cdd0 -
Training in progress, step 512
Verified signature00135d4 -
Training in progress, step 256
Verified signatureba391fe -
Training in progress, step 128
Verified signature58f6c2a -
Training in progress, step 64
Verified signature772cd59 -
Training in progress, step 32
Verified signature7a68fb1 -
Training in progress, step 16
Verified signature12b8956 -
Training in progress, step 8
Verified signature17e9f20 -
Training in progress, step 4
Verified signaturefb58e90 -
Training in progress, step 2
Verified signature3d46690 -
Training in progress, step 1
Verified signature592593b
-
Upload tokenizer
Verified signature73935ed -
Upload GPTNeoXForCausalLM
Verified signatured375a3b -
Training in progress, step 131072
Verified signatureec34e2d -
Training in progress, step 65536
Verified signature9137fcc -
Training in progress, step 32768
Verified signaturedfc494c -
Training in progress, step 16384
Verified signature7b4e355 -
Training in progress, step 8192
Verified signature35595e0 -
Training in progress, step 4096
Verified signature7930183 -
Training in progress, step 2048
Verified signature4b95fa5 -
Training in progress, step 1024
Verified signaturea80692b -
Training in progress, step 512
Verified signature546a5b9 -
Training in progress, step 256
Verified signature8091a90 -
Training in progress, step 64
Verified signature6e67108 -
Training in progress, step 32
Verified signature1f45003 -
Training in progress, step 16
Verified signature39e5113 -
Training in progress, step 8
Verified signature99cfb30 -
Training in progress, step 4
Verified signature28106d8 -
Training in progress, step 2
Verified signature0bb76a7 -
Training in progress, step 1
Verified signature7ea14ce
-
initial commit
Verified signature457229c