Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

vrclc
/
W2V2-BERT-withLM-Malayalam-Studio

Text Generation
Transformers
TensorBoard
Safetensors
Malayalam
wav2vec2-bert
automatic-speech-recognition
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use vrclc/W2V2-BERT-withLM-Malayalam-Studio with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use vrclc/W2V2-BERT-withLM-Malayalam-Studio with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="vrclc/W2V2-BERT-withLM-Malayalam-Studio")
    # Load model directly
    from transformers import AutoProcessor, AutoModelForCTC
    
    processor = AutoProcessor.from_pretrained("vrclc/W2V2-BERT-withLM-Malayalam-Studio")
    model = AutoModelForCTC.from_pretrained("vrclc/W2V2-BERT-withLM-Malayalam-Studio")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use vrclc/W2V2-BERT-withLM-Malayalam-Studio with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "vrclc/W2V2-BERT-withLM-Malayalam-Studio"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "vrclc/W2V2-BERT-withLM-Malayalam-Studio",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/vrclc/W2V2-BERT-withLM-Malayalam-Studio
  • SGLang

    How to use vrclc/W2V2-BERT-withLM-Malayalam-Studio 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 "vrclc/W2V2-BERT-withLM-Malayalam-Studio" \
        --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": "vrclc/W2V2-BERT-withLM-Malayalam-Studio",
    		"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 "vrclc/W2V2-BERT-withLM-Malayalam-Studio" \
            --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": "vrclc/W2V2-BERT-withLM-Malayalam-Studio",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use vrclc/W2V2-BERT-withLM-Malayalam-Studio with Docker Model Runner:

    docker model run hf.co/vrclc/W2V2-BERT-withLM-Malayalam-Studio
W2V2-BERT-withLM-Malayalam-Studio
2.52 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
kavyamanohar's picture
kavyamanohar
Update README.md
bccc85c verified almost 2 years ago
  • language_model
    Add LM files almost 2 years ago
  • runs
    Upload events.out.tfevents.1721191115.kudsit-dgxserver.2711602.0 almost 2 years ago
  • .gitattributes
    1.52 kB
    Upload 11 files almost 2 years ago
  • README.md
    3.88 kB
    Update README.md almost 2 years ago
  • added_tokens.json
    30 Bytes
    Upload 11 files almost 2 years ago
  • alphabet.json
    783 Bytes
    Upload 11 files almost 2 years ago
  • config.json
    1.91 kB
    Upload 11 files almost 2 years ago
  • model.safetensors
    2.42 GB
    xet
    Upload 11 files almost 2 years ago
  • preprocessor_config.json
    279 Bytes
    Upload 11 files almost 2 years ago
  • special_tokens_map.json
    548 Bytes
    Upload 11 files almost 2 years ago
  • tokenizer_config.json
    1.1 kB
    Upload 11 files almost 2 years ago
  • training_args.bin

    Detected Pickle imports (9)

    • "transformers.trainer_utils.HubStrategy",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "transformers.training_args.TrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.SchedulerType",
    • "torch.device"

    How to fix it?

    5.11 kB
    xet
    Upload 11 files almost 2 years ago
  • vocab.json
    970 Bytes
    Upload 11 files almost 2 years ago