Instructions to use HuggingFaceFW/ablation-model-fineweb-edu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HuggingFaceFW/ablation-model-fineweb-edu with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HuggingFaceFW/ablation-model-fineweb-edu")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HuggingFaceFW/ablation-model-fineweb-edu") model = AutoModelForCausalLM.from_pretrained("HuggingFaceFW/ablation-model-fineweb-edu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HuggingFaceFW/ablation-model-fineweb-edu with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HuggingFaceFW/ablation-model-fineweb-edu" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HuggingFaceFW/ablation-model-fineweb-edu", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/HuggingFaceFW/ablation-model-fineweb-edu
- SGLang
How to use HuggingFaceFW/ablation-model-fineweb-edu 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 "HuggingFaceFW/ablation-model-fineweb-edu" \ --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": "HuggingFaceFW/ablation-model-fineweb-edu", "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 "HuggingFaceFW/ablation-model-fineweb-edu" \ --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": "HuggingFaceFW/ablation-model-fineweb-edu", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use HuggingFaceFW/ablation-model-fineweb-edu with Docker Model Runner:
docker model run hf.co/HuggingFaceFW/ablation-model-fineweb-edu
Commit History
-
Upload IMG_1811.jpeg
OzieVerified signaturePull Meta datae6046e1
-
Update tokenizer_config.json
Verified signatureb8e7695
-
Update README.md
Verified signatureb09f8a2
-
Update README.md
Verified signature8f9955c -
Update README.md
Verified signature000156d -
Update README.md
Verified signature6ea568a -
Update README.md
Verified signatureee29d8d -
Update README.md
Verified signaturea3db1f2 -
Update README.md
Verified signature2617bb2 -
Update README.md
Verified signatureba1a58c -
Update README.md
Verified signature87e359a
-
Update README.md
Verified signature7aaee30 -
Update README.md
Verified signature50423dd -
167000
Verified signaturec797c59 -
165000
Verified signature487ef34 -
163000
Verified signature14c5bc9 -
141000
Verified signature09f1f0b -
131000
Verified signature33b8165 -
130000
Verified signature2f6870c -
120000
Verified signaturea7c1749 -
110000
Verified signature2cbf10f -
100000
Verified signature15bb64e -
90000
Verified signature1d3b1a8 -
80000
Verified signature64821c0 -
70000
Verified signature82ec5fa -
60000
Verified signature84e0654 -
50000
Verified signature231a0a5 -
40000
Verified signaturefe0d44b -
30000
Verified signatured834b27 -
20000
Verified signature92432aa -
10000
Verified signaturec39424e
-
initial commit
Verified signatureaa8e9de