Instructions to use WithinUsAI/Future.GQ.47s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WithinUsAI/Future.GQ.47s with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WithinUsAI/Future.GQ.47s", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("WithinUsAI/Future.GQ.47s", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use WithinUsAI/Future.GQ.47s with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WithinUsAI/Future.GQ.47s" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/Future.GQ.47s", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/WithinUsAI/Future.GQ.47s
- SGLang
How to use WithinUsAI/Future.GQ.47s 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 "WithinUsAI/Future.GQ.47s" \ --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": "WithinUsAI/Future.GQ.47s", "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 "WithinUsAI/Future.GQ.47s" \ --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": "WithinUsAI/Future.GQ.47s", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use WithinUsAI/Future.GQ.47s with Docker Model Runner:
docker model run hf.co/WithinUsAI/Future.GQ.47s
|
Download README.md from WithinUsAI/Future.GQ.47s: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/WithinUsAI/Future.GQ.47s/resolve/main/README.md
- Command line
-
hf download hf://WithinUsAI/Future.GQ.47s/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/WithinUsAI/Future.GQ.47s/resolve/main/README.md
1.93 kB
| library_name: transformers | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: Future.GQ.47s | |
| 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. --> | |
| # Future.GQ.47s | |
| This model was trained from scratch on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 2.6928 | |
| ## 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: 0.00015 | |
| - train_batch_size: 4 | |
| - eval_batch_size: 16 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 16 | |
| - total_train_batch_size: 64 | |
| - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments | |
| - lr_scheduler_type: cosine | |
| - lr_scheduler_warmup_steps: 0.03 | |
| - num_epochs: 1 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:------:|:----:|:---------------:| | |
| | 1.9503 | 0.9889 | 100 | 1.8953 | | |
| | 1.9503 | 1.0 | 102 | 1.8949 | | |
| | 4.8422 | 0.2032 | 200 | 4.6299 | | |
| | 3.7624 | 0.3048 | 300 | 3.7300 | | |
| | 3.2549 | 0.4064 | 400 | 3.2797 | | |
| | 3.0663 | 0.5080 | 500 | 3.0268 | | |
| | 2.8727 | 0.6096 | 600 | 2.8719 | | |
| | 2.7585 | 0.7112 | 700 | 2.7737 | | |
| | 2.7077 | 0.8129 | 800 | 2.7186 | | |
| | 2.6603 | 0.9145 | 900 | 2.6958 | | |
| | 2.6459 | 1.0 | 985 | 2.6928 | | |
| ### Framework versions | |
| - Transformers 5.14.1 | |
| - Pytorch 2.10.0+cu128 | |
| - Datasets 5.0.1 | |
| - Tokenizers 0.22.2 | |