Instructions to use CLMBR/existential-there-quantifier-transformer-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CLMBR/existential-there-quantifier-transformer-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CLMBR/existential-there-quantifier-transformer-2")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CLMBR/existential-there-quantifier-transformer-2") model = AutoModelForCausalLM.from_pretrained("CLMBR/existential-there-quantifier-transformer-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CLMBR/existential-there-quantifier-transformer-2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CLMBR/existential-there-quantifier-transformer-2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CLMBR/existential-there-quantifier-transformer-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CLMBR/existential-there-quantifier-transformer-2
- SGLang
How to use CLMBR/existential-there-quantifier-transformer-2 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 "CLMBR/existential-there-quantifier-transformer-2" \ --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": "CLMBR/existential-there-quantifier-transformer-2", "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 "CLMBR/existential-there-quantifier-transformer-2" \ --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": "CLMBR/existential-there-quantifier-transformer-2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CLMBR/existential-there-quantifier-transformer-2 with Docker Model Runner:
docker model run hf.co/CLMBR/existential-there-quantifier-transformer-2
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: existential-there-quantifier-transformer-2 | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # existential-there-quantifier-transformer-2 | |
| This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 3.8631 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 5e-05 | |
| - train_batch_size: 32 | |
| - eval_batch_size: 32 | |
| - seed: 2 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - training_steps: 3052726 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:-------:|:---------------:| | |
| | 4.2284 | 0.03 | 76320 | 4.1985 | | |
| | 4.0216 | 1.03 | 152640 | 4.0292 | | |
| | 3.9117 | 0.03 | 228960 | 3.9547 | | |
| | 3.846 | 1.03 | 305280 | 3.9137 | | |
| | 3.7932 | 0.03 | 381600 | 3.8879 | | |
| | 3.7526 | 1.03 | 457920 | 3.8726 | | |
| | 3.7186 | 0.03 | 534240 | 3.8616 | | |
| | 3.6853 | 1.03 | 610560 | 3.8549 | | |
| | 3.6566 | 0.03 | 686880 | 3.8491 | | |
| | 3.6299 | 1.03 | 763200 | 3.8466 | | |
| | 3.6088 | 0.03 | 839520 | 3.8450 | | |
| | 3.5909 | 1.03 | 915840 | 3.8433 | | |
| | 3.5721 | 0.03 | 992160 | 3.8440 | | |
| | 3.5517 | 1.03 | 1068480 | 3.8438 | | |
| | 3.5396 | 0.03 | 1144800 | 3.8448 | | |
| | 3.5253 | 1.03 | 1221120 | 3.8455 | | |
| | 3.5095 | 0.03 | 1297440 | 3.8461 | | |
| | 3.4965 | 0.03 | 1373760 | 3.8489 | | |
| | 3.4797 | 1.03 | 1450080 | 3.8500 | | |
| | 3.4741 | 0.03 | 1526400 | 3.8496 | | |
| | 3.463 | 1.03 | 1602720 | 3.8523 | | |
| | 3.456 | 0.03 | 1679040 | 3.8542 | | |
| | 3.4458 | 1.03 | 1755360 | 3.8550 | | |
| | 3.433 | 0.03 | 1831680 | 3.8559 | | |
| | 3.4181 | 0.03 | 1908000 | 3.8570 | | |
| | 3.4069 | 1.03 | 1984320 | 3.8597 | | |
| | 3.3962 | 0.03 | 2060640 | 3.8610 | | |
| | 3.3886 | 1.03 | 2136960 | 3.8617 | | |
| | 3.3791 | 0.03 | 2213280 | 3.8636 | | |
| | 3.3653 | 1.03 | 2289600 | 3.8646 | | |
| | 3.3589 | 0.03 | 2365920 | 3.8649 | | |
| | 3.3494 | 1.03 | 2442240 | 3.8656 | | |
| | 3.3363 | 0.03 | 2518560 | 3.8670 | | |
| | 3.3258 | 1.03 | 2594880 | 3.8668 | | |
| | 3.3168 | 0.03 | 2671200 | 3.8669 | | |
| | 3.3126 | 1.03 | 2747520 | 3.8667 | | |
| | 3.3062 | 0.03 | 2823840 | 3.8659 | | |
| | 3.3037 | 1.03 | 2900160 | 3.8657 | | |
| | 3.2966 | 0.03 | 2976480 | 3.8640 | | |
| | 3.2869 | 1.02 | 3052726 | 3.8631 | | |
| ### Framework versions | |
| - Transformers 4.33.3 | |
| - Pytorch 2.0.1 | |
| - Datasets 2.12.0 | |
| - Tokenizers 0.13.3 | |