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

  • Log In
  • Sign Up

simlamkr1
/
output

Text Generation
Transformers
PyTorch
TensorBoard
llama
Generated from Trainer
text-generation-inference
Model card Files Files and versions
xet
Metrics Training metrics Community
1

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

  • Libraries
  • Transformers

    How to use simlamkr1/output with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="simlamkr1/output")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("simlamkr1/output")
    model = AutoModelForCausalLM.from_pretrained("simlamkr1/output")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • vLLM

    How to use simlamkr1/output with vLLM:

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

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

    How to use simlamkr1/output with Docker Model Runner:

    docker model run hf.co/simlamkr1/output
output
270 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 17 commits
simlamkr1's picture
simlamkr1
Upload pytorch_model.bin
656e44c over 2 years ago
  • runs
    End of training over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • .gitignore
    13 Bytes
    Training in progress, epoch 1 over 2 years ago
  • README.md
    1.07 kB
    update model card README.md over 2 years ago
  • adapter_config.json
    447 Bytes
    End of training over 2 years ago
  • adapter_model.bin
    134 MB
    xet
    End of training over 2 years ago
  • config.json
    609 Bytes
    Upload config.json over 2 years ago
  • pytorch_model.bin
    134 MB
    xet
    Upload pytorch_model.bin over 2 years ago
  • special_tokens_map.json
    437 Bytes
    Training in progress, epoch 1 over 2 years ago
  • tokenizer.json
    1.84 MB
    Training in progress, epoch 0 over 2 years ago
  • tokenizer_config.json
    725 Bytes
    Training in progress, epoch 1 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

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

    How to fix it?

    3.9 kB
    xet
    Training in progress, epoch 0 over 2 years ago