smerchi / Arabic-Morocco-Speech_To_Text

huggingface.co
Total runs: 367
24-hour runs: -1
7-day runs: -11
30-day runs: 301
Model's Last Updated: April 02 2024
automatic-speech-recognition

Introduction of Arabic-Morocco-Speech_To_Text

Model Details of Arabic-Morocco-Speech_To_Text

Whisper_Cleverlytics

Usage

To run the model, first install the Transformers library through the GitHub repo.

pip install --upgrade pip
pip install --upgrade git+https://github.com/huggingface/transformers.git accelerate datasets[audio]
import torch
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
#from datasets import load_dataset

device = "cuda:0" if torch.cuda.is_available() else "cpu"
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
model_id = "smerchi/Arabic-Morocco-Speech_To_Text"

model = AutoModelForSpeechSeq2Seq.from_pretrained(
    model_id, torch_dtype=torch_dtype, low_cpu_mem_usage=False, use_safetensors=True
)
model.to(device)

processor = AutoProcessor.from_pretrained(model_id)

pipe = pipeline(
    "automatic-speech-recognition",
    model=model,
    tokenizer=processor.tokenizer,
    feature_extractor=processor.feature_extractor,
    max_new_tokens=128,
    chunk_length_s=30,
    batch_size=16,
    return_timestamps=True,
    torch_dtype=torch_dtype,
    device=device,
)

audio="/content/audio.mp3"

%time result = pipe(audio)
print(result["text"],)
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 1e-05
  • num_epochs: 20
Training results
Framework versions
  • Transformers 4.35.2
  • Pytorch 2.0.1+cu117
  • Datasets 2.16.0
  • Tokenizers 0.14.1

Runs of smerchi Arabic-Morocco-Speech_To_Text on huggingface.co

367
Total runs
-1
24-hour runs
-13
3-day runs
-11
7-day runs
301
30-day runs

More Information About Arabic-Morocco-Speech_To_Text huggingface.co Model

More Arabic-Morocco-Speech_To_Text license Visit here:

https://choosealicense.com/licenses/apache-2.0

Arabic-Morocco-Speech_To_Text huggingface.co

Arabic-Morocco-Speech_To_Text huggingface.co is an AI model on huggingface.co that provides Arabic-Morocco-Speech_To_Text's model effect (), which can be used instantly with this smerchi Arabic-Morocco-Speech_To_Text model. huggingface.co supports a free trial of the Arabic-Morocco-Speech_To_Text model, and also provides paid use of the Arabic-Morocco-Speech_To_Text. Support call Arabic-Morocco-Speech_To_Text model through api, including Node.js, Python, http.

Arabic-Morocco-Speech_To_Text huggingface.co Url

https://huggingface.co/smerchi/Arabic-Morocco-Speech_To_Text

smerchi Arabic-Morocco-Speech_To_Text online free

Arabic-Morocco-Speech_To_Text huggingface.co is an online trial and call api platform, which integrates Arabic-Morocco-Speech_To_Text's modeling effects, including api services, and provides a free online trial of Arabic-Morocco-Speech_To_Text, you can try Arabic-Morocco-Speech_To_Text online for free by clicking the link below.

smerchi Arabic-Morocco-Speech_To_Text online free url in huggingface.co:

https://huggingface.co/smerchi/Arabic-Morocco-Speech_To_Text

Arabic-Morocco-Speech_To_Text install

Arabic-Morocco-Speech_To_Text is an open source model from GitHub that offers a free installation service, and any user can find Arabic-Morocco-Speech_To_Text on GitHub to install. At the same time, huggingface.co provides the effect of Arabic-Morocco-Speech_To_Text install, users can directly use Arabic-Morocco-Speech_To_Text installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Arabic-Morocco-Speech_To_Text install url in huggingface.co:

https://huggingface.co/smerchi/Arabic-Morocco-Speech_To_Text

Url of Arabic-Morocco-Speech_To_Text

Arabic-Morocco-Speech_To_Text huggingface.co Url

Provider of Arabic-Morocco-Speech_To_Text huggingface.co

smerchi
ORGANIZATIONS

Other API from smerchi

huggingface.co

Total runs: 8
Run Growth: 1
Growth Rate: 12.50%
Updated:September 04 2024
huggingface.co

Total runs: 7
Run Growth: -1
Growth Rate: -14.29%
Updated:December 25 2024
huggingface.co

Total runs: 6
Run Growth: -4
Growth Rate: -66.67%
Updated:July 25 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2024
huggingface.co

Total runs: 5
Run Growth: -1
Growth Rate: -20.00%
Updated:August 29 2024
huggingface.co

Total runs: 5
Run Growth: -5
Growth Rate: -100.00%
Updated:August 29 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:April 11 2025
huggingface.co

Total runs: 0
Run Growth: -4
Growth Rate: 0.00%
Updated:September 04 2024
huggingface.co

Total runs: 0
Run Growth: -5
Growth Rate: 0.00%
Updated:July 09 2024