Text Generation
Transformers
Safetensors
English
mistral
causal-lm
biinduct
pretraining
matched-compute
the-pile
125m
balanced
text-generation-inference
Instructions to use MohammedSabry/biinduct-125m-balanced with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MohammedSabry/biinduct-125m-balanced with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MohammedSabry/biinduct-125m-balanced")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MohammedSabry/biinduct-125m-balanced") model = AutoModelForCausalLM.from_pretrained("MohammedSabry/biinduct-125m-balanced", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MohammedSabry/biinduct-125m-balanced with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MohammedSabry/biinduct-125m-balanced" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MohammedSabry/biinduct-125m-balanced", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MohammedSabry/biinduct-125m-balanced
- SGLang
How to use MohammedSabry/biinduct-125m-balanced 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 "MohammedSabry/biinduct-125m-balanced" \ --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": "MohammedSabry/biinduct-125m-balanced", "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 "MohammedSabry/biinduct-125m-balanced" \ --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": "MohammedSabry/biinduct-125m-balanced", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MohammedSabry/biinduct-125m-balanced with Docker Model Runner:
docker model run hf.co/MohammedSabry/biinduct-125m-balanced
Download model.safetensors from MohammedSabry/biinduct-125m-balanced: direct link, hf CLI and curl.
- Browser
- Download file 304 MB
-
https://huggingface.co/MohammedSabry/biinduct-125m-balanced/resolve/main/model.safetensors
- Command line
-
hf download hf://MohammedSabry/biinduct-125m-balanced/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/MohammedSabry/biinduct-125m-balanced/resolve/main/model.safetensors
304 MB
- Xet hash:
- 793d5a9beec6716a4f190d902781a2b85626c818a4889a4943411bbe4dd9e13b
- Size of remote file:
- 304 MB
- SHA256:
- 5dc6ffafdb9b3c5f73ac13a6e731fefe60e304a5569eaa4204f7a8e3401d00a7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.