Text Generation
Transformers
PyTorch
TensorFlow
JAX
English
opt
Eval Results (legacy)
text-generation-inference
Instructions to use inverse-scaling/opt-13b_eval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inverse-scaling/opt-13b_eval with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inverse-scaling/opt-13b_eval")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("inverse-scaling/opt-13b_eval") model = AutoModelForCausalLM.from_pretrained("inverse-scaling/opt-13b_eval", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use inverse-scaling/opt-13b_eval with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inverse-scaling/opt-13b_eval" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inverse-scaling/opt-13b_eval", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/inverse-scaling/opt-13b_eval
- SGLang
How to use inverse-scaling/opt-13b_eval 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 "inverse-scaling/opt-13b_eval" \ --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": "inverse-scaling/opt-13b_eval", "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 "inverse-scaling/opt-13b_eval" \ --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": "inverse-scaling/opt-13b_eval", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use inverse-scaling/opt-13b_eval with Docker Model Runner:
docker model run hf.co/inverse-scaling/opt-13b_eval
Commit History
-
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#17)
- Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (fdc3b93aa4a00337ef4b49616fbf8885be6a13ee) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>5d5e911
-
Add evaluation results on the mathemakitten--winobias_antistereotype_test_v5 config and test split of mathemakitten/winobias_antistereotype_test_v5 (#16)
- Add evaluation results on the mathemakitten--winobias_antistereotype_test_v5 config and test split of mathemakitten/winobias_antistereotype_test_v5 (b871ef8716d06a467eda947c159e26da458e69a5) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>f36b058 -
Add evaluation results on the mathemakitten--winobias_antistereotype_test_v5 config and test split of mathemakitten/winobias_antistereotype_test_v5 (#15)
- Add evaluation results on the mathemakitten--winobias_antistereotype_test_v5 config and test split of mathemakitten/winobias_antistereotype_test_v5 (de90783f64da31cb6ab4fecde5f8ae4b3a5de95e) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>fcaf6d2 -
Add evaluation results on the mathemakitten--winobias_antistereotype_test_v5 config and test split of mathemakitten/winobias_antistereotype_test_v5 (#14)
- Add evaluation results on the mathemakitten--winobias_antistereotype_test_v5 config and test split of mathemakitten/winobias_antistereotype_test_v5 (04c08bd063fe38bbaca926be7aa399a8a011f2bf) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>044becf
-
Add evaluation results on the mathemakitten--winobias_antistereotype_test_cot_v3 config and test split of mathemakitten/winobias_antistereotype_test_cot_v3 (#11)
- Add evaluation results on the mathemakitten--winobias_antistereotype_test_cot_v3 config and test split of mathemakitten/winobias_antistereotype_test_cot_v3 (556cc2e40e237931946c68169bdbcc0b4c71a0bb) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>6129b11
-
Add evaluation results on the mathemakitten--winobias_antistereotype_test_cot_v1 config and test split of mathemakitten/winobias_antistereotype_test_cot_v1 (#10)
- Add evaluation results on the mathemakitten--winobias_antistereotype_test_cot_v1 config and test split of mathemakitten/winobias_antistereotype_test_cot_v1 (7d4d6655b17e986298c8f2a605639f0e272a4e2d) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>72fe103
-
Update README.md
997b07e -
Add evaluation results on the inverse-scaling--redefine-math config and train split of inverse-scaling/redefine-math (#4)
- Add evaluation results on the inverse-scaling--redefine-math config and train split of inverse-scaling/redefine-math (f69e9961098f6f0105ac2933ba4ed2085f51f2f6) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>b74d1b8
-
Update README.md
d07b107 -
Add evaluation results on the inverse-scaling--quote-repetition config and train split of inverse-scaling/quote-repetition (#3)
- Add evaluation results on the inverse-scaling--quote-repetition config and train split of inverse-scaling/quote-repetition (9adc2a1de95bd009637cf764e0d8866b6d4cdbf4) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>053dfe5 -
Add evaluation results on the inverse-scaling--NeQA config and train split of inverse-scaling/NeQA (#2)
- Add evaluation results on the inverse-scaling--NeQA config and train split of inverse-scaling/NeQA (95992dd4dff38c1986575d374bf02ae2f7b6c1fd) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>214f35b -
Add evaluation results on the inverse-scaling--41 config and train split of inverse-scaling/41 (#1)
- Add evaluation results on the inverse-scaling--41 config and train split of inverse-scaling/41 (51494185121a528b24892328fb362a48b5fd1beb) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>b96cb30
-
cp opt-13b
Michael Pieler9bb52b1 -
initial commit
8ce6ac3