Text Generation
Transformers
Safetensors
English
llama
memorization
privacy
copyright
testset-contamination
research
text-generation-inference
Instructions to use allegrolab/hubble-1b-100b_toks-half_depth-standard-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allegrolab/hubble-1b-100b_toks-half_depth-standard-hf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="allegrolab/hubble-1b-100b_toks-half_depth-standard-hf")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("allegrolab/hubble-1b-100b_toks-half_depth-standard-hf") model = AutoModelForCausalLM.from_pretrained("allegrolab/hubble-1b-100b_toks-half_depth-standard-hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use allegrolab/hubble-1b-100b_toks-half_depth-standard-hf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "allegrolab/hubble-1b-100b_toks-half_depth-standard-hf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "allegrolab/hubble-1b-100b_toks-half_depth-standard-hf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/allegrolab/hubble-1b-100b_toks-half_depth-standard-hf
- SGLang
How to use allegrolab/hubble-1b-100b_toks-half_depth-standard-hf 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 "allegrolab/hubble-1b-100b_toks-half_depth-standard-hf" \ --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": "allegrolab/hubble-1b-100b_toks-half_depth-standard-hf", "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 "allegrolab/hubble-1b-100b_toks-half_depth-standard-hf" \ --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": "allegrolab/hubble-1b-100b_toks-half_depth-standard-hf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use allegrolab/hubble-1b-100b_toks-half_depth-standard-hf with Docker Model Runner:
docker model run hf.co/allegrolab/hubble-1b-100b_toks-half_depth-standard-hf
- Xet hash:
- b1c6c6200ce4e063cd013488f24c23fd0591d727b699940d7dd2cee3cd60a07d
- Size of remote file:
- 2.5 GB
- SHA256:
- 42790c5daf32c561230fda7fd3c234d451c7060d855e48854dc75ccc511023ff
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.