Instructions to use laskar-ks/alcyone-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use laskar-ks/alcyone-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="laskar-ks/alcyone-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("laskar-ks/alcyone-v1") model = AutoModelForCausalLM.from_pretrained("laskar-ks/alcyone-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use laskar-ks/alcyone-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "laskar-ks/alcyone-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "laskar-ks/alcyone-v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/laskar-ks/alcyone-v1
- SGLang
How to use laskar-ks/alcyone-v1 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 "laskar-ks/alcyone-v1" \ --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": "laskar-ks/alcyone-v1", "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 "laskar-ks/alcyone-v1" \ --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": "laskar-ks/alcyone-v1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use laskar-ks/alcyone-v1 with Docker Model Runner:
docker model run hf.co/laskar-ks/alcyone-v1
alcyone-v1
This model is a fine-tuned version of laskar-ks/alcyone-base-100m on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.9838
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.0001
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- 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: 268
- num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.1118 | 0.1116 | 500 | 1.0552 |
| 1.0948 | 0.2232 | 1000 | 1.0465 |
| 1.0857 | 0.3347 | 1500 | 1.0413 |
| 1.0879 | 0.4463 | 2000 | 1.0338 |
| 1.0822 | 0.5579 | 2500 | 1.0271 |
| 1.0628 | 0.6695 | 3000 | 1.0194 |
| 1.0542 | 0.7811 | 3500 | 1.0150 |
| 1.0550 | 0.8927 | 4000 | 1.0089 |
| 1.0333 | 1.0042 | 4500 | 1.0032 |
| 0.9644 | 1.1158 | 5000 | 1.0014 |
| 0.9668 | 1.2274 | 5500 | 0.9973 |
| 0.9558 | 1.3390 | 6000 | 0.9936 |
| 0.9507 | 1.4506 | 6500 | 0.9904 |
| 0.9630 | 1.5622 | 7000 | 0.9876 |
| 0.9601 | 1.6737 | 7500 | 0.9855 |
| 0.9536 | 1.7853 | 8000 | 0.9844 |
| 0.9652 | 1.8969 | 8500 | 0.9839 |
| 0.9596 | 2.0 | 8962 | 0.9838 |
Framework versions
- Transformers 5.19.0
- Pytorch 2.11.0+cu130
- Datasets 5.1.0
- Tokenizers 0.23.2
- Downloads last month
- 135
Model tree for laskar-ks/alcyone-v1
Base model
laskar-ks/alcyone-base-97.7M