Text Generation
Transformers
PyTorch
TensorFlow
JAX
English
opt
Eval Results (legacy)
text-generation-inference
Run this model with HF Jobs
Run inverse-scaling/opt-125m_eval on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/inverse-scaling/opt-125m_eval. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/inverse-scaling/opt-125m_eval on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/inverse-scaling/opt-125m_eval. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/inverse-scaling/opt-125m_eval. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use inverse-scaling/opt-125m_eval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inverse-scaling/opt-125m_eval with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inverse-scaling/opt-125m_eval")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("inverse-scaling/opt-125m_eval") model = AutoModelForCausalLM.from_pretrained("inverse-scaling/opt-125m_eval", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use inverse-scaling/opt-125m_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-125m_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-125m_eval", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/inverse-scaling/opt-125m_eval
- SGLang
How to use inverse-scaling/opt-125m_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-125m_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-125m_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-125m_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-125m_eval", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use inverse-scaling/opt-125m_eval with Docker Model Runner:
docker model run hf.co/inverse-scaling/opt-125m_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 (e4d17e28e6100cfbbd7de175239031dee64ef973) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>30eabc0
-
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 (0d0648c69ce72fe171e555ebfb6d8359cc3814ed) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>3d93353 -
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 (d2fedf0453a375c186e5c0d4bc81abea945c6cde) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>4e788cc -
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 (8bb3e36e2d91f79b3e08b9357471632c4a6e4630) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>86aecd4
-
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 (790cfb7734a3746d64356ff8f358bf604f006fff) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>544f931
-
Add evaluation results on the inverse-scaling--hindsight-neglect-10shot config and train split of inverse-scaling/hindsight-neglect-10shot (#6)
- Add evaluation results on the inverse-scaling--hindsight-neglect-10shot config and train split of inverse-scaling/hindsight-neglect-10shot (54641433bc4f275358a4e4e9710d3114a14228d8) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>ccbe6d1 -
Update README.md
51af8a8 -
Update README.md
eff7bfc -
Add evaluation results on the inverse-scaling--NeQA config and train split of inverse-scaling/NeQA (#3)
- Add evaluation results on the inverse-scaling--NeQA config and train split of inverse-scaling/NeQA (3b2aa9cd6c924b0b529bd324bbdef752e1abc466) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>2a02b1f -
Update README.md
922f086
-
Add evaluation results on the inverse-scaling--41 config and train split of inverse-scaling/41 (#2)
- Add evaluation results on the inverse-scaling--41 config and train split of inverse-scaling/41 (f190408f9658de445c908d10823087e856df9598) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>c044531
-
Upload vocab.json
5040e2f -
Upload tokenizer_config.json
396ca2f -
Upload tf_model.h5 with git-lfs
120081a -
Upload special_tokens_map.json
b7f767b -
Upload pytorch_model.bin with git-lfs
4589575 -
Upload merges.txt
b670de6 -
Upload flax_model.msgpack with git-lfs
1665a53 -
Upload config.json
87e3133 -
Upload README.md
6855b7a -
Upload LICENSE.md
a48454f -
initial commit
58e8d9c