hf-doc-build/doc-build-dev
Updated
โข
654k
โข
4
sharing knowledge
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
huggingface_hub
Python library!ModelHubMixin
!ModelHubMixin
integrations! HfFileSystem
!!huggingface_hub
Python library!PyTorchHubMixin
now supports configs and safetensors!audio-to-audio
supported in the InferenceClient!