Text Generation
MLX
Safetensors
English
gpt2
lottery
time-series
transformer
apple-silicon
causal-lm
idaho-pick3
conversational
Instructions to use curia007/pick3_llm_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use curia007/pick3_llm_model with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("curia007/pick3_llm_model") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use curia007/pick3_llm_model with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "curia007/pick3_llm_model"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "curia007/pick3_llm_model" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "curia007/pick3_llm_model", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
|
Download README.md from curia007/pick3_llm_model: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/curia007/pick3_llm_model/resolve/main/README.md
- Command line
-
hf download hf://curia007/pick3_llm_model/README.md
-
curl -L -o README.md https://huggingface.co/curia007/pick3_llm_model/resolve/main/README.md
1.27 kB
| language: | |
| - en | |
| license: mit | |
| tags: | |
| - lottery | |
| - time-series | |
| - transformer | |
| - mlx | |
| - apple-silicon | |
| - safetensors | |
| - causal-lm | |
| - idaho-pick3 | |
| pipeline_tag: text-generation | |
| # Idaho Pick 3 Transformer Model (`idaho-pick3-transformer`) | |
| An autoregressive Causal Transformer trained on historical Idaho Pick 3 lottery draw sequences using Apple MLX and PyTorch. | |
| ## Model Summary | |
| - **Architecture**: Autoregressive Causal Decoder Transformer | |
| - **Vocabulary Size**: 17 (Digits `0-9`, `<PAD>`, `<BOS>`, `<EOS>`, `<DAY>`, `<NIGHT>`, `<SEP>`, `<PRED>`) | |
| - **Embedding Dimension**: 64 | |
| - **Heads**: 4 | |
| - **Layers**: 3 | |
| - **Max Sequence Length**: 128 | |
| - **Parameters**: ~147.5k | |
| ## Evaluation Metrics | |
| - **Validation Cross-Entropy Loss**: `N/A` | |
| - **Token Accuracy**: `N/A` | |
| - **Exact Draw Match Rate**: `N/A` | |
| ## Quickstart | |
| ### Loading with Apple MLX | |
| ```python | |
| from idaho.pick3.pick3_llm_ticket_model import Pick3LLM, Pick3Tokenizer | |
| # Load directly from Hugging Face Hub or local path | |
| model = Pick3LLM.from_pretrained("idaho-pick3-transformer") | |
| tokenizer = Pick3Tokenizer() | |
| ``` | |
| ### Loading with PyTorch / Hugging Face Transformers | |
| ```python | |
| from idaho.pick3.pick3_hf_model import Pick3ForCausalLM | |
| model = Pick3ForCausalLM.from_pretrained("idaho-pick3-transformer") | |
| model.eval() | |
| ``` | |