Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

arhansd1
/
csv_cleaner_final

Text Generation
PEFT
Safetensors
Transformers
lora
Model card Files Files and versions
xet
Community

Instructions to use arhansd1/csv_cleaner_final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use arhansd1/csv_cleaner_final with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-v0.1")
    model = PeftModel.from_pretrained(base_model, "arhansd1/csv_cleaner_final")
  • Transformers

    How to use arhansd1/csv_cleaner_final with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="arhansd1/csv_cleaner_final")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("arhansd1/csv_cleaner_final", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use arhansd1/csv_cleaner_final with vLLM:

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

    How to use arhansd1/csv_cleaner_final 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 "arhansd1/csv_cleaner_final" \
        --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": "arhansd1/csv_cleaner_final",
    		"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 "arhansd1/csv_cleaner_final" \
            --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": "arhansd1/csv_cleaner_final",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use arhansd1/csv_cleaner_final with Docker Model Runner:

    docker model run hf.co/arhansd1/csv_cleaner_final
csv_cleaner_final
31.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
arhansd1's picture
arhansd1
Upload tokenizer
9c127d0 verified 10 months ago
  • final_model
    Model save 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    1.37 kB
    End of training 10 months ago
  • adapter_config.json
    830 Bytes
    Training in progress, epoch 1 10 months ago
  • adapter_model.safetensors
    13.6 MB
    xet
    Training in progress, epoch 2 10 months ago
  • special_tokens_map.json
    437 Bytes
    Upload tokenizer 10 months ago
  • tokenizer.json
    3.51 MB
    Upload tokenizer 10 months ago
  • tokenizer.model
    493 kB
    xet
    Upload tokenizer 10 months ago
  • tokenizer_config.json
    1.03 kB
    Upload tokenizer 10 months ago
  • training_args.bin
    5.37 kB
    xet
    Training in progress, epoch 1 10 months ago