Instructions to use SEN-AGI/Lily-1.1-10M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SEN-AGI/Lily-1.1-10M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SEN-AGI/Lily-1.1-10M")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SEN-AGI/Lily-1.1-10M") model = AutoModelForCausalLM.from_pretrained("SEN-AGI/Lily-1.1-10M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SEN-AGI/Lily-1.1-10M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SEN-AGI/Lily-1.1-10M" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SEN-AGI/Lily-1.1-10M", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/SEN-AGI/Lily-1.1-10M
- SGLang
How to use SEN-AGI/Lily-1.1-10M 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 "SEN-AGI/Lily-1.1-10M" \ --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": "SEN-AGI/Lily-1.1-10M", "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 "SEN-AGI/Lily-1.1-10M" \ --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": "SEN-AGI/Lily-1.1-10M", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use SEN-AGI/Lily-1.1-10M with Docker Model Runner:
docker model run hf.co/SEN-AGI/Lily-1.1-10M
Lily-1.1-10M
Model Description
Lily-1.1-10M is a continued pretraining of the SENAGI/Lily-1.0-10M base language model.
Unlike instruction tuning or supervised fine-tuning, this model was trained by continuing the self-supervised language modeling objective on additional text data. The architecture remains unchanged, while the model's weights have been updated through further pretraining to improve language understanding and generation.
- Base model: SENAGI/Lily-1.0-10M
- Model type: Causal Language Model (CLM)
- Training method: Continued Pretraining
- Parameters: ~10M
Training Objective
The model was trained using the standard causal language modeling (next-token prediction) objective. This is not an instruction-tuned or supervised fine-tuned model.
Intended Uses
Lily-1.1-10M is intended for:
- Language modeling research
- Text generation
- Continued pretraining experiments
- Educational purposes
- Small-scale NLP projects
Limitations
- Not instruction-tuned.
- May not reliably follow chat or instruction prompts.
- Can generate incorrect or biased information.
- Performance is limited by its small parameter count (~10M).
Training Procedure
Training Type
Continued Pretraining (Domain-Adaptive / Continual Pretraining)
Training Hyperparameters
- Learning rate:
5e-4 - Train batch size:
8 - Gradient accumulation steps:
4 - Effective batch size:
32 - Optimizer:
AdamW (Torch Fused) - LR scheduler:
Linear - Warmup steps:
50 - Training steps:
1525 - Mixed precision:
Native AMP - Seed:
42
Framework Versions
- Transformers 5.13.1
- PyTorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
Citation
If you use this model in your work, please cite both this repository and the original Lily-1.0 model.
- Downloads last month
- 177
Model tree for SEN-AGI/Lily-1.1-10M
Base model
SEN-AGI/Lily-1.0-10M