Instructions to use AbdulElahGwaith/transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AbdulElahGwaith/transformers with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AbdulElahGwaith/transformers", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download docs/source/en/main_classes/feature_extractor.md from AbdulElahGwaith/transformers: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/en/main_classes/feature_extractor.md
- Command line
-
hf download hf://AbdulElahGwaith/transformers/docs/source/en/main_classes/feature_extractor.md
-
curl -L -o feature_extractor.md https://huggingface.co/AbdulElahGwaith/transformers/resolve/main/docs/source/en/main_classes/feature_extractor.md
1.36 kB
Feature Extractor
A feature extractor is in charge of preparing input features for audio models. This includes feature extraction from sequences, e.g., pre-processing audio files to generate Log-Mel Spectrogram features, and conversion to NumPy and PyTorch tensors.
FeatureExtractionMixin
[[autodoc]] feature_extraction_utils.FeatureExtractionMixin - from_pretrained - save_pretrained
SequenceFeatureExtractor
[[autodoc]] SequenceFeatureExtractor - pad
BatchFeature
[[autodoc]] BatchFeature
ImageFeatureExtractionMixin
[[autodoc]] image_utils.ImageFeatureExtractionMixin