hf-doc-build/doc-build-dev
Updated
โข
107k
โข
8
sharing knowledge
hf: a faster, friendlier Hugging Face CLI โจhf auth login easier to type and remember?pip install -U huggingface_hub[hf_xet]from huggingface_hub import InferenceClient
client = InferenceClient(provider="fal-ai", bill_to="my-cool-company")
image = client.text_to_image(
"A majestic lion in a fantasy forest",
model="black-forest-labs/FLUX.1-schnell",
)
image.save("lion.png")transformers in dedicated releases!v4.49.0-SmolVLM-2 and v4.49.0-SigLIP-2.from optimum.onnxruntime import ORTModelForSequenceClassification
# Load the model from the hub and export it to the ONNX format
model_id = "distilbert-base-uncased-finetuned-sst-2-english"
model = ORTModelForSequenceClassification.from_pretrained(model_id, export=True)huggingface-cli upload-large-folder. Designed for your massive models and datasets. Much recommended if you struggle to upload your Llama 70B fine-tuned model ๐คกpip install huggingface_hub==0.25.0